PLearn 0.1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Private Types | Private Member Functions
PLearn::Template Class Reference

#include <Template.h>

Inheritance diagram for PLearn::Template:
Inheritance graph
[legend]
Collaboration diagram for PLearn::Template:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Template ()
virtual string classname () const
virtual OptionListgetOptionList () const
virtual OptionMapgetOptionMap () const
virtual RemoteMethodMapgetRemoteMethodMap () const
virtual TemplatedeepCopy (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 PPathdeclaringFile ()

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.

Detailed Description

Definition at line 13 of file Template.h.


Member Typedef Documentation

Reimplemented from PLearn::Molecule.

Definition at line 16 of file Template.h.


Constructor & Destructor Documentation

PLearn::Template::Template ( )

Definition at line 6 of file Template.cc.

                  {
}

Member Function Documentation

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.

bool PLearn::Template::_isa_ ( const Object o) [static]

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_().

Here is the call graph for this function:

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().

{}

Here is the caller graph for this function:

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);
}

Here is the call graph for this function:

static const PPath& PLearn::Template::declaringFile ( ) [inline, static]

Reimplemented from PLearn::Molecule.

Definition at line 49 of file Template.h.

Template * PLearn::Template::deepCopy ( CopiesMap copies) const [virtual]

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().

Here is the call graph for this function:


Member Data Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines