Ice 3.9
Slice API Reference
Loading...
Searching...
No Matches
Identity.ice
1// Copyright (c) ZeroC, Inc.
2
3#pragma once
4
5[["cpp:dll-export:ICE_API"]]
6[["cpp:doxygen:include:Ice/Ice.h"]]
7[["cpp:header-ext:h"]]
8
9[["cpp:no-default-include"]]
10[["cpp:include:Ice/Config.h"]]
11[["cpp:include:Ice/StreamHelpers.h"]]
12[["cpp:include:Ice/TupleCompare.h"]]
13[["cpp:include:string"]]
14[["cpp:include:vector"]]
15
16[["js:module:@zeroc/ice"]]
17
18/// The Ice RPC framework.
19#ifdef __ICERPC__
20["cs:identifier:IceRpc.Ice"]
21#endif
22["java:identifier:com.zeroc.Ice"]
23module Ice
24{
25 /// Represents the identity of an Ice object. It is comparable to the path of a URI. Its string representation is
26 /// `name` when the category is empty, and `category/name` when the category is not empty.
27 ["cpp:custom-print"]
28 struct Identity
29 {
30 /// The name of the Ice object. An empty name is not valid.
31 string name;
32
33 /// The category of the object.
34 string category = "";
35 }
36
37 /// A sequence of identities.
38 sequence<Identity> IdentitySeq;
39}
sequence< Identity > IdentitySeq
A sequence of identities.
Definition Identity.ice:38
The Ice RPC framework.
string name
The name of the Ice object. An empty name is not valid.
Definition Identity.ice:31
string category
The category of the object.
Definition Identity.ice:34
Represents the identity of an Ice object.
Definition Identity.ice:29