summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/InterfaceByValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/InterfaceByValue.h')
-rw-r--r--cpp/include/Ice/InterfaceByValue.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/include/Ice/InterfaceByValue.h b/cpp/include/Ice/InterfaceByValue.h
index 0ecbd872227..67cff4bc60a 100644
--- a/cpp/include/Ice/InterfaceByValue.h
+++ b/cpp/include/Ice/InterfaceByValue.h
@@ -19,20 +19,36 @@
namespace Ice
{
+/**
+ * Represents an instance of a Slice interface that was marshaled by value.
+ * \headerfile Ice/Ice.h
+ */
template<typename T>
class InterfaceByValue : public ValueHelper<InterfaceByValue<T>, 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();