Public Member Functions

Barry::EnumFieldBase< RecordT > Class Template Reference
[GenericFieldHandles]

EnumFieldBase<RecordT> More...

#include <record.h>

Inheritance diagram for Barry::EnumFieldBase< RecordT >:
Inheritance graph
[legend]
Collaboration diagram for Barry::EnumFieldBase< RecordT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int GetValue (const RecordT &rec) const =0
 Return value of enum in rec.
virtual void SetValue (RecordT &rec, int value)=0
 Set value of enum in rec Throws std::logic_error if value is out of range.

Detailed Description

template<class RecordT>
class Barry::EnumFieldBase< RecordT >

EnumFieldBase<RecordT>

Definition at line 761 of file record.h.


Member Function Documentation

template<class RecordT>
virtual int Barry::EnumFieldBase< RecordT >::GetValue ( const RecordT &  rec  )  const [pure virtual]

Return value of enum in rec.

Implemented in Barry::EnumField< RecordT, EnumT >.

template<class RecordT>
virtual void Barry::EnumFieldBase< RecordT >::SetValue ( RecordT &  rec,
int  value 
) [pure virtual]

Set value of enum in rec Throws std::logic_error if value is out of range.

Implemented in Barry::EnumField< RecordT, EnumT >.


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