cxxopts Namespace Reference

Namespaces

 values
 

Classes

class  argument_incorrect_type
 
struct  HelpGroupDetails
 
struct  HelpOptionDetails
 
class  invalid_option_format_error
 
class  KeyValue
 
class  missing_argument_exception
 
class  option_exists_error
 
class  option_not_exists_exception
 
class  option_not_has_argument_exception
 
class  option_not_present_exception
 
class  option_required_exception
 
class  option_requires_argument_exception
 
class  option_syntax_exception
 
class  OptionAdder
 
class  OptionDetails
 
class  OptionException
 
class  OptionParseException
 
class  Options
 
class  OptionSpecException
 
class  OptionValue
 
class  ParseResult
 
class  Value
 

Typedefs

typedef std::string String
 

Functions

bool empty (const std::string &s)
 
template<typename Iterator >
StringstringAppend (String &s, Iterator begin, Iterator end)
 
StringstringAppend (String &s, size_t n, char c)
 
StringstringAppend (String &s, String a)
 
size_t stringLength (const String &s)
 
template<typename T >
T toLocalString (T &&t)
 
template<typename T >
std::string toUTF8String (T &&t)
 
template<typename T >
std::shared_ptr< Valuevalue ()
 
template<typename T >
std::shared_ptr< Valuevalue (T &t)
 

Typedef Documentation

◆ String

typedef std::string String

Definition at line 209 of file cxxopts.hpp.

Function Documentation

◆ empty()

bool cxxopts::empty ( const std::string &  s)
inline

Definition at line 255 of file cxxopts.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stringAppend() [1/3]

String& cxxopts::stringAppend ( String s,
Iterator  begin,
Iterator  end 
)

Definition at line 241 of file cxxopts.hpp.

+ Here is the call graph for this function:

◆ stringAppend() [2/3]

String& cxxopts::stringAppend ( String s,
size_t  n,
char  c 
)
inline

Definition at line 234 of file cxxopts.hpp.

+ Here is the call graph for this function:

◆ stringAppend() [3/3]

String& cxxopts::stringAppend ( String s,
String  a 
)
inline

Definition at line 227 of file cxxopts.hpp.

+ Here is the call graph for this function:

◆ stringLength()

size_t cxxopts::stringLength ( const String s)
inline

Definition at line 220 of file cxxopts.hpp.

+ Here is the call graph for this function:

◆ toLocalString()

T cxxopts::toLocalString ( T &&  t)

Definition at line 213 of file cxxopts.hpp.

+ Here is the caller graph for this function:

◆ toUTF8String()

std::string cxxopts::toUTF8String ( T &&  t)

Definition at line 248 of file cxxopts.hpp.

+ Here is the caller graph for this function:

◆ value() [1/2]

std::shared_ptr<Value> cxxopts::value ( )

Definition at line 926 of file cxxopts.hpp.

◆ value() [2/2]

std::shared_ptr<Value> cxxopts::value ( T t)

Definition at line 933 of file cxxopts.hpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ major

uint8_t major

Definition at line 54 of file cxxopts.hpp.

◆ minor

uint8_t minor

Definition at line 54 of file cxxopts.hpp.

◆ patch

uint8_t patch

Definition at line 54 of file cxxopts.hpp.