Logo Search packages:      
Sourcecode: r-cran-genabel version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes

FilteredMatrix Class Reference

Inheritance diagram for FilteredMatrix:
Inheritance graph
[legend]
Collaboration diagram for FilteredMatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

template<class DT >
void addVariableAs (DT *outvec, string varname)
void cacheAllNames (bool)
virtual AbstractMatrixcastToAbstractMatrix ()
 FilteredMatrix (AbstractMatrix &matrix)
unsigned long getCacheSizeInMb ()
short unsigned getElementSize ()
short unsigned getElementType ()
string getFileName ()
AbstractMatrixgetNestedMatrix ()
unsigned long getNumObservations ()
unsigned long getNumVariables ()
bool & getWarningIsShown ()
void readElement (unsigned long varIdx, unsigned long obsIdx, void *elem)
template<class DT >
void readElementAs (unsigned long varNumber, unsigned long obsNumber, DT &element)
void readObservation (unsigned long obsIdx, void *outvec)
FixedChar readObservationName (unsigned long obsIdx)
void readVariable (unsigned long varIdx, void *outvec)
template<class DT >
void readVariableAs (unsigned long varIdx, DT *outvec)
FixedChar readVariableName (unsigned long varIdx)
void saveAs (string newFilename)
void saveAs (string newFilename, unsigned long nvars, unsigned long nobss, unsigned long *varindexes, unsigned long *obsindexes)
void saveAsText (string newFilename, bool saveVarNames, bool saveObsNames, string nanString)
void saveObservationsAs (string newFilename, unsigned long nobss, unsigned long *obsindexes)
void saveVariablesAs (string newFilename, unsigned long nvars, unsigned long *varindexes)
void setCacheSizeInMb (unsigned long cachesizeMb)
void setFilteredArea (vector< unsigned long > &rowMask, vector< unsigned long > &colMask)
void setNoFiltering ()
virtual bool setReadOnly (bool readOnly)
void setUpdateNamesOnWrite (bool bUpdate)
void writeElement (unsigned long varIdx, unsigned long obsIdx, void *data)
template<class DT >
void writeElementAs (unsigned long varNumber, unsigned long obsNumber, DT &element)
void writeObservation (unsigned long obsIdx, void *invec)
void writeObservationName (unsigned long obsIdx, FixedChar newname)
void writeVariable (unsigned long varIdx, void *datavec)
template<class DT >
void writeVariableAs (unsigned long varIdx, DT *outvec)
void writeVariableName (unsigned long varIdx, FixedChar newname)

Static Public Member Functions

static void checkOpenForWriting (const string fileName)
static void closeForWriting (const string fileName)

Static Public Attributes

static set< string > fileNamesOpenForWriting

Private Member Functions

void addVariable (void *invec, string varname)
void filterIdxList (unsigned long *iIndexes, unsigned long numIndexes, vector< unsigned long > &oIndexes, vector< unsigned long > &filter)

Private Attributes

vector< unsigned long > filteredToRealColIdx
vector< unsigned long > filteredToRealRowIdx
AbstractMatrixnestedMatrix

Detailed Description

Definition at line 14 of file FilteredMatrix.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index