ERC CISST - cisst software

mtsGenericObjectProxyRef< _elementType > Class Template Reference

Inheritance diagram for mtsGenericObjectProxyRef< _elementType >:

Inheritance graph
[legend]
Collaboration diagram for mtsGenericObjectProxyRef< _elementType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType>
class mtsGenericObjectProxyRef< _elementType >

Definition at line 353 of file mtsGenericObjectProxy.h.

Public Types

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

template<class _elementType>
mtsGenericObjectProxyRef< _elementType >::mtsGenericObjectProxyRef ( const ThisType other  )  [inline]

Copy constructor.

Definition at line 369 of file mtsGenericObjectProxy.h.

template<class _elementType>
mtsGenericObjectProxyRef< _elementType >::mtsGenericObjectProxyRef ( value_type data  )  [inline]

Conversion constructor. This allows to construct the proxy object using an object of the actual type.

Definition at line 375 of file mtsGenericObjectProxy.h.


Member Function Documentation

template<class _elementType>
value_type& mtsGenericObjectProxyRef< _elementType >::GetData ( void   )  [inline, virtual]

Return pointer to data

Implements mtsGenericObjectProxyBase< _elementType >.

Definition at line 392 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData.

Referenced by cmnConditionalObjectFactory< CMN_DYNAMIC_CREATION, mtsGenericObjectProxy< _elementType > >::Create(), and cmnConditionalObjectFactory< CMN_DYNAMIC_CREATION, mtsGenericObjectProxy< _elementType > >::CreateArray().

template<class _elementType>
ThisType& mtsGenericObjectProxyRef< _elementType >::operator= ( const BaseType data  )  [inline]

Conversion assignment, from base type (i.e., Proxy or ProxyRef) to ProxyRef.

Definition at line 396 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyBase< _elementType >::Assign().

template<class _elementType>
ThisType& mtsGenericObjectProxyRef< _elementType >::operator= ( value_type  data  )  [inline]

Conversion assignment. This allows to assign from an object of the actual type without explicitly referencing the public data member "Data".

Definition at line 404 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData.

template<class _elementType>
mtsGenericObjectProxyRef< _elementType >::operator value_type & ( void   )  [inline]

Cast operator. This allows to assign to an object of the actual type without explicitly referencing the public data member "Data".

Definition at line 414 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData.

template<class _elementType>
mtsGenericObjectProxyRef< _elementType >::operator const value_type & ( void   )  const [inline]

Cast operator. This allows to assign to an object of the actual type without explicitly referencing the public data member "Data".

Definition at line 417 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData.

template<class _elementType>
void mtsGenericObjectProxyRef< _elementType >::SerializeRaw ( std::ostream &  outputStream  )  const [inline, virtual]

Serialization. Relies on the specialization, if any, of cmnSerializeRaw.

Reimplemented from mtsGenericObject.

Definition at line 423 of file mtsGenericObjectProxy.h.

References cmnSerializeRaw(), and mtsGenericObject::SerializeRaw().

template<class _elementType>
void mtsGenericObjectProxyRef< _elementType >::DeSerializeRaw ( std::istream &  inputStream  )  [inline, virtual]

DeSerialization. Relies on the specialization, if any, of cmnDeSerializeRaw.

Reimplemented from mtsGenericObject.

Definition at line 429 of file mtsGenericObjectProxy.h.

References cmnDeSerializeRaw(), and mtsGenericObject::DeSerializeRaw().

template<class _elementType>
virtual void mtsGenericObjectProxyRef< _elementType >::ToStream ( std::ostream &  outputStream  )  const [inline, virtual]

To stream method. Uses the default << operator as defined for the actual type.

Reimplemented from mtsGenericObject.

Definition at line 436 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData, and mtsGenericObject::ToStream().

template<class _elementType>
virtual void mtsGenericObjectProxyRef< _elementType >::ToStreamRaw ( std::ostream &  outputStream,
const char  delimiter = ' ',
bool  headerOnly = false,
const std::string &  headerPrefix = "" 
) const [inline, virtual]

To stream raw data.

Reimplemented from mtsGenericObject.

Definition at line 442 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyRef< _elementType >::rData, and mtsGenericObject::ToStreamRaw().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu