Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::RowsSubVMatrix Class Reference

#include <RowsSubVMatrix.h>

Inheritance diagram for PLearn::RowsSubVMatrix:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RowsSubVMatrix ()
 RowsSubVMatrix (VMat the_source, int the_startrow, int the_length)
virtual void getNewRow (int i, Vec &v) const
 This is the only method requiring implementation.

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 (RowsSubVMatrix)
 Declares name and deepCopy methods.


Public Attributes

int startrow

Static Protected Member Functions

void declareOptions (OptionList &ol)
 Declares this class' options.


Private Types

typedef SourceVMatrix inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef SourceVMatrix PLearn::RowsSubVMatrix::inherited [private]
 

Reimplemented from PLearn::SourceVMatrix.

Definition at line 54 of file RowsSubVMatrix.h.


Constructor & Destructor Documentation

PLearn::RowsSubVMatrix::RowsSubVMatrix  ) 
 

Definition at line 50 of file RowsSubVMatrix.cc.

PLearn::RowsSubVMatrix::RowsSubVMatrix VMat  the_source,
int  the_startrow,
int  the_length
 

Definition at line 54 of file RowsSubVMatrix.cc.

References build_().


Member Function Documentation

void PLearn::RowsSubVMatrix::build  )  [virtual]
 

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 86 of file RowsSubVMatrix.cc.

References build_().

void PLearn::RowsSubVMatrix::build_  )  [private]
 

This does the actual building.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 79 of file RowsSubVMatrix.cc.

References PLearn::SourceVMatrix::setMetaInfoFromSource().

Referenced by build(), and RowsSubVMatrix().

void PLearn::RowsSubVMatrix::declareOptions OptionList ol  )  [static, protected]
 

Declares this class' options.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 69 of file RowsSubVMatrix.cc.

References PLearn::declareOption(), and PLearn::OptionList.

void PLearn::RowsSubVMatrix::getNewRow int  i,
Vec v
const [virtual]
 

This is the only method requiring implementation.

Definition at line 64 of file RowsSubVMatrix.cc.

References startrow, and PLearn::Vec.

void PLearn::RowsSubVMatrix::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 92 of file RowsSubVMatrix.cc.

PLearn::RowsSubVMatrix::PLEARN_DECLARE_OBJECT RowsSubVMatrix   ) 
 

Declares name and deepCopy methods.


Member Data Documentation

int PLearn::RowsSubVMatrix::startrow
 

Definition at line 61 of file RowsSubVMatrix.h.

Referenced by getNewRow().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:26:39 2004 for PLearn by doxygen 1.3.7