A calendar storing integer values in its buckets. More...
#include <model.h>
Public Member Functions | |
CalendarInt (const string &n) | |
virtual PyObject * | getattro (const Attribute &) |
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 |
A calendar storing integer values in its buckets.
Definition at line 781 of file model.h.
frepple::CalendarInt::CalendarInt | ( | const string & | n | ) | [inline] |
PyObject * frepple::CalendarInt::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 701 of file calendar.cpp.
virtual const MetaClass& frepple::CalendarInt::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Implements frepple::CalendarValue< int >.
int frepple::CalendarInt::initialize | ( | ) | [static] |
Reimplemented from frepple::Calendar.
Definition at line 100 of file calendar.cpp.
int frepple::CalendarInt::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 709 of file calendar.cpp.
PyObject * frepple::CalendarInt::setPythonValue | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwdict | |||
) | [static] |
Definition at line 719 of file calendar.cpp.
const MetaClass * frepple::CalendarInt::metadata [static] |
Reimplemented from frepple::Calendar.