Version: 7.8.0
SALOMEDSImpl_Attributes.hxx File Reference
#include "SALOMEDSImpl_Defines.hxx"
#include <iostream>
#include "SALOMEDSImpl_GenericAttribute.hxx"
#include "SALOMEDSImpl_AttributeName.hxx"
#include "SALOMEDSImpl_AttributeComment.hxx"
#include "SALOMEDSImpl_AttributeInteger.hxx"
#include "SALOMEDSImpl_AttributeReal.hxx"
#include "SALOMEDSImpl_AttributeTreeNode.hxx"
#include "SALOMEDSImpl_AttributeUserID.hxx"
#include "SALOMEDSImpl_AttributeReference.hxx"
#include "SALOMEDSImpl_AttributeSequenceOfReal.hxx"
#include "SALOMEDSImpl_AttributeSequenceOfInteger.hxx"
#include "SALOMEDSImpl_AttributeIOR.hxx"
#include "SALOMEDSImpl_AttributePersistentRef.hxx"
#include "SALOMEDSImpl_AttributeDrawable.hxx"
#include "SALOMEDSImpl_AttributeSelectable.hxx"
#include "SALOMEDSImpl_AttributeExpandable.hxx"
#include "SALOMEDSImpl_AttributeOpened.hxx"
#include "SALOMEDSImpl_AttributeTextColor.hxx"
#include "SALOMEDSImpl_AttributeTextHighlightColor.hxx"
#include "SALOMEDSImpl_AttributePixMap.hxx"
#include "SALOMEDSImpl_AttributeLocalID.hxx"
#include "SALOMEDSImpl_AttributeTarget.hxx"
#include "SALOMEDSImpl_AttributeTableOfInteger.hxx"
#include "SALOMEDSImpl_AttributeTableOfReal.hxx"
#include "SALOMEDSImpl_AttributeTableOfString.hxx"
#include "SALOMEDSImpl_AttributeStudyProperties.hxx"
#include "SALOMEDSImpl_AttributePythonObject.hxx"
#include "SALOMEDSImpl_AttributeExternalFileDef.hxx"
#include "SALOMEDSImpl_AttributeFileType.hxx"
#include "SALOMEDSImpl_AttributeFlags.hxx"
#include "SALOMEDSImpl_AttributeGraphic.hxx"
#include "SALOMEDSImpl_AttributeParameter.hxx"
#include "SALOMEDSImpl_AttributeString.hxx"
Include dependency graph for SALOMEDSImpl_Attributes.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  LockProtection
 

Macros

#define __AttributeTypeToGUIDForSObject
 
#define __FindOrCreateAttributeLocked(ClassName)
 
#define __FindOrCreateAttribute(ClassName)
 
#define __FindOrCreateAttributeForBuilder
 

Macro Definition Documentation

#define __AttributeTypeToGUIDForSObject
#define __FindOrCreateAttribute (   ClassName)
Value:
if (strcmp(aTypeOfAttribute.c_str(), #ClassName) == 0) { \
SALOMEDSImpl_##ClassName* anAttr; \
if (!(anAttr=(SALOMEDSImpl_##ClassName*)Lab.FindAttribute(SALOMEDSImpl_##ClassName::GetID()))) { \
anAttr = new SALOMEDSImpl_##ClassName; \
Lab.AddAttribute(anAttr); \
} \
return anAttr; \
}
#define __FindOrCreateAttributeForBuilder
#define __FindOrCreateAttributeLocked (   ClassName)
Value:
if (strcmp(aTypeOfAttribute.c_str(), #ClassName) == 0) { \
SALOMEDSImpl_##ClassName* anAttr; \
if (!(anAttr=(SALOMEDSImpl_##ClassName*)Lab.FindAttribute(SALOMEDSImpl_##ClassName::GetID()))) { \
CheckLocked(); \
anAttr = new SALOMEDSImpl_##ClassName; \
Lab.AddAttribute(anAttr); \
} \
return anAttr; \
}