27 #ifndef _SALOMEDSImpl_AttributeDrawable_HeaderFile
28 #define _SALOMEDSImpl_AttributeDrawable_HeaderFile
43 virtual std::string
Save() {
return (myValue == 0)?(
char*)
"0":(
char*)
"1"; }
44 virtual void Load(
const std::string& theValue) { (theValue ==
"0")?myValue=0:myValue=1; }
46 static const std::string& GetID() ;
49 void SetDrawable(
const int theValue);
52 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_AttributeDrawable.hxx:38
int myValue
Definition: SALOMEDSImpl_AttributeDrawable.hxx:40
virtual void Load(const std::string &theValue)
Definition: SALOMEDSImpl_AttributeDrawable.hxx:44
~SALOMEDSImpl_AttributeDrawable()
Definition: SALOMEDSImpl_AttributeDrawable.hxx:56
int IsDrawable() const
Definition: SALOMEDSImpl_AttributeDrawable.hxx:50
virtual std::string Save()
Definition: SALOMEDSImpl_AttributeDrawable.hxx:43
Definition: SALOMEDSImpl_GenericAttribute.hxx:39