#include <cstdio>#include <ctime>#include <iostream>#include <fstream>#include <memory>#include <string>#include "banner.hpp"#include "belfem_version.hpp"#include "cl_Communicator.hpp"#include "assert.hpp"#include "filetools.hpp"Namespaces | |
| namespace | belfem |
| USER GUIDES: | |
Functions | |
| std::string | belfem::exec (const std::string &aCommand) |
| std::string | belfem::uname () |
| returns the Unix version ( Linux or Darwin ) | |
| std::string | belfem::cpu_info () |
| grabs the cpu info for the banner | |
| std::string | belfem::os_string () |
| std::string | belfem::version () |
| returns the BELFEM semantic version as "major.minor.patch" (e.g. | |
| bool | belfem::is_built_from_git () |
| true if the build was produced from a git checkout (i.e. | |
| std::string | belfem::git_commit_hash () |
| returns the full git commit hash of the build, or "unknown" if built outside a git repository (e.g. | |
| std::string | belfem::git_commit_hash_short () |
| returns the abbreviated (short) git commit hash of the build | |
| std::string | belfem::git_branch () |
| returns the git branch name at build time, or "unknown" | |
| bool | belfem::git_is_dirty () |
| true if the working tree had uncommitted changes at build time | |
| void | belfem::print_banner (const std::string aExecName="") |
| prints the banner | |
Variables | |
| belfem::Communicator | gComm |
|
extern |