Public Member Functions | List of all members
dbutils::gui::Storeable Class Referenceabstract

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/DatabaseUtils/cxx/include/GUI/Storeable.h"

Inheritance diagram for dbutils::gui::Storeable:
dbutils::gui::TabbedSetOfTableEditors dbutils::gui::TabbedSetOfTreeEditors

Public Member Functions

virtual bool loadData (const dbutils::daqconfig::IDSpec &idSpec)=0
 
virtual bool saveChanges (const dbutils::daqconfig::IDSpec &oldIdSpec, const dbutils::daqconfig::IDSpec &newIdSpec, const dbutils::daqconfig::GlobalNameSpec &newNameSpec)=0
 

Detailed Description

The interface that configuration editor classes use to control reading and writing of data to the database.

Author
Kurt Biery
Version
Revision
1.3.24.1
Date
2019/09/27 00:07:04

Definition at line 19 of file Storeable.h.

Member Function Documentation

virtual bool dbutils::gui::Storeable::loadData ( const dbutils::daqconfig::IDSpec idSpec)
pure virtual

Loads the data associated with the specified config ID.

Implemented in dbutils::gui::TabbedSetOfTableEditors, and dbutils::gui::TabbedSetOfTreeEditors.

Referenced by dbutils::gui::CustomTabWidget::loadData().

virtual bool dbutils::gui::Storeable::saveChanges ( const dbutils::daqconfig::IDSpec oldIdSpec,
const dbutils::daqconfig::IDSpec newIdSpec,
const dbutils::daqconfig::GlobalNameSpec newNameSpec 
)
pure virtual

Saves all local changes to the database.

Implemented in dbutils::gui::TabbedSetOfTableEditors, and dbutils::gui::TabbedSetOfTreeEditors.

Referenced by dbutils::gui::CustomTabWidget::saveChanges().


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