cxxopts Namespace Reference

Namespaces

namespace  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 192 of file cxxopts.hpp.

Function Documentation

◆ empty()

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

Definition at line 234 of file cxxopts.hpp.

◆ stringAppend() [1/3]

template<typename Iterator>
String & stringAppend ( String & s,
Iterator begin,
Iterator end )

Definition at line 221 of file cxxopts.hpp.

◆ stringAppend() [2/3]

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

Definition at line 214 of file cxxopts.hpp.

◆ stringAppend() [3/3]

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

Definition at line 208 of file cxxopts.hpp.

◆ stringLength()

size_t stringLength ( const String & s)
inline

Definition at line 202 of file cxxopts.hpp.

◆ toLocalString()

template<typename T>
T toLocalString ( T && t)

Definition at line 196 of file cxxopts.hpp.

+ Here is the caller graph for this function:

◆ toUTF8String()

template<typename T>
std::string toUTF8String ( T && t)

Definition at line 228 of file cxxopts.hpp.

+ Here is the caller graph for this function:

◆ value() [1/2]

template<typename T>
std::shared_ptr< Value > value ( )

Definition at line 855 of file cxxopts.hpp.

+ Here is the caller graph for this function:

◆ value() [2/2]

template<typename T>
std::shared_ptr< Value > value ( T & t)

Definition at line 862 of file cxxopts.hpp.