47 this->
m_MapRow[
"ImagingSessionID"] = std::string(
"0" );
48 this->
m_MapRow[
"CoordIDMax"] = std::string(
"0" );
49 this->
m_MapRow[
"CoordIDMin"] = std::string(
"0" );
52 this->
m_MapRow[
"ImagesTimeInterval"] = std::string(
"0" );
53 this->
m_MapRow[
"RealPixelDepth"] = std::string(
"0" );
54 this->
m_MapRow[
"RealPixelHeight"] = std::string(
"0" );
55 this->
m_MapRow[
"RealPixelWidth"] = std::string(
"0" );
57 this->
m_MapRow[
"MicroscopeName"] =
"";
59 this->
m_MapRow[
"XImageSize"] = std::string(
"0" );
60 this->
m_MapRow[
"YImageSize"] = std::string(
"0" );
61 this->
m_MapRow[
"XTileOverlap"] = std::string(
"0" );
62 this->
m_MapRow[
"YTileOverlap"] = std::string(
"0" );
63 this->
m_MapRow[
"ZTileOverlap"] = std::string(
"0" );
70 vtkMySQLDatabase *DatabaseConnector)
74 std::vector< FieldWithValue > Conditions;
78 return FindOneID(DatabaseConnector,
"imagingsession",
"ImagingSessionID",
virtual void InitializeMap()
virtual pure. initialize all the values of the map
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.
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 ...
int DoesThisImagingSessionExist(vtkMySQLDatabase *DatabaseConnector)
return the ImgSessionID of the imaging session with the same date+time of creation and microscope alr...