GlobalObjects
Loading...
Searching...
No Matches
GloBaseFitter.h
Go to the documentation of this file.
1#ifndef INC_GLOBASEFITTER_H
2#define INC_GLOBASEFITTER_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44// includes
45#include "GloTypes.h"
46#include "GloSchemaInterface.h"
47#include <tuple>
48//-----------------------------------------------------------------------------
49namespace glo
50{
51 //---------------------------------------------------------------------------
52 /* Forwards */
53 class Manager;
54 //---------------------------------------------------------------------------
77 {
78 private:
79 //============== attributes
80 //-----------------------------------------------------------------------
91 //-----------------------------------------------------------------------
92
93 protected:
94 //============== ctors & dtor
95 //-----------------------------------------------------------------------
106 //-----------------------------------------------------------------------
107
108 public:
109 //============== ctors & dtor
110 //-----------------------------------------------------------------------
126 BaseFitter( Manager & rGloManager );
127 //-----------------------------------------------------------------------
139 BaseFitter( const BaseFitter & rT );
140 //-----------------------------------------------------------------------
150 virtual ~BaseFitter();
151 //-----------------------------------------------------------------------
152
153 private:
154 protected:
155 public:
156 //============== methods
157 //-----------------------------------------------------------------------
200 int checkTables( std::vector< std::tuple< unsigned long, unsigned int, std::string > > & rMissingTableClassIDVector,
201 const SchemaInterface & rSchemaInterface,
202 int iActions );
203 //-----------------------------------------------------------------------
239 int checkAttributeDirectorys( std::vector<AttributeID> & rMissingAttributeDirectorieVector,
240 const SchemaInterface & rSchemaInterface,
241 int iActions );
242 //-----------------------------------------------------------------------
292 int reindexBase( const SchemaInterface & rSchemaInterface,
293 int iActions );
294 //-----------------------------------------------------------------------
328 int compressBase( const SchemaInterface & rSchemaInterface,
329 int iActions );
330 //-----------------------------------------------------------------------
369 int repairTables( const SchemaInterface & rSchemaInterface,
370 int iActions,
371 std::ofstream & rLogFileStream );
372 //-----------------------------------------------------------------------
409 int repairAttributeDirectorys( const SchemaInterface & rSchemaInterface,
410 int iActions,
411 std::ofstream & rLogFileStream );
412 //-----------------------------------------------------------------------
413
414 protected:
415 //============== Unterstützer-Methoden
416 //-----------------------------------------------------------------------
452 int checkTable( std::vector< std::tuple< unsigned long, unsigned int, std::string > > & rMissingTableClassIDVector,
453 const SchemaInterface & rSchemaInterface,
454 ClassInfo & rClassInfo );
455 //-----------------------------------------------------------------------
479 int compressTable( std::string sTableName, int iActions );
480 //-----------------------------------------------------------------------
481
482 public:
483 //============== operators
484 //-----------------------------------------------------------------------
496 BaseFitter & operator= ( const BaseFitter & rT );
497 //-----------------------------------------------------------------------
498 };
499 //---------------------------------------------------------------------------
500} // namespace glo
501#endif
Header for SchemaInterface
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
If there is something wrong with a GlobalObjects database, or if it needs to be handled otherwise,...
Definition GloBaseFitter.h:77
int checkTable(std::vector< std::tuple< unsigned long, unsigned int, std::string > > &rMissingTableClassIDVector, const SchemaInterface &rSchemaInterface, ClassInfo &rClassInfo)
int compressTable(std::string sTableName, int iActions)
BaseFitter(Manager &rGloManager)
int reindexBase(const SchemaInterface &rSchemaInterface, int iActions)
BaseFitter(const BaseFitter &rT)
int repairTables(const SchemaInterface &rSchemaInterface, int iActions, std::ofstream &rLogFileStream)
virtual ~BaseFitter()
int checkAttributeDirectorys(std::vector< AttributeID > &rMissingAttributeDirectorieVector, const SchemaInterface &rSchemaInterface, int iActions)
int checkTables(std::vector< std::tuple< unsigned long, unsigned int, std::string > > &rMissingTableClassIDVector, const SchemaInterface &rSchemaInterface, int iActions)
int compressBase(const SchemaInterface &rSchemaInterface, int iActions)
int repairAttributeDirectorys(const SchemaInterface &rSchemaInterface, int iActions, std::ofstream &rLogFileStream)
Manager * m_pGloManager
Definition GloBaseFitter.h:90
This class contains all information to store objects of a class in a database, to build objects from ...
Definition GloClassInfo.h:86
The object of this class is the central point of contact for actions that deal with GlobalObjects dat...
Definition GloManager.h:193
This class is the interface to a GlobalObjects schema. It contains all class information to store obj...
Definition GloSchemaInterface.h:91
Definition GloAbstractBaseLot.h:49