#include <SetOption.h>
Inheritance diagram for PLearn::SetOption:
Public Types | |
typedef Object | inherited |
Public Member Functions | |
SetOption () | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
Transforms a shallow copy into a deep copy. | |
void | apply (PP< Object > obj) |
Will call obj->setOption(name, value). | |
void | apply (PP< Object > obj, const map< string, string > &aliases) |
Will call obj->setOption(name, value); or if name is a key in aliases, it will call obj->setOption(aliases[name], value). | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual SetOption * | deepCopy (CopiesMap &copies) const |
Static Public Member Functions | |
string | _classname_ () |
Declares name and deepCopy methods. | |
OptionList & | _getOptionList_ () |
Object * | _new_instance_for_typemap_ () |
bool | _isa_ (Object *o) |
void | _static_initialize_ () |
Public Attributes | |
string | name |
string | value |
Static Public Attributes | |
StaticInitializer | _static_initializer_ |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::Object. Definition at line 60 of file SetOption.h. |
|
Definition at line 45 of file SetOption.cc. |
|
Declares name and deepCopy methods.
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Will call obj->setOption(name, value); or if name is a key in aliases, it will call obj->setOption(aliases[name], value).
Definition at line 79 of file SetOption.cc. |
|
Will call obj->setOption(name, value).
Definition at line 100 of file SetOption.h. |
|
Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::Object. Definition at line 67 of file SetOption.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 63 of file SetOption.cc. Referenced by build(). |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 54 of file SetOption.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. Definition at line 52 of file SetOption.cc. |
|
Transforms a shallow copy into a deep copy.
Definition at line 74 of file SetOption.cc. |
|
Reimplemented from PLearn::Object. |
|
Definition at line 66 of file SetOption.h. Referenced by apply(). |
|
Definition at line 67 of file SetOption.h. Referenced by apply(). |