This class is the default implementation of the abstract Item class. More...
#include <model.h>
Public Member Functions | |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
ItemDefault (const string &str) | |
Static Public Member Functions | |
static int | initialize () |
Static Public Attributes | |
static const MetaClass * | metadata |
This class is the default implementation of the abstract Item class.
Definition at line 2833 of file model.h.
frepple::ItemDefault::ItemDefault | ( | const string & | str | ) | [inline, explicit] |
virtual size_t frepple::ItemDefault::getSize | ( | ) | const [inline, virtual] |
Return the memory size of the object in bytes.
Implements frepple::utils::Object.
virtual const MetaClass& frepple::ItemDefault::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Item.
int frepple::ItemDefault::initialize | ( | ) | [static] |
Reimplemented from frepple::Item.
const MetaClass * frepple::ItemDefault::metadata [static] |
Reimplemented from frepple::Item.