ROSE 0.11.145.147
Public Member Functions | Public Attributes | List of all members
Sawyer::CommandLine::Boost::parsed_values Struct Reference

Description

Wrapper around parsed values.

Sawyer not only stores the parsed switch value, but also much information about where the value came from, it's original string form, etc.

Definition at line 137 of file CommandLineBoost.h.

#include <Sawyer/CommandLineBoost.h>

Collaboration diagram for Sawyer::CommandLine::Boost::parsed_values:
Collaboration graph
[legend]

Public Member Functions

 parsed_values ()
 Wrap nothing.
 
 parsed_values (const Sawyer::CommandLine::ParsedValues &pv)
 Wrap ParsedValues.
 

Public Attributes

Sawyer::CommandLine::ParsedValues pv
 Wrapped ParsedValues.
 
template<class T >
as ()
 Convert parsed value to another type.
 

Constructor & Destructor Documentation

◆ parsed_values() [1/2]

Sawyer::CommandLine::Boost::parsed_values::parsed_values ( )
inline

Wrap nothing.

Definition at line 141 of file CommandLineBoost.h.

◆ parsed_values() [2/2]

Sawyer::CommandLine::Boost::parsed_values::parsed_values ( const Sawyer::CommandLine::ParsedValues pv)
inlineexplicit

Wrap ParsedValues.

Definition at line 144 of file CommandLineBoost.h.

Member Function Documentation

◆ as()

template<class T >
T Sawyer::CommandLine::Boost::parsed_values::as ( )
inline

Convert parsed value to another type.

Definition at line 150 of file CommandLineBoost.h.

Member Data Documentation

◆ pv

Sawyer::CommandLine::ParsedValues Sawyer::CommandLine::Boost::parsed_values::pv

Wrapped ParsedValues.

Definition at line 138 of file CommandLineBoost.h.


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