|
Dev Essential
|
The constant info of a element. More...
#include <codec_type_info.h>
Public Member Functions | |
| bool | isConstant () const |
| Determines if the element has a constant value or not. | |
| const char * | getConstantName () const |
| Get the name of the constant value. | |
| a_util::variant::Variant | getConstantValue () const |
Friends | |
| class | StructAccess |
The constant info of a element.
| const char * ddl::codec::CodecConstantInfo::getConstantName | ( | ) | const |
Get the name of the constant value.
| a_util::variant::Variant ddl::codec::CodecConstantInfo::getConstantValue | ( | ) | const |
Returns the constant value in type T.
| throws | std::runtime_error if not found. |
| bool ddl::codec::CodecConstantInfo::isConstant | ( | ) | const |
Determines if the element has a constant value or not.