|
void | printJSON (std::stringstream &ss) const |
|
int | fillFromJSON (std::string const &newjson) |
|
| TableView (const std::string &tableName) |
| = "");
|
|
void | init (void) |
|
TableView & | copy (const TableView &src, TableVersion destinationVersion, const std::string &author) |
|
unsigned int | copyRows (const std::string &author, const TableView &src, unsigned int srcOffsetRow=0, unsigned int srcRowsToCopy=(unsigned int) -1, unsigned int destOffsetRow=(unsigned int) -1, unsigned char generateUniqueDataColumns=false, const std::string &baseNameAutoUID="") |
|
template<class T > |
unsigned int | findRow (unsigned int col, const T &value, unsigned int offsetRow=0, bool doNotThrow=false) const |
| < in included .icc source
|
|
unsigned int | findRow (unsigned int col, const std::string &value, unsigned int offsetRow=0, bool doNotThrow=false) const |
|
template<class T > |
unsigned int | findRowInGroup (unsigned int col, const T &value, const std::string &groupId, const std::string &childLinkIndex, unsigned int offsetRow=0) const |
| < in included .icc source
|
|
unsigned int | findRowInGroup (unsigned int col, const std::string &value, const std::string &groupId, const std::string &childLinkIndex, unsigned int offsetRow=0) const |
|
unsigned int | findCol (const std::string &name) const |
|
unsigned int | findColByType (const std::string &type, unsigned int startingCol=0) const |
|
const std::string & | getCustomStorageData (void) const |
| Getters.
|
|
const std::string & | getTableName (void) const |
|
const TableVersion & | getVersion (void) const |
|
const std::string & | getComment (void) const |
|
const std::string & | getAuthor (void) const |
|
const time_t & | getCreationTime (void) const |
|
const time_t & | getLastAccessTime (void) const |
|
const bool & | getLooseColumnMatching (void) const |
|
unsigned int | getDataColumnSize (void) const |
| getDataColumnSize More...
|
|
const unsigned int & | getSourceColumnMismatch (void) const |
|
const unsigned int & | getSourceColumnMissing (void) const |
|
const std::set< std::string > & | getSourceColumnNames (void) const |
|
std::set< std::string > | getColumnNames (void) const |
|
std::map< std::string, unsigned int > | getColumnNamesMap (void) const |
|
std::set< std::string > | getColumnStorageNames (void) const |
|
const std::vector< std::string > & | getDefaultRowValues (void) const |
|
std::string | getMismatchColumnInfo (void) const |
|
unsigned int | getNumberOfRows (void) const |
|
unsigned int | getNumberOfColumns (void) const |
|
unsigned int | getColUID (void) const |
|
unsigned int | getColStatus (void) const |
|
unsigned int | getColPriority (void) const |
|
std::set< std::string > | getSetOfGroupIDs (const std::string &childLinkIndex, unsigned int row=-1) const |
|
std::set< std::string > | getSetOfGroupIDs (const unsigned int &col, unsigned int row=-1) const |
|
bool | isEntryInGroup (const unsigned int &row, const std::string &childLinkIndex, const std::string &groupNeedle) const |
|
bool | getChildLink (const unsigned int &col, bool &isGroup, std::pair< unsigned int, unsigned int > &linkPair) const |
|
unsigned int | getLinkGroupIDColumn (const std::string &childLinkIndex) const |
|
std::vector< unsigned int > | getGroupRows (const unsigned int groupIdCol, const std::string &groupID, bool onlyStatusTrue=false, bool orderedByPriority=false) const |
|
std::vector< std::vector< unsigned int > > | getGroupRowsByPriority (const unsigned int groupIdCol, const std::string &groupID, bool onlyStatusTrue=false) const |
|
void | addRowToGroup (const unsigned int &row, const unsigned int &col, const std::string &groupID) |
| , const std::string& colDefault); More...
|
|
bool | removeRowFromGroup (const unsigned int &row, const unsigned int &col, const std::string &groupID, bool deleteRowIfNoGroupLeft=false) |
|
template<class T > |
void | getValue (T &value, unsigned int row, unsigned int col, bool doConvertEnvironmentVariables=true) const |
| < in included .icc source
|
|
void | getValue (std::string &value, unsigned int row, unsigned int col, bool doConvertEnvironmentVariables=true) const |
|
template<class T > |
T | validateValueForColumn (const std::string &value, unsigned int col, bool doConvertEnvironmentVariables=true) const |
| < in included .icc source
|
|
std::string | validateValueForColumn (const std::string &value, unsigned int col, bool convertEnvironmentVariables=true) const |
|
std::string | getValueAsString (unsigned int row, unsigned int col, bool convertEnvironmentVariables=true) const |
|
std::string | getEscapedValueAsString (unsigned int row, unsigned int col, bool convertEnvironmentVariables=true) const |
|
bool | isURIEncodedCommentTheSame (const std::string &comment) const |
|
const DataView & | getDataView (void) const |
|
const std::vector< TableViewColumnInfo > & | getColumnsInfo (void) const |
|
std::vector< TableViewColumnInfo > * | getColumnsInfoP (void) |
|
const TableViewColumnInfo & | getColumnInfo (unsigned int column) const |
|
void | setCustomStorageData (const std::string &storageData) |
|
void | setComment (const std::string &comment) |
|
void | setURIEncodedComment (const std::string &uriComment) |
|
void | setAuthor (const std::string &author) |
|
void | setCreationTime (time_t t) |
|
void | setLastAccessTime (time_t t=time(0)) |
|
void | setLooseColumnMatching (bool setValue) |
|
void | doGetSourceRawData (bool setValue) |
|
const std::string & | getSourceRawData (void) |
|
template<class T > |
void | setVersion (const T &version) |
| < in included .icc source
|
|
template<class T > |
void | setValue (const T &value, unsigned int row, unsigned int col) |
| < in included .icc source
|
|
void | setValue (const std::string &value, unsigned int row, unsigned int col) |
|
void | setValue (const char *value, unsigned int row, unsigned int col) |
|
void | setValueAsString (const std::string &value, unsigned int row, unsigned int col) |
|
const std::string & | setUniqueColumnValue (unsigned int row, unsigned int col, std::string baseValueAsString="", bool doMathAppendStrategy=false, std::string childLinkIndex="", std::string groupId="") |
|
void | resizeDataView (unsigned int nRows, unsigned int nCols) |
|
unsigned int | addRow (const std::string &author="", unsigned char incrementUniqueData=false, const std::string &baseNameAutoUID="", unsigned int rowToAdd=(unsigned int) -1, std::string childLinkIndex="", std::string groupId="") |
|
void | deleteRow (int r) |
|
void | deleteAllRows (void) |
|
iterator | begin (void) |
|
iterator | end (void) |
|
const_iterator | begin (void) const |
|
const_iterator | end (void) const |
|
void | reset (void) |
|
void | print (std::ostream &out=std::cout) const |
|
void | printJSON (std::ostream &out=std::cout) const |
|
int | fillFromJSON (const std::string &json) |
|
int | fillFromCSV (const std::string &data, const int &dataOffset=0, const std::string &author="") |
|
bool | setURIEncodedValue (const std::string &value, const unsigned int &row, const unsigned int &col, const std::string &author="") |
|