ContRap-Core
Public Member Functions | Data Fields

crp::Option Class Reference

Class Option represents an option to call in a function. More...

#include <function.h>

Public Member Functions

 Option (const std::string &name, const std::string &type, const std::string &value)
 Creates a new option.
 Option (const std::string &name, const std::string &type, const DPtr &value)
 Creates a new option.

Data Fields

std::string name
 Name of the option.
std::string type
 Type of the option.
std::string string_value
 String value.
DPtr value
 Value of the option.

Detailed Description

Class Option represents an option to call in a function.


Constructor & Destructor Documentation

crp::Option::Option ( const std::string &  name,
const std::string &  type,
const std::string &  value 
) [inline]

Creates a new option.

Parameters:
nameName of the option
typeType of the option
valueValue of the option
crp::Option::Option ( const std::string &  name,
const std::string &  type,
const DPtr value 
) [inline]

Creates a new option.

Parameters:
nameName of the option
typeType of the option
valueValue of the option

Field Documentation

std::string crp::Option::name

Name of the option.

String value.

std::string crp::Option::type

Type of the option.

Value of the option.


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