X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDS%2FSALOMEDS_AttributeOpened_i.hxx;h=0ad905ca6ff93cf6559349ab3511c09ba4bff161;hb=31d7f826d7d5bfd80aae310024965de13b0e15f8;hp=a5b08df3e57a99a20c2a639cb61daf9e7dbd64e9;hpb=611c96f1b845f602ce9dbdc154c6fe4425937b9b;p=modules%2Fyacs.git diff --git a/src/SALOMEDS/SALOMEDS_AttributeOpened_i.hxx b/src/SALOMEDS/SALOMEDS_AttributeOpened_i.hxx index a5b08df3e..0ad905ca6 100644 --- a/src/SALOMEDS/SALOMEDS_AttributeOpened_i.hxx +++ b/src/SALOMEDS/SALOMEDS_AttributeOpened_i.hxx @@ -30,24 +30,26 @@ #define SALOMEDS_AttributeOpened_i_HeaderFile // IDL headers - -#include "SALOMEDS_OpenedAttribute.hxx" #include #include CORBA_SERVER_HEADER(SALOMEDS_Attributes) + +#include "SALOMEDS_OpenedAttribute.hxx" #include "SALOMEDS_GenericAttribute_i.hxx" -class SALOMEDS_AttributeOpened_i: public virtual POA_SALOMEDS::AttributeOpened, - public virtual SALOMEDS_GenericAttribute_i { +DEFINE_DERIVED_ATTR(AttributeOpened,SALOMEDS_OpenedAttribute,false); + +class SALOMEDS_AttributeOpened_i: + public virtual POA_SALOMEDS::AttributeOpened, + public virtual SALOMEDS_TAttributeOpened_i +{ + DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributeOpened,SALOMEDS_OpenedAttribute); public: - - SALOMEDS_AttributeOpened_i(const Handle(SALOMEDS_OpenedAttribute)& theIntAttr, CORBA::ORB_ptr orb) - { - _myOrb = CORBA::ORB::_duplicate(orb); - _myAttr = theIntAttr; - }; - ~SALOMEDS_AttributeOpened_i() {}; CORBA::Boolean IsOpened(); void SetOpened(CORBA::Boolean value); + + char* Store(); + void Restore(const char*); + };