PLearn 0.1
|
#include <UpsideDownVMatrix.h>
Public Member Functions | |
UpsideDownVMatrix () | |
UpsideDownVMatrix (VMat the_source) | |
virtual void | getNewRow (int i, Vec &v) const |
This is the only method requiring implementation. | |
virtual void | build () |
Simply calls inherited::build() then build_(). | |
virtual void | makeDeepCopyFromShallowCopy (CopiesMap &copies) |
Transforms a shallow copy into a deep copy. | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual OptionMap & | getOptionMap () const |
virtual RemoteMethodMap & | getRemoteMethodMap () const |
virtual UpsideDownVMatrix * | deepCopy (CopiesMap &copies) const |
Static Public Member Functions | |
static string | _classname_ () |
Declares name and deepCopy methods. | |
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 () |
Static Public Attributes | |
static StaticInitializer | _static_initializer_ |
Static Protected Member Functions | |
static void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Types | |
typedef SourceVMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
Definition at line 52 of file UpsideDownVMatrix.h.
typedef SourceVMatrix PLearn::UpsideDownVMatrix::inherited [private] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 54 of file UpsideDownVMatrix.h.
PLearn::UpsideDownVMatrix::UpsideDownVMatrix | ( | ) |
Definition at line 50 of file UpsideDownVMatrix.cc.
{}
PLearn::UpsideDownVMatrix::UpsideDownVMatrix | ( | VMat | the_source | ) |
Definition at line 53 of file UpsideDownVMatrix.cc.
References build_().
:SourceVMatrix(the_source) { build_(); }
string PLearn::UpsideDownVMatrix::_classname_ | ( | ) | [static] |
Declares name and deepCopy methods.
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
OptionList & PLearn::UpsideDownVMatrix::_getOptionList_ | ( | ) | [static] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
RemoteMethodMap & PLearn::UpsideDownVMatrix::_getRemoteMethodMap_ | ( | ) | [static] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
Object * PLearn::UpsideDownVMatrix::_new_instance_for_typemap_ | ( | ) | [static] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
StaticInitializer UpsideDownVMatrix::_static_initializer_ & PLearn::UpsideDownVMatrix::_static_initialize_ | ( | ) | [static] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
void PLearn::UpsideDownVMatrix::build | ( | ) | [virtual] |
Simply calls inherited::build() then build_().
Reimplemented from PLearn::SourceVMatrix.
Definition at line 79 of file UpsideDownVMatrix.cc.
References PLearn::SourceVMatrix::build(), and build_().
{ inherited::build(); build_(); }
void PLearn::UpsideDownVMatrix::build_ | ( | ) | [private] |
This does the actual building.
Reimplemented from PLearn::SourceVMatrix.
Definition at line 72 of file UpsideDownVMatrix.cc.
References PLearn::SourceVMatrix::setMetaInfoFromSource(), and PLearn::SourceVMatrix::source.
Referenced by build(), and UpsideDownVMatrix().
{ if (source) setMetaInfoFromSource(); }
string PLearn::UpsideDownVMatrix::classname | ( | ) | const [virtual] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
void PLearn::UpsideDownVMatrix::declareOptions | ( | OptionList & | ol | ) | [static, protected] |
Declares this class' options.
Reimplemented from PLearn::SourceVMatrix.
Definition at line 67 of file UpsideDownVMatrix.cc.
References PLearn::SourceVMatrix::declareOptions().
{ inherited::declareOptions(ol); }
static const PPath& PLearn::UpsideDownVMatrix::declaringFile | ( | ) | [inline, static] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 96 of file UpsideDownVMatrix.h.
UpsideDownVMatrix * PLearn::UpsideDownVMatrix::deepCopy | ( | CopiesMap & | copies | ) | const [virtual] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
This is the only method requiring implementation.
Definition at line 62 of file UpsideDownVMatrix.cc.
References PLearn::VMatrix::length_, and PLearn::SourceVMatrix::source.
OptionList & PLearn::UpsideDownVMatrix::getOptionList | ( | ) | const [virtual] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
OptionMap & PLearn::UpsideDownVMatrix::getOptionMap | ( | ) | const [virtual] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
RemoteMethodMap & PLearn::UpsideDownVMatrix::getRemoteMethodMap | ( | ) | const [virtual] |
Reimplemented from PLearn::SourceVMatrix.
Definition at line 60 of file UpsideDownVMatrix.cc.
void PLearn::UpsideDownVMatrix::makeDeepCopyFromShallowCopy | ( | CopiesMap & | copies | ) | [virtual] |
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::SourceVMatrix.
Definition at line 85 of file UpsideDownVMatrix.cc.
References PLearn::SourceVMatrix::makeDeepCopyFromShallowCopy().
{ inherited::makeDeepCopyFromShallowCopy(copies); }
Reimplemented from PLearn::SourceVMatrix.
Definition at line 96 of file UpsideDownVMatrix.h.