1 #ifndef UI_ClassFactory_H
2 #define UI_ClassFactory_H
61 inline static SP::UI_ClassFactory
New() {
79 SP::CORE_ClassFactory cfactory,
80 SP::UI_Class uiClass);
85 SP::UI_Class uiClass) {
86 SP::UI_ClassFactory cfactory=
New();
92 SP::UI_Class uiClass) {
93 SP::UI_ClassFactory cfactory=
New();
104 SP::CORE_ClassFactory cfactory,
105 SP::UI_Class uiClass);
109 static SP::CORE_Object
loadFromClass(SP::CORE_ClassFactory cfactory,
110 SP::UI_Class uiClass);
116 SP::CORE_ClassFactory cfactory,
118 throw CORE_Exception(
"UI",
"UI_ClassFactory::saveIntoFile",
"not implemented");
125 const tFlag& interfaceType,
126 SP::CORE_ClassFactory cfactory,
128 throw CORE_Exception(
"UI",
"UI_ClassFactory::loadFromFile",
"not implemented");
134 SP::CORE_ClassFactory cfactory,
136 throw CORE_Exception(
"UI",
"UI_ClassFactory::loadFromFile",
"not implemented");
virtual SP::CORE_Object loadFromFile(const tFlag &interfaceType, SP::CORE_ClassFactory cfactory, const tString &fileName)
load file
Definition: UI_ClassFactory.h:133
static tBoolean saveIntoClass(SP::CORE_Object obj, SP::UI_Class uiClass)
save the obj into an ui class
Definition: UI_ClassFactory.h:91
#define tBoolean
Definition: types.h:48
this class describes a class factory to generate classes for User Interface Software ...
Definition: UI_ClassFactory.h:21
virtual tBoolean saveIntoFile(const CORE_Object &obj, SP::CORE_ClassFactory cfactory, const tString &fileName)
save into file
Definition: UI_ClassFactory.h:115
DEFINE_SPTR(UI_ClassFactory)
this class describes the exceptions raised for CORE package
Definition: CORE_Exception.h:15
virtual ~UI_ClassFactory(void)
destroy a UI_ClassFactory
Definition: UI_ClassFactory.cpp:10
static tBoolean loadFromClass(SP::CORE_Object obj, SP::CORE_ClassFactory cfactory, SP::UI_Class uiClass)
load the obj from an ui class
Definition: UI_ClassFactory.cpp:38
abstract base class for most classes.
Definition: CORE_Object.h:30
#define tString
Definition: types.h:49
static tBoolean saveIntoClass(const CORE_Object &obj, SP::UI_Class uiClass)
save the obj into an ui class
Definition: UI_ClassFactory.h:84
static tBoolean saveIntoClass(const CORE_Object &obj, SP::CORE_ClassFactory cfactory, SP::UI_Class uiClass)
save the obj into an ui class
Definition: UI_ClassFactory.cpp:13
static SP::UI_ClassFactory New()
create an instance of class
Definition: UI_ClassFactory.h:61
virtual tBoolean loadFromFile(SP::CORE_Object obj, const tFlag &interfaceType, SP::CORE_ClassFactory cfactory, const tString &fileName)
load file
Definition: UI_ClassFactory.h:124
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
UI_ClassFactory()
build a UI_ClassFactory
Definition: UI_ClassFactory.cpp:5
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14