12 #ifndef DtAttributeHandleSet_H_
13 #define DtAttributeHandleSet_H_
27 #if defined(DtIFSPEC13)
38 #if !defined(DtIFSPEC13)
58 #if defined(DtIFSPEC13)
59 virtual RTI::ULong
size()
const;
61 virtual unsigned long size()
const;
65 #if defined(DtIFSPEC13)
66 virtual RTI::AttributeHandle
getHandle(RTI::ULong i)
const
67 throw (RTI::ArrayIndexOutOfBounds);
73 #if defined(DtIFSPEC13)
74 virtual void add(RTI::AttributeHandle h)
76 RTI::ArrayIndexOutOfBounds,
77 RTI::AttributeNotDefined);
86 #if defined(DtIFSPEC13)
87 virtual void remove(RTI::AttributeHandle h)
88 throw (RTI::AttributeNotDefined);
97 #if defined(DtIFSPEC13)
98 virtual RTI::Boolean
isEmpty()
const;
105 #if defined(DtIFSPEC13)
106 virtual RTI::Boolean
isMember(RTI::AttributeHandle h)
const;
118 #if defined(DtIFSPEC13)
123 virtual void encode(
char *buff)
const;
125 virtual void print()
const;
128 #if !defined(DtIFSPEC13)
140 virtual bool active()
const;
virtual void fillHandleSet(RTI_API::AttributeHandleSet &attrSet) const
virtual unsigned long encodedLength() const
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:29
virtual void add(DtAttributeHandle h)
Add new value.
virtual void setClassHandle(DtObjectClassHandle handle)
virtual DtAttributeHandleSet removeSetIntersection(const DtAttributeHandleSet &) const
virtual DtAttributeHandle getHandle(unsigned long i) const
Get ith handle.
DtAttributeHandleStdSet myHandles
Definition: attrHandSet.h:148
virtual bool active() const
Set/Get active/passive status for subscribed attributes.
virtual DtAttributeHandleSet setUnion(const DtAttributeHandleSet &) const
virtual DtAttributeHandleSet setIntersection(const DtAttributeHandleSet &) const
DtAttributeHandleSet(DtObjectClassHandle handle=0)
Constructor.
virtual unsigned long size() const
Cardinality of the set.
virtual void encode(char *buff) const
DtHandle DtObjectClassHandle
Definition: internalTypes.h:48
DtAttributeHandleSet & operator=(const DtAttributeHandleSet &orig)
Assignment operator.
Defines the internal representation of attribute/parameter handle sets.
Definition: attrHandSet.h:30
virtual DtObjectClassHandle classHandle() const
Additional methods for internal RTI implementation.
virtual ~DtAttributeHandleSet()
Destructor.
bool myActive
Definition: attrHandSet.h:150
DtObjectClassHandle myClassHandle
Definition: attrHandSet.h:149
virtual void setActive(bool isActive)
virtual bool isEmpty() const
is set empty?
virtual DtAttributeHandleStdSet & impl()
Return the internal representation.
Definition: attrHandSet.h:155
DtHandle DtAttributeHandle
Definition: internalTypes.h:54
DtAttributeHandleSet DtParameterHandleSet
Definition: attrHandSet.h:153
virtual bool isMember(DtAttributeHandle h) const
Is handle h in the set?
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
std::set< DtAttributeHandle > DtAttributeHandleStdSet
Definition: internalTypes.h:55
virtual void print() const
The declaration of internal types.
virtual bool isEmptySet() const
Definition: objClassInfo.h:36
static DtAttributeHandleSet * decode(const char *buff)
virtual void empty()
Empty the Set.