clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | List of all members
ProgramOptions::OptionInitHelper Class Reference

#include <program_options.h>

Collaboration diagram for ProgramOptions::OptionInitHelper:
Collaboration graph

Public Member Functions

 OptionInitHelper (OptionGroup &owner)
 
OptionInitHelperoperator() (const char *key, Value *val, const char *desc)
 Factory function for creating an option. More...
 

Constructor & Destructor Documentation

ProgramOptions::OptionInitHelper::OptionInitHelper ( OptionGroup owner)
explicit

Member Function Documentation

OptionInitHelper & ProgramOptions::OptionInitHelper::operator() ( const char *  key,
Value val,
const char *  desc 
)

Factory function for creating an option.

Parameters
key<name>[!][,<alias>][,<level>]
valValue of the option
descDescription of the option
Note
If <name> is followed by an exclamation mark ('!') the option is marked as negatable.

Here is the call graph for this function:


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