73 this->
m_MapRow[
"TrackIDRoot"] = std::string(
"0" );
81 std::vector< FieldWithValue > Conditions;
86 return FindOneID(DatabaseConnector,
"lineage",
"lineageID",
95 return this->SaveInDBTemplate< GoDBLineageRow >(DatabaseConnector,
this);
std::string m_TableIDName
virtual int SaveInDB(vtkMySQLDatabase *DatabaseConnector)
save the row in the database if the TraceID is set to "0", update the existing traceRow if the TraceI...
int FindOneID(vtkMySQLDatabase *DatabaseConnector, const std::string &TableName, const std::string &ColumnName, const std::string &field, const std::string &value)
SELECT ColumnName FROM TableName WHERE field = value.
std::string m_CollectionIDName
check in the database if the Coordinate Min adn Max already exists, if yes fill the map["CoordIDMin"]...
std::string m_CollectionName
void AddConditions(const std::string &iNameOfField, std::vector< FieldWithValue > &ioFieldWithValue)
add as an element of ioFieldWithValue the name and value of the map with the key iNameOfField ...
virtual void InitializeMap()
virtual pure. initialize all the values of the map
int DoesThisBoundingBoxLineageExist(vtkMySQLDatabase *DatabaseConnector)