X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDS%2FSALOMEDS_AttributeTableOfInteger_i.hxx;h=03f996572cb77d113e25bcaaf9e43fb4c8174a98;hb=bd0aa83cc3573de6b62b2a56e168dd372097bd45;hp=6b3ca5238be6df314781b0bb805929cf913a04a3;hpb=b9d614a9b0642314cda41b09f92912483034922f;p=modules%2Fkernel.git diff --git a/src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.hxx b/src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.hxx index 6b3ca5238..03f996572 100644 --- a/src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.hxx +++ b/src/SALOMEDS/SALOMEDS_AttributeTableOfInteger_i.hxx @@ -12,25 +12,21 @@ #ifndef SALOMEDS_AttributeTableOfInteger_i_HeaderFile #define SALOMEDS_AttributeTableOfInteger_i_HeaderFile -// IDL headers #include "SALOMEDS_TableOfIntegerAttribute.hxx" +#include "SALOMEDS_GenericAttribute_i.hxx" + +// IDL headers #include #include CORBA_SERVER_HEADER(SALOMEDS_Attributes) -#include "SALOMEDS_GenericAttribute_i.hxx" -class SALOMEDS_AttributeTableOfInteger_i: public virtual POA_SALOMEDS::AttributeTableOfInteger, - public virtual SALOMEDS_GenericAttribute_i { - -public: - - SALOMEDS_AttributeTableOfInteger_i(const Handle(SALOMEDS_TableOfIntegerAttribute)& theTableOfIntegerAttr, - CORBA::ORB_ptr orb) - { - _myOrb = CORBA::ORB::_duplicate(orb); - _myAttr = theTableOfIntegerAttr; - }; - ~SALOMEDS_AttributeTableOfInteger_i() {}; +DEFINE_DERIVED_ATTR(AttributeTableOfInteger,SALOMEDS_TableOfIntegerAttribute,true); +class SALOMEDS_AttributeTableOfInteger_i: + public virtual POA_SALOMEDS::AttributeTableOfInteger, + public virtual SALOMEDS_TAttributeTableOfInteger_i +{ + DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributeTableOfInteger,SALOMEDS_TableOfIntegerAttribute); +public: virtual void SetTitle(const char* theTitle); virtual char* GetTitle(); virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)