Public Member Functions | Friends

frepple::CalendarValue< T >::BucketValue Class Reference

A special type of calendar bucket, designed to hold a a value. More...

#include <model.h>

Inheritance diagram for frepple::CalendarValue< T >::BucketValue:
frepple::Calendar::Bucket frepple::utils::Object frepple::utils::NonCopyable frepple::utils::PythonExtensionBase

List of all members.

Public Member Functions

void endElement (XMLInput &pIn, const Attribute &pAttr, const DataElement &pElement)
template<>
bool getBool () const
bool getBool () const
template<>
bool getBool () const
virtual size_t getSize () const
virtual const MetaClassgetType () const
const T & getValue () const
void setValue (const T &v)
void writeElement (XMLOutput *o, const Keyword &tag, mode m=DEFAULT) const

Friends

class CalendarValue< T >

Detailed Description

template<typename T>
class frepple::CalendarValue< T >::BucketValue

A special type of calendar bucket, designed to hold a a value.

See also:
Calendar::Bucket

Definition at line 395 of file model.h.


Member Function Documentation

template<typename T>
void frepple::CalendarValue< T >::BucketValue::endElement ( XMLInput pIn,
const Attribute pAttr,
const DataElement pElement 
) [inline]

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 426 of file model.h.

template<>
bool frepple::CalendarValue::BucketValue< string >::getBool (  )  const [virtual]

Convert the value of the bucket to a boolean value.

Reimplemented from frepple::Calendar::Bucket.

template<typename T>
bool frepple::CalendarValue< T >::BucketValue::getBool (  )  const [inline, virtual]

Convert the value of the bucket to a boolean value.

Reimplemented from frepple::Calendar::Bucket.

Definition at line 411 of file model.h.

template<>
bool frepple::CalendarValue::BucketValue< string >::getBool (  )  const [virtual]

Convert the value of the bucket to a boolean value.

Reimplemented from frepple::Calendar::Bucket.

Definition at line 155 of file calendar.cpp.

template<typename T>
virtual size_t frepple::CalendarValue< T >::BucketValue::getSize (  )  const [inline, virtual]

Reimplemented from frepple::Calendar::Bucket.

Definition at line 437 of file model.h.

template<typename T>
virtual const MetaClass& frepple::CalendarValue< T >::BucketValue::getType (  )  const [inline, virtual]

Reimplemented from frepple::Calendar::Bucket.

Definition at line 434 of file model.h.

template<typename T>
const T& frepple::CalendarValue< T >::BucketValue::getValue (  )  const [inline]

Returns the value of this bucket.

Reimplemented from frepple::Calendar::Bucket.

Definition at line 408 of file model.h.

template<typename T>
void frepple::CalendarValue< T >::BucketValue::setValue ( const T &  v  )  [inline]

Updates the value of this bucket.

Definition at line 414 of file model.h.

template<typename T>
void frepple::CalendarValue< T >::BucketValue::writeElement ( XMLOutput o,
const Keyword tag,
mode  m = DEFAULT 
) const [inline, virtual]

Reimplemented from frepple::Calendar::Bucket.

Definition at line 417 of file model.h.


Friends And Related Function Documentation

template<typename T>
friend class CalendarValue< T > [friend]

Definition at line 397 of file model.h.


The documentation for this class was generated from the following file: