Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions | Variables
version.hpp File Reference

typedefs and macros More...

#include "shambase/aliases_int.hpp"
#include "shambase/term_colors.hpp"
#include "shamcomm/logs.hpp"
#include <chrono>
#include <iomanip>
#include <sstream>
#include <string>
+ Include dependency graph for version.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string get_date_hour_string ()
 
void print_title_bar ()
 

Variables

const std::string git_info_str
 
const std::string git_commit_hash
 
const std::string compile_arg
 
const std::string version_string
 
const bool is_git
 
const char * shamrock_compiler_id_string
 
const u32 term_width = 64
 
std::string shamrock_title_bar_big
 

Detailed Description

typedefs and macros

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Date
2021-09-17

Definition in file version.hpp.

Function Documentation

◆ get_date_hour_string()

std::string get_date_hour_string ( )
inline

Definition at line 53 of file version.hpp.

◆ print_title_bar()

void print_title_bar ( )
inline

Definition at line 61 of file version.hpp.

Variable Documentation

◆ shamrock_title_bar_big

std::string shamrock_title_bar_big
inline
Initial value:
= "\n\
█████████ █████ █████ █████████ ██████ ██████ ███████████ ███████ █████████ █████ ████\n\
███░░░░░███░░███ ░░███ ███░░░░░███ ░░██████ ██████ ░░███░░░░░███ ███░░░░░███ ███░░░░░███░░███ ███░ \n\
░███ ░░░ ░███ ░███ ░███ ░███ ░███░█████░███ ░███ ░███ ███ ░░███ ███ ░░░ ░███ ███ \n\
░░█████████ ░███████████ ░███████████ ░███░░███ ░███ ░██████████ ░███ ░███░███ ░███████ \n\
░░░░░░░░███ ░███░░░░░███ ░███░░░░░███ ░███ ░░░ ░███ ░███░░░░░███ ░███ ░███░███ ░███░░███ \n\
███ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░░███ ███ ░░███ ███ ░███ ░░███ \n\
░░█████████ █████ █████ █████ █████ █████ █████ █████ █████ ░░░███████░ ░░█████████ █████ ░░████\n\
░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░░░ ░░░░░░░░░ ░░░░░ ░░░░ \n\
"

Definition at line 41 of file version.hpp.

◆ term_width

const u32 term_width = 64

Definition at line 38 of file version.hpp.