#include <type_record.h>
Collaboration diagram for casac::RecordType:

Definition at line 12 of file type_record.h.
Public Member Functions | |
| RecordValue * | narrow (WX::Utils::Value *) const |
| const RecordValue * | const_narrow (const WX::Utils::Value *) const |
| RecordType () | |
| ~RecordType () | |
| RecordValue * | create () const |
| The official "constructor" for a Value instance. | |
| bool | can_assign (const WX::Utils::Value &, WX::Utils::Error *=NULL) const |
| void | assign (WX::Utils::Value *self, const WX::Utils::Value *that) const |
| WX::Utils::Value * | fit (WX::Utils::Value *) const |
| Fit the given value to have myself as type. | |
| const std::string & | typestr () const |
| Should only be used for informational purposes. | |
| WX::Utils::Value * | shallow_copy (const WX::Utils::Value *self) const |
| WX::Utils::Value * | toplevel_copy (const WX::Utils::Value *self) const |
| WX::Utils::Value * | deep_copy (const WX::Utils::Value *self) const |
| const WX::Utils::Value * | default_value () const |
| The default value of the concrete type. | |
| int | compare (const WX::Utils::Value *self, const WX::Utils::Value *that) const |
| void | convert_from (WX::Utils::Value *self, const WX::Utils::Value *that) const |
| HACK ALERT! | |
| LTA_MEMDECL (1) | |
Static Public Member Functions | |
| static const RecordType * | instance () |
Static Private Attributes | |
| static const RecordValue * | default_value_ |
| casac::RecordType::RecordType | ( | ) |
| casac::RecordType::~RecordType | ( | ) |
| static const RecordType* casac::RecordType::instance | ( | ) | [static] |
| RecordValue* casac::RecordType::narrow | ( | WX::Utils::Value * | ) | const |
| const RecordValue* casac::RecordType::const_narrow | ( | const WX::Utils::Value * | ) | const |
| RecordValue* casac::RecordType::create | ( | ) | const |
The official "constructor" for a Value instance.
| bool casac::RecordType::can_assign | ( | const WX::Utils::Value & | , | |
| WX::Utils::Error * | = NULL | |||
| ) | const |
| void casac::RecordType::assign | ( | WX::Utils::Value * | self, | |
| const WX::Utils::Value * | that | |||
| ) | const |
| WX::Utils::Value* casac::RecordType::fit | ( | WX::Utils::Value * | ) | const |
Fit the given value to have myself as type.
This can either create a new Value instance, or simply return the given value if that has already the right type.
| const std::string& casac::RecordType::typestr | ( | ) | const |
Should only be used for informational purposes.
| WX::Utils::Value* casac::RecordType::shallow_copy | ( | const WX::Utils::Value * | self | ) | const |
| WX::Utils::Value* casac::RecordType::toplevel_copy | ( | const WX::Utils::Value * | self | ) | const |
| WX::Utils::Value* casac::RecordType::deep_copy | ( | const WX::Utils::Value * | self | ) | const |
| const WX::Utils::Value* casac::RecordType::default_value | ( | ) | const |
The default value of the concrete type.
| int casac::RecordType::compare | ( | const WX::Utils::Value * | self, | |
| const WX::Utils::Value * | that | |||
| ) | const |
| void casac::RecordType::convert_from | ( | WX::Utils::Value * | self, | |
| const WX::Utils::Value * | that | |||
| ) | const |
HACK ALERT!
| casac::RecordType::LTA_MEMDECL | ( | 1 | ) |
const RecordValue* casac::RecordType::default_value_ [static, private] |
Definition at line 51 of file type_record.h.
1.5.1