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

Represents an instance of an unknown type. More...

#include <Ice/Ice.h>

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

Public Member Functions

std::shared_ptr< UnknownSlicedValueice_clone () const
 Clones this object. More...
 
virtual SlicedDataPtr ice_getSlicedData () const override
 Obtains the sliced data associated with this instance. More...
 
virtual std::string ice_id () const override
 Determine the Slice type ID associated with this instance. More...
 
 UnknownSlicedValue (const std::string &unknownTypeId)
 Constructs the placeholder instance. More...
 
- Public Member Functions inherited from Ice::Value
std::shared_ptr< Valueice_clone () const
 Returns a shallow copy of the object. More...
 
virtual void ice_postUnmarshal ()
 The Ice run time invokes this method after unmarshaling an object's data members. More...
 
virtual void ice_preMarshal ()
 The Ice run time invokes this method prior to marshaling an object's data members. More...
 
Valueoperator= (const Value &)=default
 
Valueoperator= (Value &&)=default
 
 Value ()=default
 
 Value (const Value &)=default
 
 Value (Value &&)=default
 
virtual ~Value ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from Ice::Value
static const std::string & ice_staticId ()
 Obtains the Slice type ID of this type. More...
 

Detailed Description

Represents an instance of an unknown type.

Constructor & Destructor Documentation

◆ UnknownSlicedValue()

Ice::UnknownSlicedValue::UnknownSlicedValue ( const std::string &  unknownTypeId)

Constructs the placeholder instance.

Parameters
unknownTypeIdThe Slice type ID of the unknown value.

Member Function Documentation

◆ ice_clone()

std::shared_ptr<UnknownSlicedValue> Ice::UnknownSlicedValue::ice_clone ( ) const

Clones this object.

Returns
A new instance.

◆ ice_getSlicedData()

virtual SlicedDataPtr Ice::UnknownSlicedValue::ice_getSlicedData ( ) const
overridevirtual

Obtains the sliced data associated with this instance.

Returns
The sliced data if the value has a preserved-slice base class and has been sliced during unmarshaling of the value, or nil otherwise.

Reimplemented from Ice::Value.

◆ ice_id()

virtual std::string Ice::UnknownSlicedValue::ice_id ( ) const
overridevirtual

Determine the Slice type ID associated with this instance.

Returns
The type ID supplied to the constructor.

Reimplemented from Ice::Value.


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