Public Member Functions | Private Attributes
cxxopts::OptionDetails Class Reference

#include <cxxopts.hpp>

List of all members.

Public Member Functions

template<typename T >
const Tas () const
int count () const
const Stringdescription () const
bool has_arg () const
 OptionDetails (const String &description, std::shared_ptr< const Value > value)
void parse (const std::string &text)
void parse_default ()
const Valuevalue () const

Private Attributes

int m_count
String m_desc
std::shared_ptr< const Valuem_value

Detailed Description

Definition at line 555 of file cxxopts.hpp.


Constructor & Destructor Documentation

cxxopts::OptionDetails::OptionDetails ( const String description,
std::shared_ptr< const Value value 
) [inline]

Definition at line 559 of file cxxopts.hpp.


Member Function Documentation

template<typename T >
const T& cxxopts::OptionDetails::as ( ) const [inline]

Definition at line 607 of file cxxopts.hpp.

int cxxopts::OptionDetails::count ( ) const [inline]

Definition at line 596 of file cxxopts.hpp.

const String& cxxopts::OptionDetails::description ( ) const [inline]

Definition at line 570 of file cxxopts.hpp.

Definition at line 576 of file cxxopts.hpp.

void cxxopts::OptionDetails::parse ( const std::string &  text) [inline]

Definition at line 582 of file cxxopts.hpp.

Definition at line 589 of file cxxopts.hpp.

const Value& cxxopts::OptionDetails::value ( ) const [inline]

Definition at line 601 of file cxxopts.hpp.


Member Data Documentation

Definition at line 619 of file cxxopts.hpp.

Definition at line 617 of file cxxopts.hpp.

std::shared_ptr<const Value> cxxopts::OptionDetails::m_value [private]

Definition at line 618 of file cxxopts.hpp.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10