GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
GoDBRecordSetHelper.h File Reference
#include "GoDBRecordSet.h"
#include "QueryDataBaseHelper.h"
#include "SelectQueryDatabaseHelper.h"
Include dependency graph for GoDBRecordSetHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
void AddOnlyOneNewObjectInTable (vtkMySQLDatabase *DatabaseConnector, const std::string &TableName, T &myNewObject)
 help add a new object of type T in the table "TableName" in the database: add a new ImagingSession, new Image, new Mesh... More...
 
template<class T >
int AddOnlyOneNewObjectInTable (vtkMySQLDatabase *DatabaseConnector, const std::string &TableName, T &myNewObject, const std::string IDColumnName)
 
template<class T >
int AddOnlyOneNewObjectInTable (vtkMySQLDatabase *DatabaseConnector, const std::string &TableName, T *myNewObject, const std::string IDColumnName)
 
template<class T >
int UpdateOneNewObjectInTable (vtkMySQLDatabase *DatabaseConnector, T *myNewObject)
 

Function Documentation

template<class T >
void AddOnlyOneNewObjectInTable ( vtkMySQLDatabase *  DatabaseConnector,
const std::string &  TableName,
T &  myNewObject 
)

help add a new object of type T in the table "TableName" in the database: add a new ImagingSession, new Image, new Mesh...

Parameters
[in]DatabaseConnector
[in]TableName
[in]myNewObject

Definition at line 48 of file GoDBRecordSetHelper.h.

template<class T >
int AddOnlyOneNewObjectInTable ( vtkMySQLDatabase *  DatabaseConnector,
const std::string &  TableName,
T &  myNewObject,
const std::string  IDColumnName 
)

Definition at line 61 of file GoDBRecordSetHelper.h.

template<class T >
int AddOnlyOneNewObjectInTable ( vtkMySQLDatabase *  DatabaseConnector,
const std::string &  TableName,
T *  myNewObject,
const std::string  IDColumnName 
)

Definition at line 76 of file GoDBRecordSetHelper.h.

template<class T >
int UpdateOneNewObjectInTable ( vtkMySQLDatabase *  DatabaseConnector,
T *  myNewObject 
)

Definition at line 91 of file GoDBRecordSetHelper.h.