52 this->
m_MapRow[
"Red"] = std::string(
"0" );
53 this->
m_MapRow[
"Green"] = std::string(
"0" );
54 this->
m_MapRow[
"Blue"] = std::string(
"0" );
55 this->
m_MapRow[
"Alpha"] = std::string(
"0" );
65 vtkMySQLDatabase *iDatabaseConnector)
82 return this->SaveInDBTemplate< GoDBColorRow >(iDatabaseConnector, *
this);
virtual int DoesThisEntityAlreadyExists(vtkMySQLDatabase *iDatabaseConnector)
Pure Virtual :check if the entity already exists in the database based on its own uniqueness definiti...
Abstract. manages the map with the keys matching the fields for the DBtable containing a name and des...
std::string m_TableIDName
virtual int DoesThisNameAlreadyExists(vtkMySQLDatabase *iDatabaseConnector)
check if the name already exists in the database, if yes, return the corresponding ID...
virtual int SaveInDB(vtkMySQLDatabase *iDatabaseConnector)
Pure Virtual :check if the entity already exists in the DB, if yes, return the existing ID...
virtual void InitializeMap()
virtual pure. initialize all the values of the map