clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ProgramOptions::FlagAction Struct Reference

#include <typed_value.h>

Collaboration diagram for ProgramOptions::FlagAction:
Collaboration graph

Public Types

enum  Action { act_store_true, act_store_false }
 
typedef detail::Parser< bool >
::type 
parser_t
 

Public Member Functions

 FlagAction (Action a)
 
parser_t parser () const
 

Static Public Member Functions

static bool store_true (const std::string &v, bool &b)
 
static bool store_false (const std::string &v, bool &b)
 

Public Attributes

enum
ProgramOptions::FlagAction::Action 
act
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
act_store_true 
act_store_false 

Constructor & Destructor Documentation

ProgramOptions::FlagAction::FlagAction ( Action  a)
inline

Member Function Documentation

parser_t ProgramOptions::FlagAction::parser ( ) const
inline

Here is the call graph for this function:

static bool ProgramOptions::FlagAction::store_false ( const std::string &  v,
bool &  b 
)
inlinestatic

Here is the call graph for this function:

static bool ProgramOptions::FlagAction::store_true ( const std::string &  v,
bool &  b 
)
inlinestatic

Here is the call graph for this function:

Member Data Documentation

enum ProgramOptions::FlagAction::Action ProgramOptions::FlagAction::act

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