TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttk::CommandLineParser::CommandLineArgument Class Reference

#include <CommandLineParser.h>

Inheritance diagram for ttk::CommandLineParser::CommandLineArgument:
ttk::Debug ttk::BaseClass

Public Member Functions

 CommandLineArgument ()
 
int print (std::ostream &stream) const
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Public Attributes

bool isOptional_
 
bool isAnOption_
 
bool isSet_
 
bool * boolValue_
 
int * intValue_
 
double * doubleValue_
 
std::string * stringValue_
 
std::vector< int > * intValueList_
 
std::vector< double > * doubleValueList_
 
std::vector< std::string > * stringValueList_
 
std::string key_
 
std::string description_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Definition at line 18 of file CommandLineParser.h.

Constructor & Destructor Documentation

◆ CommandLineArgument()

ttk::CommandLineParser::CommandLineArgument::CommandLineArgument ( )
inline

Definition at line 21 of file CommandLineParser.h.

Member Function Documentation

◆ print()

int ttk::CommandLineParser::CommandLineArgument::print ( std::ostream &  stream) const
inline

Definition at line 34 of file CommandLineParser.h.

Member Data Documentation

◆ boolValue_

bool* ttk::CommandLineParser::CommandLineArgument::boolValue_

Definition at line 98 of file CommandLineParser.h.

◆ description_

std::string ttk::CommandLineParser::CommandLineArgument::description_

Definition at line 107 of file CommandLineParser.h.

◆ doubleValue_

double* ttk::CommandLineParser::CommandLineArgument::doubleValue_

Definition at line 100 of file CommandLineParser.h.

◆ doubleValueList_

std::vector<double>* ttk::CommandLineParser::CommandLineArgument::doubleValueList_

Definition at line 103 of file CommandLineParser.h.

◆ intValue_

int* ttk::CommandLineParser::CommandLineArgument::intValue_

Definition at line 99 of file CommandLineParser.h.

◆ intValueList_

std::vector<int>* ttk::CommandLineParser::CommandLineArgument::intValueList_

Definition at line 102 of file CommandLineParser.h.

◆ isAnOption_

bool ttk::CommandLineParser::CommandLineArgument::isAnOption_

Definition at line 97 of file CommandLineParser.h.

◆ isOptional_

bool ttk::CommandLineParser::CommandLineArgument::isOptional_

Definition at line 97 of file CommandLineParser.h.

◆ isSet_

bool ttk::CommandLineParser::CommandLineArgument::isSet_

Definition at line 97 of file CommandLineParser.h.

◆ key_

std::string ttk::CommandLineParser::CommandLineArgument::key_

Definition at line 106 of file CommandLineParser.h.

◆ stringValue_

std::string* ttk::CommandLineParser::CommandLineArgument::stringValue_

Definition at line 101 of file CommandLineParser.h.

◆ stringValueList_

std::vector<std::string>* ttk::CommandLineParser::CommandLineArgument::stringValueList_

Definition at line 104 of file CommandLineParser.h.


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