Go to the documentation of this file.
27#ifndef __SALOMEDS_ATTRIBUTES__H__
28#define __SALOMEDS_ATTRIBUTES__H__
95#define __CreateCORBAAttribute(CORBA_Name) else if (strcmp(aTypeOfAttribute, #CORBA_Name) == 0) { \
96 SALOMEDSImpl_##CORBA_Name* A = dynamic_cast<SALOMEDSImpl_##CORBA_Name*>(theAttr); \
97 SALOMEDS_##CORBA_Name##_i* Attr = new SALOMEDS_##CORBA_Name##_i(A, theOrb); \
98 attr_servant = Attr; \
99 anAttribute = Attr->CORBA_Name::_this(); \
103#define __CreateGenericCORBAAttribute \
105__CreateCORBAAttribute(AttributeReal) \
106__CreateCORBAAttribute(AttributeInteger) \
107__CreateCORBAAttribute(AttributeSequenceOfReal) \
108__CreateCORBAAttribute(AttributeSequenceOfInteger) \
109__CreateCORBAAttribute(AttributeName) \
110__CreateCORBAAttribute(AttributeComment) \
111__CreateCORBAAttribute(AttributeIOR) \
112__CreateCORBAAttribute(AttributePixMap) \
113__CreateCORBAAttribute(AttributeLocalID) \
114__CreateCORBAAttribute(AttributeTableOfInteger) \
115__CreateCORBAAttribute(AttributeTableOfReal) \
116__CreateCORBAAttribute(AttributeTableOfString) \
117__CreateCORBAAttribute(AttributePythonObject) \
118__CreateCORBAAttribute(AttributePersistentRef) \
119__CreateCORBAAttribute(AttributeDrawable) \
120__CreateCORBAAttribute(AttributeSelectable) \
121__CreateCORBAAttribute(AttributeExpandable) \
122__CreateCORBAAttribute(AttributeOpened) \
123__CreateCORBAAttribute(AttributeTextColor) \
124__CreateCORBAAttribute(AttributeTextHighlightColor) \
125__CreateCORBAAttribute(AttributeTarget) \
126__CreateCORBAAttribute(AttributeStudyProperties) \
127__CreateCORBAAttribute(AttributeExternalFileDef) \
128__CreateCORBAAttribute(AttributeFileType) \
129__CreateCORBAAttribute(AttributeFlags) \
130__CreateCORBAAttribute(AttributeGraphic) \
131__CreateCORBAAttribute(AttributeTreeNode) \
132__CreateCORBAAttribute(AttributeUserID) \
133__CreateCORBAAttribute(AttributeParameter) \
134__CreateCORBAAttribute(AttributeString)