Majoranapp
A C++ library for studying MZM in non-interacting systems
ArgvParser Class Reference

primitive argv class More...

#include <ArgvParser.hpp>

Collaboration diagram for ArgvParser:

Public Member Functions

 ArgvParser ()
 construct a new Argv Parser object More...
 
void Info ()
 verbose info More...
 
int Parse (int argc, char *argv[])
 parsing argv More...
 

Public Attributes

QuantumSystem quantumSystem
 all information about QuantumSystem parsed from argv and/or JSON inputscript More...
 

Private Attributes

bool help = false
 show help (flag) More...
 
bool quiet = false
 quiet mode (flag) More...
 

Detailed Description

primitive argv class

Constructor & Destructor Documentation

◆ ArgvParser()

ArgvParser::ArgvParser ( )
inline

construct a new Argv Parser object

Member Function Documentation

◆ Info()

void ArgvParser::Info ( )
inline

verbose info

◆ Parse()

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

parsing argv

Parameters
argc
argv
Returns
int parser's returnCode

Member Data Documentation

◆ help

bool ArgvParser::help = false
private

show help (flag)

◆ quantumSystem

QuantumSystem ArgvParser::quantumSystem

all information about QuantumSystem parsed from argv and/or JSON inputscript

◆ quiet

bool ArgvParser::quiet = false
private

quiet mode (flag)


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