Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::CompactIdResolver Class Referenceabstract

The base class for a compact ID resolver. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::CompactIdResolver:
Inheritance graph
[legend]
Collaboration diagram for Ice::CompactIdResolver:
Collaboration graph
[legend]

Public Member Functions

virtual ::std::string resolve (Ice::Int id) const =0
 Called by the Ice run time when a compact ID must be translated into a type ID. More...
 
- Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
 
virtual void __decRef ()
 
virtual int __getRef () const
 
bool __hasFlag (unsigned char flag)
 
virtual void __incRef ()
 
void __setFlag (unsigned char flag)
 
virtual void __setNoDelete (bool)
 
Sharedoperator= (const Shared &)
 
 Shared ()
 
 Shared (const Shared &)
 
virtual ~Shared ()
 

Additional Inherited Members

- Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
 
- Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
 
IceUtilInternal::Atomic _ref
 

Detailed Description

The base class for a compact ID resolver.

Subclasses must implement resolve. The resolver can be installed via InitializationData.

Member Function Documentation

◆ resolve()

virtual ::std::string Ice::CompactIdResolver::resolve ( Ice::Int  id) const
pure virtual

Called by the Ice run time when a compact ID must be translated into a type ID.

Parameters
idThe compact ID.
Returns
The fully-scoped Slice type ID, or an empty string if the compact ID is unknown.

The documentation for this class was generated from the following file: