|
PLearn 0.1
|
#include <Template.h>


Public Member Functions | |
| Template () | |
| virtual string | classname () const |
| virtual OptionList & | getOptionList () const |
| virtual OptionMap & | getOptionMap () const |
| virtual RemoteMethodMap & | getRemoteMethodMap () const |
| virtual Template * | deepCopy (CopiesMap &copies) const |
| virtual void | build () |
| Post-constructor. | |
| virtual void | makeDeepCopyFromShallowCopy (CopiesMap &copies) |
| Transforms a shallow copy into a deep copy. | |
Static Public Member Functions | |
| static string | _classname_ () |
| static OptionList & | _getOptionList_ () |
| static RemoteMethodMap & | _getRemoteMethodMap_ () |
| static Object * | _new_instance_for_typemap_ () |
| static bool | _isa_ (const Object *o) |
| static void | _static_initialize_ () |
| static const PPath & | declaringFile () |
Public Attributes | |
| PLearn::Mat | dev |
Static Public Attributes | |
| static StaticInitializer | _static_initializer_ |
Static Protected Member Functions | |
| static void | declareOptions (OptionList &ol) |
| Declares this class' options. | |
Private Types | |
| typedef Molecule | inherited |
Private Member Functions | |
| void | build_ () |
| This does the actual building. | |
Definition at line 13 of file Template.h.
typedef Molecule PLearn::Template::inherited [private] |
Reimplemented from PLearn::Molecule.
Definition at line 16 of file Template.h.
| PLearn::Template::Template | ( | ) |
Definition at line 6 of file Template.cc.
{
}
| string PLearn::Template::_classname_ | ( | ) | [static] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| OptionList & PLearn::Template::_getOptionList_ | ( | ) | [static] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| RemoteMethodMap & PLearn::Template::_getRemoteMethodMap_ | ( | ) | [static] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| Object * PLearn::Template::_new_instance_for_typemap_ | ( | ) | [static] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| StaticInitializer Template::_static_initializer_ & PLearn::Template::_static_initialize_ | ( | ) | [static] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| void PLearn::Template::build | ( | ) | [virtual] |
Post-constructor.
The normal implementation 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::Molecule.
Definition at line 26 of file Template.cc.
References PLearn::Molecule::build(), and build_().
{
inherited::build();
build_();
}

| void PLearn::Template::build_ | ( | ) | [private] |
This does the actual building.
Reimplemented from PLearn::Molecule.
Definition at line 23 of file Template.cc.
Referenced by build().
{}

| string PLearn::Template::classname | ( | ) | const [virtual] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| void PLearn::Template::declareOptions | ( | OptionList & | ol | ) | [static, protected] |
Declares this class' options.
Reimplemented from PLearn::Molecule.
Definition at line 14 of file Template.cc.
References PLearn::OptionBase::buildoption, PLearn::declareOption(), PLearn::Molecule::declareOptions(), and dev.
{
declareOption(ol, "dev", &Template::dev, OptionBase::buildoption,
"Chemical Properties");
// Now call the parent class' declareOptions
inherited::declareOptions(ol);
}

| static const PPath& PLearn::Template::declaringFile | ( | ) | [inline, static] |
Reimplemented from PLearn::Molecule.
Definition at line 49 of file Template.h.
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| OptionList & PLearn::Template::getOptionList | ( | ) | const [virtual] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| OptionMap & PLearn::Template::getOptionMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| RemoteMethodMap & PLearn::Template::getRemoteMethodMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Molecule.
Definition at line 12 of file Template.cc.
| void PLearn::Template::makeDeepCopyFromShallowCopy | ( | CopiesMap & | copies | ) | [virtual] |
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Molecule.
Definition at line 32 of file Template.cc.
References PLearn::deepCopyField(), dev, and PLearn::Molecule::makeDeepCopyFromShallowCopy().
{
inherited::makeDeepCopyFromShallowCopy(copies);
deepCopyField(dev, copies);
}

Reimplemented from PLearn::Molecule.
Definition at line 49 of file Template.h.
Definition at line 21 of file Template.h.
Referenced by declareOptions(), and makeDeepCopyFromShallowCopy().
1.7.4