frepple::CalendarString Class Reference
A calendar storing strings in its buckets. More...
#include <model.h>

Public Member Functions | |
CalendarString (const string &n) | |
virtual PyObject * | getattro (const Attribute &) |
bool | getBool () const |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
virtual int | setattro (const Attribute &, const PythonObject &) |
Static Public Member Functions | |
static int | initialize () |
static PyObject * | setPythonValue (PyObject *, PyObject *, PyObject *) |
Static Public Attributes | |
static const MetaClass * | metadata |
Detailed Description
A calendar storing strings in its buckets.
Definition at line 814 of file model.h.
Constructor & Destructor Documentation
frepple::CalendarString::CalendarString | ( | const string & | n | ) | [inline] |
Member Function Documentation
PyObject * frepple::CalendarString::getattro | ( | const Attribute & | attr | ) | [virtual] |
Default getattro method.
Subclasses are expected to implement an override if the type supports gettattro.
Reimplemented from frepple::Calendar.
Definition at line 657 of file calendar.cpp.
bool frepple::CalendarString::getBool | ( | ) | const [inline, virtual] |
Convert the value of the calendar to a boolean value.
Reimplemented from frepple::CalendarValue< string >.
virtual size_t frepple::CalendarString::getSize | ( | ) | const [inline, virtual] |
Return the memory size of the object in bytes.
Reimplemented from frepple::Calendar.
virtual const MetaClass& frepple::CalendarString::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Implements frepple::CalendarValue< string >.
int frepple::CalendarString::initialize | ( | ) | [static] |
Reimplemented from frepple::Calendar.
Definition at line 126 of file calendar.cpp.
int frepple::CalendarString::setattro | ( | const Attribute & | attr, | |
const PythonObject & | field | |||
) | [virtual] |
Default setattro method.
Subclasses are expected to implement an override if the type supports settattro.
Reimplemented from frepple::Calendar.
Definition at line 665 of file calendar.cpp.
PyObject * frepple::CalendarString::setPythonValue | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwdict | |||
) | [static] |
Definition at line 675 of file calendar.cpp.
Member Data Documentation
const MetaClass * frepple::CalendarString::metadata [static] |
Reimplemented from frepple::Calendar.
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
