27 #ifndef _SALOMEDSImpl_AttributeExpandable_HeaderFile
28 #define _SALOMEDSImpl_AttributeExpandable_HeaderFile
45 virtual std::string
Save() {
return (myValue == 0)?(
char*)
"0":(
char*)
"1"; }
46 virtual void Load(
const std::string& theValue) { (theValue ==
"0")?myValue=0:myValue=1; }
48 static const std::string& GetID() ;
51 void SetExpandable(
const int value);
53 const std::string&
ID()
const;
#define SALOMEDSIMPL_EXPORT
Definition: SALOMEDSImpl_Defines.hxx:34
Definition: DF_Attribute.hxx:30
virtual void Restore(DF_Attribute *theAttribute)=0
virtual const std::string & ID() const =0
virtual DF_Attribute * NewEmpty() const =0
virtual void Paste(DF_Attribute *theIntoAttribute)=0
Definition: DF_Label.hxx:65
Definition: SALOMEDSImpl_AttributeExpandable.hxx:39
virtual std::string Save()
Definition: SALOMEDSImpl_AttributeExpandable.hxx:45
int myValue
Definition: SALOMEDSImpl_AttributeExpandable.hxx:41
int IsExpandable() const
Definition: SALOMEDSImpl_AttributeExpandable.hxx:52
virtual void Load(const std::string &theValue)
Definition: SALOMEDSImpl_AttributeExpandable.hxx:46
~SALOMEDSImpl_AttributeExpandable()
Definition: SALOMEDSImpl_AttributeExpandable.hxx:57
Definition: SALOMEDSImpl_GenericAttribute.hxx:39