16#ifndef __Ice_Identity_h__
17#define __Ice_Identity_h__
31#ifndef ICE_IGNORE_VERSION
32# if ICE_INT_VERSION / 100 != 307
33# error Ice version mismatch!
35# if ICE_INT_VERSION % 100 >= 50
36# error Beta header file detected
38# if ICE_INT_VERSION % 100 < 11
39# error Ice patch level mismatch!
44# if defined(ICE_STATIC_LIBS)
46# elif defined(ICE_API_EXPORTS)
47# define ICE_API ICE_DECLSPEC_EXPORT
49# define ICE_API ICE_DECLSPEC_IMPORT
53#ifdef ICE_CPP11_MAPPING
81 std::tuple<const ::std::string&, const ::std::string&> ice_tuple()
const
90using ObjectDict = ::std::map<Identity, ::std::shared_ptr<Object>>;
100using Ice::operator>=;
101using Ice::operator==;
102using Ice::operator!=;
111struct StreamableTraits<::Ice::Identity>
113 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
114 static const int minWireSize = 2;
115 static const bool fixedLength =
false;
119struct StreamReader<::Ice::Identity, S>
121 static void read(S* istr, ::Ice::Identity& v)
160 if(
name != rhs_.name)
181 else if(rhs_.name <
name)
233 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
234 static const int minWireSize = 2;
235 static const bool fixedLength =
false;
239struct StreamWriter< ::Ice::Identity, S>
241 static void write(S* ostr, const ::Ice::Identity& v)
244 ostr->write(v.category);
249struct StreamReader< ::Ice::Identity, S>
251 static void read(S* istr, ::Ice::Identity& v)
Definition BuiltinSequences.h:113
::std::vector< Identity > IdentitySeq
A sequence of identities.
Definition Identity.h:222
::std::map< Identity, ObjectPtr > ObjectDict
A mapping between identities and Ice objects.
Definition Identity.h:217
The identity of an Ice object.
Definition Identity.h:144
bool operator>=(const Identity &rhs_) const
Definition Identity.h:208
bool operator==(const Identity &rhs_) const
Definition Identity.h:154
bool operator!=(const Identity &rhs_) const
Definition Identity.h:196
::std::string category
The Ice object category.
Definition Identity.h:152
bool operator<=(const Identity &rhs_) const
Definition Identity.h:200
::std::string name
The name of the Ice object.
Definition Identity.h:148
bool operator<(const Identity &rhs_) const
Definition Identity.h:171
bool operator>(const Identity &rhs_) const
Definition Identity.h:204