52 std::string iPassword,
int iImagingSessionID, std::string iFilename)
58 this->
m_outfile.open (iFilename.c_str(), std::ios::out);
114 int VersionNumber = 1;
115 this->
m_outfile <<
"<?xml version=\"1.0\" ?>" << std::endl;
126 std::vector< std::pair< std::string, std::string > >
129 std::vector< std::pair< std::string, std::string > > infoImgSession;
134 return infoImgSession;
141 std::string iNameInfo)
143 std::pair< std::string, std::string > OneInfo;
144 OneInfo.first = iNameInfo;
187 std::vector< FieldWithValue > Conditions(2);
191 Conditions[0] = ImgSession;
192 Conditions[1] = Points;
194 "mesh",
"meshID", Conditions);
263 std::vector< std::string > TablesNames;
264 std::vector< std::string > FieldNames;
265 std::vector< std::vector< std::string > > VectorTracesIDs;
267 TablesNames, VectorTracesIDs, FieldNames,
true);
268 std::vector< std::string > ListColorIDs = std::vector< std::string >();
269 if ( !VectorTracesIDs.empty() )
271 std::vector< std::string > ColumnNames(1);
272 ColumnNames[0] =
"ColorID";
276 this->WriteTableInfoFromDB< GoDBColorRow >(ListColorIDs);
284 std::vector< std::string > ListCellTypeIDs = std::vector< std::string >();
285 std::vector< std::string > ListSubCellTypeIDs = std::vector< std::string >();
296 this->WriteTableInfoFromDB< GoDBCellTypeRow >(ListCellTypeIDs);
297 this->WriteTableInfoFromDB< GoDBSubCellTypeRow >(ListSubCellTypeIDs);
305 std::vector< std::string > TablesNames;
306 std::vector< std::string > FieldNames;
307 std::vector< std::vector< std::string > > VectorTracesIDs;
309 VectorTracesIDs, FieldNames);
310 std::vector< std::string > ColumnNames(2);
311 ColumnNames[0] =
"CoordIDMax";
312 ColumnNames[1] =
"CoordIDMin";
313 std::vector< std::string > ListCoordIDs = std::vector< std::string >();
314 if ( !VectorTracesIDs.empty() )
320 this->WriteTableInfoFromDB< GoDBCoordinateRow >(ListCoordIDs);
360 std::vector< std::string > VectorIntensityIDs = std::vector< std::string >();
368 this->WriteTableInfoFromDB< GoDBIntensityRow >(VectorIntensityIDs);
383 std::vector< std::pair< std::string, std::string > > iInfoToWrite)
387 std::vector< std::pair< std::string, std::string > >::iterator iter =
388 iInfoToWrite.begin();
389 while ( iter != iInfoToWrite.end() )
408 std::string NameToWrite =
"NumberOf";
409 NameToWrite += iNameOfEntity;
420 std::stringstream NameWithBrackets;
422 NameWithBrackets <<
"<";
423 NameWithBrackets << iName;
424 NameWithBrackets <<
">";
425 return NameWithBrackets.str();
433 std::stringstream NameWithBrackets;
435 NameWithBrackets <<
"</";
436 NameWithBrackets << iName;
437 NameWithBrackets <<
">";
438 return NameWithBrackets.str();
470 std::vector< std::string > & ioVectorTableNames,
471 std::vector< std::vector< std::string > > & ioVectorTracesIDs,
472 std::vector< std::string > & ioVectorFields,
bool IncludeChannelIDs)
476 ioVectorTableNames.push_back(
"contour");
477 ioVectorFields.push_back(
"contourID");
482 ioVectorTableNames.push_back(
"mesh");
483 ioVectorFields.push_back(
"meshID");
488 ioVectorTableNames.push_back(
"track");
489 ioVectorFields.push_back(
"trackID");
494 ioVectorTableNames.push_back(
"lineage");
495 ioVectorFields.push_back(
"lineageID");
498 if ( IncludeChannelIDs )
502 ioVectorTableNames.push_back(
"channel");
503 ioVectorFields.push_back(
"ChannelID");