#include <io/fields.h>
Public Types | |
typedef PmTraits< PM >::ClassType | C |
typedef PmTraits< PM >::MemType | T |
typedef rutz::type_traits< T > ::deref_t | deref_t |
Type returned when the field is dereferenced. | |
Public Member Functions | |
CheckedDataMemberFieldImpl (T C::*memptr, const deref_t &min, const deref_t &max) | |
Construct with a pointer-to-data-member and a bounds checker. | |
virtual void | readValueFrom (FieldContainer *obj, io::reader &reader, const rutz::fstring &name) const |
Read the value of the given object's pointed-to data member. | |
virtual void | writeValueTo (const FieldContainer *obj, io::writer &writer, const rutz::fstring &name) const |
Write the value of the given object's pointed-to data member. | |
Static Public Member Functions | |
static rutz::shared_ptr < FieldImpl > | make (T C::*memptr, const deref_t &min, const deref_t &max) |
Definition at line 215 of file fields.h.