Version: 8.3.0
Yacsgui_DataModel Class Reference

#include <Yacsgui_DataModel.hxx>

Inheritance diagram for Yacsgui_DataModel:
Collaboration diagram for Yacsgui_DataModel:

Public Member Functions

 Yacsgui_DataModel (CAM_Module *theModule)
 
virtual ~Yacsgui_DataModel ()
 
virtual bool open (const QString &fileName, CAM_Study *study, QStringList listOfFiles)
 
virtual bool save (QStringList &listOfFiles)
 
virtual bool saveAs (const QString &fileName, CAM_Study *study, QStringList &listOfFiles)
 
- Public Member Functions inherited from SalomeWrap_DataModel
 SalomeWrap_DataModel (CAM_Module *theModule)
 
virtual ~SalomeWrap_DataModel ()
 
virtual void createNewSchema (const QString &schemaName, QWidget *viewWindow)
 
virtual bool renameSchema (const QString &oldName, const QString &newName, QWidget *viewWindow)
 
virtual bool deleteSchema (QWidget *viewWindow)
 
virtual void createNewRun (const QString &schemaName, const QString &runName, QWidget *refWindow, QWidget *viewWindow)
 
virtual void setSelected (QWidget *viewWindow)
 
SUIT_DataObject * getDataObject (std::string entry)
 
QWidgetgetViewWindow (std::string entry)
 

Additional Inherited Members

- Public Types inherited from SalomeWrap_DataModel
enum  ObjectType { SchemaObject, RunObject, UnknownObject }
 
- Protected Attributes inherited from SalomeWrap_DataModel
std::map< QWidget *, std::string > _viewEntryMap
 
std::map< std::string, QWidget * > _entryViewMap
 
std::map< std::string, int > _runCountMap
 

Detailed Description

Definition at line 25 of file Yacsgui_DataModel.hxx.

Constructor & Destructor Documentation

Yacsgui_DataModel::Yacsgui_DataModel ( CAM_Module *  theModule)

Definition at line 25 of file Yacsgui_DataModel.cxx.

References DEBTRACE.

26  : SalomeWrap_DataModel(theModule)
27 {
28  DEBTRACE("Yacsgui_DataModel::Yacsgui_DataModel");
29 }
Yacsgui_DataModel::~Yacsgui_DataModel ( )
virtual

Definition at line 31 of file Yacsgui_DataModel.cxx.

References DEBTRACE.

32 {
33  DEBTRACE("Yacsgui_DataModel:: ~Yacsgui_DataModel");
34 }

Member Function Documentation

bool Yacsgui_DataModel::open ( const QString &  fileName,
CAM_Study *  study,
QStringList  listOfFiles 
)
virtual

Definition at line 36 of file Yacsgui_DataModel.cxx.

References DEBTRACE.

37 {
38  DEBTRACE("Yacsgui_DataModel::open");
39  return SalomeWrap_DataModel::open(fileName, study, listOfFiles);
40 }
bool Yacsgui_DataModel::save ( QStringList &  listOfFiles)
virtual

Definition at line 42 of file Yacsgui_DataModel.cxx.

References DEBTRACE.

43 {
44  DEBTRACE("Yacsgui_DataModel::save");
45  return SalomeWrap_DataModel::save(listOfFiles);
46 }
bool Yacsgui_DataModel::saveAs ( const QString &  fileName,
CAM_Study *  study,
QStringList &  listOfFiles 
)
virtual

Definition at line 48 of file Yacsgui_DataModel.cxx.

References DEBTRACE.

49 {
50  DEBTRACE("Yacsgui_DataModel::saveAs");
51  return SalomeWrap_DataModel::saveAs(fileName, study, listOfFiles);
52 }

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