#include <ProcessingVMatrix.h>
Inheritance diagram for PLearn::ProcessingVMatrix:
Public Member Functions | |
ProcessingVMatrix () | |
ProcessingVMatrix (VMat the_source, const string &program_string) | |
virtual void | setMetaDataDir (const string &the_metadatadir) |
Also sets the source's meta-data dir if it's not already set. | |
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. | |
PLEARN_DECLARE_OBJECT (ProcessingVMatrix) | |
Declares name and deepCopy methods. | |
Public Attributes | |
string | prg |
Protected Member Functions | |
virtual void | getNewRow (int i, const Vec &v) const |
This is the only method requiring implementation. | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Protected Attributes | |
Vec | sourcevec |
VMatLanguage | program |
Private Types | |
typedef SourceVMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::SourceVMatrix. Definition at line 55 of file ProcessingVMatrix.h. Referenced by ProcessingVMatrix(). |
|
Definition at line 50 of file ProcessingVMatrix.cc. References inherited. |
|
Definition at line 76 of file ProcessingVMatrix.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::SourceVMatrix. Definition at line 99 of file ProcessingVMatrix.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::SourceVMatrix. Definition at line 76 of file ProcessingVMatrix.cc. References PLearn::VMatLanguage::compileString(), prg, program, PLearn::TVec< T >::resize(), PLearn::TVec< VMField >::resize(), PLearn::SourceVMatrix::setMetaInfoFromSource(), PLearn::VMatLanguage::setSource(), sourcevec, and PLearn::VMat::width(). Referenced by build(), and ProcessingVMatrix(). |
|
Declares this class' options.
Reimplemented from PLearn::SourceVMatrix. Definition at line 67 of file ProcessingVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
This is the only method requiring implementation.
Reimplemented from PLearn::SourceVMatrix. Definition at line 62 of file ProcessingVMatrix.cc. References program, PLearn::VMatLanguage::run(), and PLearn::Vec. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::SourceVMatrix. Definition at line 105 of file ProcessingVMatrix.cc. |
|
Declares name and deepCopy methods.
|
|
Also sets the source's meta-data dir if it's not already set. If there are fields that have no corresponding .smap .notes or .binning info files but the source has those files for a field with the same name, then those of the source will be set also for this vmatrix. Reimplemented from PLearn::SourceVMatrix. Definition at line 92 of file ProcessingVMatrix.cc. References PLearn::VMat::length(). |
|
Definition at line 66 of file ProcessingVMatrix.h. Referenced by build_(), and ProcessingVMatrix(). |
|
Definition at line 59 of file ProcessingVMatrix.h. Referenced by build_(), and getNewRow(). |
|
Definition at line 58 of file ProcessingVMatrix.h. Referenced by build_(). |