ERC CISST - cisst software

mtsGenericObjectProxy< _elementType > Class Template Reference

Inheritance diagram for mtsGenericObjectProxy< _elementType >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType>
class mtsGenericObjectProxy< _elementType >

Definition at line 253 of file mtsGenericObjectProxy.h.

Public Types

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

template<class _elementType>
mtsGenericObjectProxy< _elementType >::mtsGenericObjectProxy ( void   )  [inline]

Default constructor. The data member is initialized using its default constructor.

Definition at line 267 of file mtsGenericObjectProxy.h.

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

Copy constructor.

Definition at line 273 of file mtsGenericObjectProxy.h.

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

Conversion constructor. This allows to construct the proxy object using an object of the actual type. This method will set the Valid flag to true.

Definition at line 280 of file mtsGenericObjectProxy.h.


Member Function Documentation

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

Return pointer to data

Implements mtsGenericObjectProxyBase< _elementType >.

Definition at line 289 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data.

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

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

Definition at line 293 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxyBase< _elementType >::Assign().

template<class _elementType>
ThisType& mtsGenericObjectProxy< _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 301 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data.

template<class _elementType>
mtsGenericObjectProxy< _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 311 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data.

template<class _elementType>
mtsGenericObjectProxy< _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 314 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data.

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

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

Reimplemented from mtsGenericObject.

Definition at line 320 of file mtsGenericObjectProxy.h.

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

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

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

Reimplemented from mtsGenericObject.

Definition at line 326 of file mtsGenericObjectProxy.h.

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

template<class _elementType>
virtual void mtsGenericObjectProxy< _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 333 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data, and mtsGenericObject::ToStream().

template<class _elementType>
virtual void mtsGenericObjectProxy< _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 339 of file mtsGenericObjectProxy.h.

References mtsGenericObjectProxy< _elementType >::Data, and mtsGenericObject::ToStreamRaw().


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