XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CommandLineInputs Struct Reference

#include <command_line_inputs.hpp>

Classes

struct  Option
 

Public Member Functions

 CommandLineInputs (int argc, char *argv[])
 

Public Attributes

bool run_particle_test
 
bool update_particle_test
 
bool run_moments_test
 
bool update_moments_test
 
bool do_dryrun
 
int dryrun_n_mpi_ranks
 
bool debug
 

Private Member Functions

bool check (std::string input, std::string name, std::string explanation)
 
void print_options ()
 
void error (std::string msg)
 

Private Attributes

std::vector< Optionoptions
 
bool first_input
 
bool found
 

Constructor & Destructor Documentation

CommandLineInputs::CommandLineInputs ( int  argc,
char *  argv[] 
)
inline

Here is the call graph for this function:

Member Function Documentation

bool CommandLineInputs::check ( std::string  input,
std::string  name,
std::string  explanation 
)
inlineprivate

Here is the caller graph for this function:

void CommandLineInputs::error ( std::string  msg)
inlineprivate

Here is the call graph for this function:

Here is the caller graph for this function:

void CommandLineInputs::print_options ( )
inlineprivate

Here is the caller graph for this function:

Member Data Documentation

bool CommandLineInputs::debug
bool CommandLineInputs::do_dryrun
int CommandLineInputs::dryrun_n_mpi_ranks
bool CommandLineInputs::first_input
private
bool CommandLineInputs::found
private
std::vector<Option> CommandLineInputs::options
private
bool CommandLineInputs::run_moments_test
bool CommandLineInputs::run_particle_test
bool CommandLineInputs::update_moments_test
bool CommandLineInputs::update_particle_test

The documentation for this struct was generated from the following file: