Tulip  4.7.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
ValueWrapper< PROPERTYTYPE, Type > Class Template Reference

#include <PropertyWrapper.h>

Public Member Functions

 ValueWrapper (PROPERTYTYPE *prop, tlp::node n)
 
 ValueWrapper (PROPERTYTYPE *prop, tlp::edge e)
 
 operator Type () const
 
void operator= (Type other)
 
void operator= (ValueWrapper< PROPERTYTYPE, Type > other)
 

Detailed Description

template<typename PROPERTYTYPE, typename Type>
class ValueWrapper< PROPERTYTYPE, Type >

simple implementation of the copy-on-write idiom.

Definition at line 35 of file PropertyWrapper.h.

Member Function Documentation

template<typename PROPERTYTYPE, typename Type>
ValueWrapper< PROPERTYTYPE, Type >::operator Type ( ) const
inline

Implicit conversion to Type.

Definition at line 54 of file PropertyWrapper.h.

+ Here is the call graph for this function:

template<typename PROPERTYTYPE, typename Type>
void ValueWrapper< PROPERTYTYPE, Type >::operator= ( ValueWrapper< PROPERTYTYPE, Type >  other)
inline

operator= when prop[n] = prop[n2]

Parameters
other

Definition at line 69 of file PropertyWrapper.h.

+ Here is the call graph for this function: