suanPan
argumentParser.cpp File Reference
#include "argumentParser.h"
#include <Step/Bead.h>
#include <Toolbox/Converter.h>
#include <Toolbox/commandParser.h>
#include <Toolbox/utility.h>
#include <UnitTest/CatchTest.h>
#include <iomanip>
#include "revision.h"
Include dependency graph for argumentParser.cpp:

Functions

bool check_debugger ()
 
void check_version (const char *path_to_executable)
 
void strip_mode (const string &input_file_name, const string &output_file_name)
 
void convert_mode (const string &input_file_name, const string &output_file_name)
 
void print_header ()
 
void argument_parser (const int argc, char **argv)
 
void print_version ()
 
void print_helper ()
 
void cli_mode (const shared_ptr< Bead > &model)
 

Variables

constexpr auto SUANPAN_MAJOR = 2
 
constexpr auto SUANPAN_MINOR = 7
 
constexpr auto SUANPAN_PATCH = 0
 
constexpr auto SUANPAN_CODE = "Betelgeuse"
 
constexpr auto SUANPAN_ARCH = 64
 
bool SUANPAN_PRINT = true
 
bool SUANPAN_VERBOSE = false
 
const char * SUANPAN_EXE = ""
 

Function Documentation

◆ argument_parser()

void argument_parser ( const int  argc,
char **  argv 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_debugger()

bool check_debugger ( )
Here is the caller graph for this function:

◆ check_version()

void check_version ( const char *  path_to_executable)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cli_mode()

void cli_mode ( const shared_ptr< Bead > &  model)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_mode()

void convert_mode ( const string &  input_file_name,
const string &  output_file_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_header()

void print_header ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_helper()

void print_helper ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_version()

void print_version ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ strip_mode()

void strip_mode ( const string &  input_file_name,
const string &  output_file_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ SUANPAN_ARCH

constexpr auto SUANPAN_ARCH = 64
constexpr

◆ SUANPAN_CODE

constexpr auto SUANPAN_CODE = "Betelgeuse"
constexpr

◆ SUANPAN_EXE

const char* SUANPAN_EXE = ""

◆ SUANPAN_MAJOR

constexpr auto SUANPAN_MAJOR = 2
constexpr

◆ SUANPAN_MINOR

constexpr auto SUANPAN_MINOR = 7
constexpr

◆ SUANPAN_PATCH

constexpr auto SUANPAN_PATCH = 0
constexpr

◆ SUANPAN_PRINT

bool SUANPAN_PRINT = true

◆ SUANPAN_VERBOSE

bool SUANPAN_VERBOSE = false