otsdaq  v2_05_02_indev
ots::TableBase Class Reference
Inheritance diagram for ots::TableBase:
ots::ARTDAQTableBase ots::DesktopIconTable ots::FESlowControlsTable ots::IterateTable ots::MessageFacilityTable ots::SlowControlsTableBase ots::TemplateTable ots::TestConfiguration001 ots::TestConfiguration002 ots::XDAQContextTable

Public Member Functions

 TableBase (bool specialTable, const std::string &specialTableName)
 
 TableBase (const std::string &tableName, std::string *accumulatedExceptions=0)
 
virtual void init (ConfigurationManager *configManager)
 
void destroy (void)
 
void reset (bool keepTemporaryVersions=false)
 
void deactivate (void)
 
bool isActive (void)
 
void print (std::ostream &out=std::cout) const
 
std::string getTypeId (void)
 
void setupMockupView (TableVersion version)
 
void changeVersionAndActivateView (TableVersion temporaryVersion, TableVersion version)
 
bool isStored (const TableVersion &version) const
 
bool eraseView (TableVersion version)
 
void trimCache (unsigned int trimSize=-1)
 
void trimTemporary (TableVersion targetVersion=TableVersion())
 
TableVersion checkForDuplicate (TableVersion needleVersion, TableVersion ignoreVersion=TableVersion()) const
 
const std::string & getTableName (void) const
 
const std::string & getTableDescription (void) const
 
std::set< TableVersiongetStoredVersions (void) const
 
const TableViewgetView (void) const
 
TableViewgetViewP (void)
 
TableViewgetMockupViewP (void)
 
const TableVersiongetViewVersion (void) const
 
TableViewgetTemporaryView (TableVersion temporaryVersion)
 
TableVersion getNextTemporaryVersion (void) const
 
TableVersion getNextVersion (void) const
 
void setTableName (const std::string &tableName)
 
void setTableDescription (const std::string &tableDescription)
 
bool setActiveView (TableVersion version)
 
TableVersion copyView (const TableView &sourceView, TableVersion destinationVersion, const std::string &author)
 
TableVersion mergeViews (const TableView &sourceViewA, const TableView &sourceViewB, TableVersion destinationVersion, const std::string &author, const std::string &mergeApproach, std::map< std::pair< std::string, std::string >, std::string > &uidConversionMap, std::map< std::pair< std::string, std::pair< std::string, std::string > >, std::string > &groupidConversionMap, bool fillRecordConversionMaps, bool applyRecordConversionMaps, bool generateUniqueDataColumns=false)
 
TableVersion createTemporaryView (TableVersion sourceViewVersion=TableVersion(), TableVersion destTemporaryViewVersion=TableVersion::getNextTemporaryVersion())
 
bool latestAndMockupColumnNumberMismatch (void) const
 
unsigned int getNumberOfStoredViews (void) const
 

Static Public Member Functions

static std::string convertToCaps (std::string &str, bool isConfigName=false)
 

Public Attributes

const unsigned int MAX_VIEWS_IN_CACHE
 

Protected Attributes

std::string tableName_
 
std::string tableDescription_
 
TableViewactiveTableView_
 
TableView mockupTableView_
 
std::map< TableVersion, TableViewtableViews_
 

Detailed Description

Definition at line 19 of file TableBase.h.

Member Function Documentation

TableVersion TableBase::mergeViews ( const TableView sourceViewA,
const TableView sourceViewB,
TableVersion  destinationVersion,
const std::string &  author,
const std::string &  mergeApproach,
std::map< std::pair< std::string, std::string >, std::string > &  uidConversionMap,
std::map< std::pair< std::string, std::pair< std::string, std::string > >, std::string > &  groupidConversionMap,
bool  fillRecordConversionMaps,
bool  applyRecordConversionMaps,
bool  generateUniqueDataColumns = false 
)

end uid conversion map

Definition at line 534 of file TableBase.cc.


The documentation for this class was generated from the following files: