// // Copyright (c) ZeroC, Inc. All rights reserved. // #ifndef ICE_INTERFACE_BY_VALUE_H #define ICE_INTERFACE_BY_VALUE_H #include #include #include #ifdef ICE_CPP11_MAPPING namespace Ice { /** * Represents an instance of a Slice interface that was marshaled by value. * \headerfile Ice/Ice.h */ template class InterfaceByValue : public ValueHelper, Value> { public: /** * Obtains the Slice type ID of this exception. * @return The fully-scoped type ID. */ virtual std::string ice_id() const { return T::ice_staticId(); } /** * Obtains the Slice type ID of this exception. * @return The fully-scoped type ID. */ static const std::string& ice_staticId() { return T::ice_staticId(); } /** * Returns an empty tuple. * @return The empty tuple. */ std::tuple<> ice_tuple() const { return std::tie(); } }; } #endif #endif