24 #if DtHLA_1516_EVOLVED
26 #include <RTI/RTI1516.h>
31 (std::ostream& os,
const rti1516e::ObjectInstanceHandle& handle);
35 (std::ostream& os,
const rti1516e::ObjectClassHandle& handle);
39 (std::ostream& os,
const rti1516e::InteractionClassHandle& handle);
43 (std::ostream& os,
const rti1516e::AttributeHandle& handle);
47 (std::ostream& os,
const rti1516e::ParameterHandle& handle);
51 (std::ostream& os,
const rti1516e::Exception& exception);
67 template <
typename HandleType,
typename MapType>
68 class CompatibleHandleValuePairSet
72 CompatibleHandleValuePairSet(MapType *AHVM);
73 CompatibleHandleValuePairSet(
const MapType *AHVM);
74 ~CompatibleHandleValuePairSet();
76 unsigned long size()
const ;
77 HandleType getHandle(
unsigned long i)
const ;
78 unsigned long getValueLength(
unsigned long i)
const ;
79 void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
80 char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
81 void add(HandleType h,
const char* buffer,
unsigned long valueLength);
82 void remove(HandleType h);
87 void updateCachedIterator(
unsigned long i)
const;
90 mutable int myLastPlace;
91 mutable typename MapType::iterator myLastMapPosition;
97 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
100 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
105 typedef unsigned long ULong;
112 #include <RTI/RTI1516.h>
117 (std::ostream& os,
const rti1516::ObjectInstanceHandle& handle);
121 (std::ostream& os,
const rti1516::ObjectClassHandle& handle);
125 (std::ostream& os,
const rti1516::InteractionClassHandle& handle);
129 (std::ostream& os,
const rti1516::AttributeHandle& handle);
133 (std::ostream& os,
const rti1516::ParameterHandle& handle);
137 (std::ostream& os,
const rti1516::Exception& exception);
153 template <
typename HandleType,
typename MapType>
162 inline unsigned long size()
const ;
163 inline HandleType
getHandle(
unsigned long i)
const ;
165 inline void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
166 inline char *
getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
167 inline void add(HandleType h,
const char* buffer,
unsigned long valueLength);
168 inline void remove(HandleType h);
196 #endif //DtHLA_1516_EVOLVED
198 #define INCLUDE_rtiCompataibility_inl_
199 #include "rtiCompatibility.inl"
200 #undef INCLUDE_rtiCompataibility_inl_
206 #if !defined(_WIN32) && !defined(RTI_USES_STD_FSTREAM) && !defined(__darwin__)