|
OpenSDN source code
|
#include <t_const.h>


Public Member Functions | |
| t_const (t_type *type, std::string name, t_const_value *value) | |
| t_type * | get_type () const |
| std::string | get_name () const |
| t_const_value * | get_value () const |
Public Member Functions inherited from t_doc | |
| t_doc () | |
| void | set_doc (const std::string &doc) |
| const std::string & | get_doc () const |
| bool | has_doc () |
Private Attributes | |
| t_type * | type_ |
| std::string | name_ |
| t_const_value * | value_ |
A const is a constant value defined across languages that has a type and a value. The trick here is that the declared type might not match the type of the value object, since that is not determined until after parsing the whole thing out.
|
inline |
|
inline |
|
private |