Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CommandLineArguments::Impl Class Reference
Collaboration diagram for Arcane::CommandLineArguments::Impl:

Classes

class  NameValuePair
 Command line parameters. More...

Public Member Functions

 Impl (int *argc, char ***argv)
 Impl (const StringList &aargs)
void addReference ()
void removeReference ()
void parseParameters (const CommandLineArguments &command_line_args)
String getParameter (const String &param_name)
void fillParameters (StringList &param_names, StringList &values) const
bool needHelp () const

Public Attributes

std::atomic< Int32m_nb_ref
StringList m_args
int * m_argc
 Number of command line arguments.
char *** m_argv
 Array of command line arguments.
int * m_argc_orig = nullptr
char *** m_argv_orig = nullptr
char * m_argv0 = nullptr
bool m_need_destroy
bool m_need_help
ParameterList m_parameter_list

Detailed Description

Definition at line 35 of file CommandLineArguments.cc.

Constructor & Destructor Documentation

◆ Impl() [1/3]

Arcane::CommandLineArguments::Impl::Impl ( int * argc,
char *** argv )
inline

Definition at line 59 of file CommandLineArguments.cc.

◆ Impl() [2/3]

Arcane::CommandLineArguments::Impl::Impl ( const StringList & aargs)
inline

Definition at line 69 of file CommandLineArguments.cc.

◆ Impl() [3/3]

Arcane::CommandLineArguments::Impl::Impl ( )
inline

Definition at line 92 of file CommandLineArguments.cc.

◆ ~Impl()

Arcane::CommandLineArguments::Impl::~Impl ( )
inline

Definition at line 111 of file CommandLineArguments.cc.

Member Function Documentation

◆ addReference()

void Arcane::CommandLineArguments::Impl::addReference ( )
inline

Definition at line 124 of file CommandLineArguments.cc.

◆ fillParameters()

void Arcane::CommandLineArguments::Impl::fillParameters ( StringList & param_names,
StringList & values ) const
inline

Definition at line 168 of file CommandLineArguments.cc.

◆ getParameter()

String Arcane::CommandLineArguments::Impl::getParameter ( const String & param_name)
inline

Definition at line 163 of file CommandLineArguments.cc.

◆ needHelp()

bool Arcane::CommandLineArguments::Impl::needHelp ( ) const
inline

Definition at line 173 of file CommandLineArguments.cc.

◆ parseParameters()

void Arcane::CommandLineArguments::Impl::parseParameters ( const CommandLineArguments & command_line_args)
inline

Definition at line 134 of file CommandLineArguments.cc.

◆ removeReference()

void Arcane::CommandLineArguments::Impl::removeReference ( )
inline

Definition at line 125 of file CommandLineArguments.cc.

Member Data Documentation

◆ m_argc

int* Arcane::CommandLineArguments::Impl::m_argc

Number of command line arguments.

Definition at line 182 of file CommandLineArguments.cc.

◆ m_argc_orig

int* Arcane::CommandLineArguments::Impl::m_argc_orig = nullptr

Definition at line 184 of file CommandLineArguments.cc.

◆ m_args

StringList Arcane::CommandLineArguments::Impl::m_args

Definition at line 181 of file CommandLineArguments.cc.

◆ m_argv

char*** Arcane::CommandLineArguments::Impl::m_argv

Array of command line arguments.

Definition at line 183 of file CommandLineArguments.cc.

◆ m_argv0

char* Arcane::CommandLineArguments::Impl::m_argv0 = nullptr

Definition at line 186 of file CommandLineArguments.cc.

◆ m_argv_orig

char*** Arcane::CommandLineArguments::Impl::m_argv_orig = nullptr

Definition at line 185 of file CommandLineArguments.cc.

◆ m_nb_ref

std::atomic<Int32> Arcane::CommandLineArguments::Impl::m_nb_ref

Definition at line 180 of file CommandLineArguments.cc.

◆ m_need_destroy

bool Arcane::CommandLineArguments::Impl::m_need_destroy

Definition at line 187 of file CommandLineArguments.cc.

◆ m_need_help

bool Arcane::CommandLineArguments::Impl::m_need_help

Definition at line 188 of file CommandLineArguments.cc.

◆ m_parameter_list

ParameterList Arcane::CommandLineArguments::Impl::m_parameter_list

Definition at line 189 of file CommandLineArguments.cc.


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