#include <ArrayAllocator.h>
Inheritance diagram for PLearn::Option< T, Enclosing >:


Public Types | |
| typedef T | value_type |
| typedef Enclosing | enclosing_type |
Public Member Functions | |
| Option (const T &defaultValue, Enclosing *encl) | |
| Enclosing & | operator() (const T &newValue) |
| const T & | operator() () const |
| Option (const string &optionname, OptionType ObjectType::*member_ptr, flag_t flags, const string &optiontype, const string &defaultval, const string &description) | |
| Most of these parameters only serve to provide the user with an informative help text. | |
| virtual void | read (Object *o, PStream &in) const |
| virtual void | read_and_discard (PStream &in) const |
| virtual void | write (const Object *o, PStream &out) const |
| virtual Object * | getAsObject (Object *o) const |
| virtual const Object * | getAsObject (const Object *o) const |
| virtual Object * | getIndexedObject (Object *o, int i) const |
| virtual const Object * | getIndexedObject (const Object *o, int i) const |
| virtual string | optionHolderClassName (const Object *o) const |
| Returns the name of the class in to which this field belongs. | |
Protected Attributes | |
| OptionType ObjectType::* | ptr |
Private Attributes | |
| T | optionValue |
| Enclosing * | enclosing |
This class provides a unique stop to set all options in an ArrayAllocator object. These options must be passed upon constructing the object.
Definition at line 61 of file ArrayAllocator.h.
|
|||||
|
Definition at line 65 of file ArrayAllocator.h. |
|
|||||
|
Definition at line 64 of file ArrayAllocator.h. |
|
||||||||||||||||
|
Definition at line 68 of file ArrayAllocator.h. |
|
||||||||||||||||||||||||||||||||
|
Most of these parameters only serve to provide the user with an informative help text. (only optionname and saveit are really important) |
|
||||||||||
|
Implements PLearn::OptionBase. |
|
||||||||||
|
Implements PLearn::OptionBase. |
|
||||||||||||||||
|
Implements PLearn::OptionBase. |
|
||||||||||||||||
|
Implements PLearn::OptionBase. |
|
|||||||||
|
Definition at line 76 of file ArrayAllocator.h. |
|
||||||||||
|
Definition at line 72 of file ArrayAllocator.h. |
|
||||||||||
|
Returns the name of the class in to which this field belongs.
Implements PLearn::OptionBase. |
|
||||||||||||||||
|
Implements PLearn::OptionBase. |
|
||||||||||
|
Implements PLearn::OptionBase. |
|
||||||||||||||||
|
Implements PLearn::OptionBase. |
|
|||||
|
Definition at line 82 of file ArrayAllocator.h. |
|
|||||
|
Definition at line 81 of file ArrayAllocator.h. |
|
|||||
|
|
1.3.7