iso::visual::PatchNodeData Class Reference

node data class More...

#include <iso_visual_patch.h>

List of all members.

Public Member Functions

template<typename DataType>
 PatchNodeData (DataType *pData)
 constructor (data wrap mode )
template<typename DataType>
 PatchNodeData (const DataType &pData)
 constructor (data copy mode)
virtual ~PatchNodeData ()
 destructor
template<typename DataType>
DataType * data () const throw (VisualException)
 retrieve wrapped data
bool ownData () const
 check if instance wraps a copied version of the data

Protected Attributes

data::DataWrapper mDataWrapper
 wrapped data
bool mOwnData
 flag indicating whether instance wraps copied version of data


Detailed Description

node data class

This class serves as temporary container for arbitrary data that is used in a patch


Constructor & Destructor Documentation

template<typename DataType>
iso::visual::PatchNodeData::PatchNodeData ( DataType *  pData  ) 

constructor (data wrap mode )

Parameters:
pData data that is contained within the instance
Remarks:
instance wraps the original data

template<typename DataType>
iso::visual::PatchNodeData::PatchNodeData ( const DataType &  pData  ) 

constructor (data copy mode)

Parameters:
pData data that is contained within the instance
Remarks:
instance wraps a copied version of the data

PatchNodeData::~PatchNodeData (  )  [virtual]

destructor


Member Function Documentation

template<typename DataType>
DataType * iso::visual::PatchNodeData::data (  )  const throw (VisualException)

retrieve wrapped data

Returns:
wrapped data
Exceptions:
VisualException type mismatch with wrapped data

bool PatchNodeData::ownData (  )  const

check if instance wraps a copied version of the data

Returns:
true if instance wraps copied version of the data, false otherwise


Member Data Documentation

data::DataWrapper iso::visual::PatchNodeData::mDataWrapper [protected]

wrapped data

bool iso::visual::PatchNodeData::mOwnData [protected]

flag indicating whether instance wraps copied version of data


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:23:41 2011 for iso visual by  doxygen 1.5.1