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!=;
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)
171 bool operator<(
const Identity& rhs_)
const
181 else if(rhs_.name <
name)
204 bool operator>(
const Identity& rhs_)
const
217typedef ::std::map<Identity, ObjectPtr>
ObjectDict;
231struct StreamableTraits< ::Ice::Identity>
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:56
bool operator>(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:160
::std::map< Identity, ::std::shared_ptr< Object > > ObjectDict
A mapping between identities and Ice objects.
Definition Identity.h:90
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:136
bool operator<=(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:148
bool operator>=(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:172
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:184
bool operator!=(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition Comparable.h:196
::std::vector< Identity > IdentitySeq
A sequence of identities.
Definition Identity.h:95
The identity of an Ice object.
Definition Identity.h:67
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the struct's data members.
Definition Identity.h:81
::std::string category
The Ice object category.
Definition Identity.h:75
::std::string name
The name of the Ice object.
Definition Identity.h:71