A special type of calendar bucket, designed to hold a a value.
More...
#include <model.h>
A special type of calendar bucket, designed to hold a a value.
- See Also
- Calendar::Bucket
Definition at line 452 of file model.h.
Reads the bucket information from the input. Only the fields "name" and "start" are read in. Other fields as also written out but these are information-only fields.
Reimplemented from frepple::Calendar::Bucket.
Definition at line 483 of file model.h.
bool frepple::CalendarDouble::BucketDouble::getBool |
( |
| ) |
const |
|
inlinevirtual |
virtual size_t frepple::CalendarDouble::BucketDouble::getSize |
( |
| ) |
const |
|
inlinevirtual |
virtual const MetaClass& frepple::CalendarDouble::BucketDouble::getType |
( |
| ) |
const |
|
inlinevirtual |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Calendar::Bucket.
Definition at line 496 of file model.h.
double frepple::CalendarDouble::BucketDouble::getValue |
( |
| ) |
const |
|
inline |
Returns the value of this bucket.
Definition at line 465 of file model.h.
int frepple::CalendarDouble::BucketDouble::initialize |
( |
| ) |
|
|
static |
void frepple::CalendarDouble::BucketDouble::setValue |
( |
const double |
v | ) |
|
|
inline |
Updates the value of this bucket.
Definition at line 471 of file model.h.
void frepple::CalendarDouble::BucketDouble::writeElement |
( |
XMLOutput * |
, |
|
|
const Keyword & |
, |
|
|
mode |
= DEFAULT |
|
) |
| const |
|
inlinevirtual |
Called while writing the model into an XML-file. The user class should write itself out, using the IOutStream members for its "simple" members and calling writeElement recursively for any contained objects. Not all classes are expected to implement this method. In instances of such a class can be created but can't be persisted. E.g. Command
Reimplemented from frepple::Calendar::Bucket.
Definition at line 474 of file model.h.
const MetaClass * frepple::CalendarDouble::BucketDouble::metadata |
|
static |
The documentation for this class was generated from the following files: