|
|
void | init (ConfigurationManager *configManager) |
| | Methods.
|
| |
| | TableBase (bool specialTable, const std::string &specialTableName) |
| |
| | TableBase (const std::string &tableName, std::string *accumulatedExceptions=0) |
| |
| virtual | ~TableBase (void) |
| |
| void | specialMetaTableConstructor (void) |
| | Methods. More...
|
| |
|
void | destroy (void) |
| |
|
void | reset (bool keepTemporaryVersions=false) |
| |
| void | deactivate (void) |
| |
|
bool | isActive (void) |
| | isActive
|
| |
|
void | print (std::ostream &out=std::cout) const |
| | always prints active view
|
| |
|
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 |
| |
| bool | diffTwoVersions (TableVersion v1, TableVersion v2, std::stringstream *diffReport=0, std::map< std::string, std::vector< std::string >> *v1ModifiedRecords=0) const |
| |
|
const std::string & | getTableName (void) const |
| | Getters.
|
| |
|
const std::string & | getTableDescription (void) const |
| |
|
std::set< TableVersion > | getStoredVersions (void) const |
| |
|
const TableView & | getView (TableVersion version=TableVersion(TableVersion::INVALID)) const |
| |
|
TableView * | getViewP (TableVersion version=TableVersion(TableVersion::INVALID)) |
| |
|
TableView * | getMockupViewP (void) |
| |
|
const TableVersion & | getViewVersion (void) const |
| | always the active one
|
| |
| TableView * | getTemporaryView (TableVersion temporaryVersion) |
| |
| TableVersion | getNextTemporaryVersion (void) const |
| |
| TableVersion | getNextVersion (void) const |
| |
|
virtual std::string | getStructureAsJSON (const ConfigurationManager *) |
| |
|
virtual void | initPrereqsForARTDAQ (const ConfigurationManager *) |
| |
|
virtual std::string | getFclValueForARTDAQ (const ConfigurationManager *, const std::string &) const |
| |
|
void | setTableName (const std::string &tableName) |
| | Setters.
|
| |
|
void | setTableDescription (const std::string &tableDescription) |
| |
|
bool | setActiveView (TableVersion version) |
| |
| TableVersion | copyView (const TableView &sourceView, TableVersion destinationVersion, const std::string &author, bool looseColumnMatching=false) |
| |
| TableVersion | mergeViews (const TableView &sourceViewA, const TableView &sourceViewB, TableVersion destinationVersion, const std::string &author, MergeApproach 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, std::stringstream *mergeRepoert=nullptr) |
| |
| TableVersion | createTemporaryView (TableVersion sourceViewVersion=TableVersion(), TableVersion destTemporaryViewVersion=TableVersion::getNextTemporaryVersion()) |
| | source of -1, from MockUp, else from valid view version More...
|
| |
| bool | latestAndMockupColumnNumberMismatch (void) const |
| |
| unsigned int | getNumberOfStoredViews (void) const |
| |
|
| enum | MergeApproach { SKIP
, REPLACE
, RENAME
} |
| | Merge approach enumeration for mergeViews function. More...
|
| |
| static std::string | convertToCaps (std::string &str, bool isConfigName=false) |
| |
| const unsigned int | MAX_VIEWS_IN_CACHE |
| |
|
static const std::string | GROUP_CACHE_PREPEND = "GroupCache_" |
| |
|
static const std::string | JSON_DOC_PREPEND = "JSONDoc_" |
| |
|
static const std::string | GROUP_METADATA_TABLE_NAME = "TableGroupMetadata" |
| |
|
std::string | tableName_ |
| |
|
std::string | tableDescription_ |
| |
|
TableView * | activeTableView_ |
| |
|
TableView | mockupTableView_ |
| |
| std::map< TableVersion, TableView > | tableViews_ |
| |
|
bool | isFirstAppInContext_ = false |
| | for managing things that should only happen once per node (e.g., write files). If used, should be set in init() to configManager->isOwnerFirstAppInContext();
|
| |
Definition at line 10 of file MessageFacilityTable.h.