#include <StringTable.h>
Collaboration diagram for PLearn::StringTable:
Public Member Functions | |
StringTable (const string &filename) | |
StringTable () | |
int | length () const |
int | width () const |
string & | operator() (int i, int j) |
TVec< string > | operator() (int i) const |
void | appendRow (const list< pair< string, string > > &row) |
void | declareFields (const list< pair< string, string > > &row) |
string | getFieldName (int i) const |
Private Attributes | |
TMat< string > | data |
vector< string > | fieldnames |
map< string, int > | rev_fn |
Friends | |
ostream & | operator<< (ostream &out, const StringTable &st) |
|
Definition at line 118 of file StringTable.cc. References PLearn::countNonBlankLinesOfFile(), data, fieldnames, PLERROR, PLearn::removeblanks(), PLearn::TMat< string >::resize(), and PLearn::split(). |
|
Definition at line 116 of file StringTable.cc. |
|
Definition at line 75 of file StringTable.cc. References data, fieldnames, PLearn::TMat< string >::length(), PLearn::TMat< string >::resize(), rev_fn, PLearn::TMat< T >::subMatColumns(), and PLearn::TMat< string >::width(). |
|
Definition at line 102 of file StringTable.cc. References data, fieldnames, PLearn::TMat< string >::length(), PLearn::TMat< string >::resize(), rev_fn, and PLearn::TMat< string >::width(). |
|
Definition at line 84 of file StringTable.h. References fieldnames, and getFieldName(). Referenced by getFieldName(), and PLearn::StrTableVMatrix::StrTableVMatrix(). |
|
Definition at line 75 of file StringTable.h. References data, and PLearn::TMat< string >::length(). Referenced by PLearn::operator<<(), and PLearn::StrTableVMatrix::StrTableVMatrix(). |
|
Definition at line 78 of file StringTable.h. References data, and operator()(). |
|
Definition at line 77 of file StringTable.h. References data, and operator()(). Referenced by operator()(). |
|
Definition at line 76 of file StringTable.h. References data, and PLearn::TMat< string >::width(). Referenced by PLearn::operator<<(), and PLearn::StrTableVMatrix::StrTableVMatrix(). |
|
Definition at line 42 of file StringTable.cc. |
|
Definition at line 51 of file StringTable.h. Referenced by appendRow(), declareFields(), length(), operator()(), PLearn::operator<<(), StringTable(), and width(). |
|
Definition at line 52 of file StringTable.h. Referenced by appendRow(), declareFields(), getFieldName(), PLearn::operator<<(), and StringTable(). |
|
Definition at line 53 of file StringTable.h. Referenced by appendRow(), and declareFields(). |