Ice 3.7 C++11 API Reference
|
Go to the documentation of this file.
5 #ifndef ICE_EXCEPTION_HELPERS_H
6 #define ICE_EXCEPTION_HELPERS_H
8 #ifdef ICE_CPP11_MAPPING // C++11 mapping
28 virtual std::string
ice_id()
const override
30 return T::ice_staticId();
44 virtual std::string
ice_id()
const override
46 return T::ice_staticId();
54 os->
startSlice(T::ice_staticId(), -1, std::is_same<B, Ice::LocalException>::value ?
true :
false);
55 Ice::StreamWriter<T, Ice::OutputStream>::write(os,
static_cast<const T&
>(*
this));
63 Ice::StreamReader<T, ::Ice::InputStream>::read(is,
static_cast<T&
>(*
this));
72 #endif // C++11 mapping end
void endSlice()
Marks the end of a value or exception slice.
Definition: OutputStream.h:294
Helper template for the implementation of Ice::LocalException.
Definition: ExceptionHelpers.h:23
Helper template for the implementation of Ice::UserException.
Definition: ExceptionHelpers.h:39
virtual std::string ice_id() const override
Definition: ExceptionHelpers.h:44
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
void startSlice(const std::string &typeId, int compactId, bool last)
Writes the start of a value or exception slice.
Definition: OutputStream.h:285
Definition: BuiltinSequences.h:56
Helper template for the implementation of Ice::Exception.
Definition: Exception.h:128
virtual std::string ice_id() const override
Definition: ExceptionHelpers.h:28