CExtrusivePtr.h File Reference

#include <polybori/pbori_defs.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  polybori

Classes

class  polybori::CExtrusivePtr< DataType, ValueType >
 This template class defines a reimplementation of the interface from boost:intrusive_ptr, but with an additional data field. More...

Functions

template<class Data1, class Type1, class Data2, class Type2>
bool polybori::operator== (const CExtrusivePtr< Data1, Type1 > &lhs, const CExtrusivePtr< Data2, Type2 > &rhs)
 Equality check.
template<class Data1, class Type1, class Data2, class Type2>
bool polybori::operator!= (const CExtrusivePtr< Data1, Type1 > &lhs, const CExtrusivePtr< Data2, Type2 > &rhs)
 Nonequality check.
template<class Data1, class Type1, class Type2>
bool polybori::operator== (const CExtrusivePtr< Data1, Type1 > &lhs, Type2 *rhs)
 Equality check wrt. pointer.
template<class Data1, class Type1, class Type2>
bool polybori::operator!= (const CExtrusivePtr< Data1, Type1 > &lhs, Type2 *rhs)
 Nonequality check wrt. pointer.
template<class Type1, class Data2, class Type2>
bool polybori::operator== (Type1 *lhs, const CExtrusivePtr< Data2, Type2 > &rhs)
 Equality check from a pointer.
template<class Type1, class Data2, class Type2>
bool polybori::operator!= (Type1 *lhs, const CExtrusivePtr< Data2, Type2 > &rhs)
 Nonequality check from a pointer.


Detailed Description

Author:
Alexander Dreyer
Date:
2010-08-24
This is essentially a reimplementation of the interface from boost:intrusive_ptr, but with an additional field for storing data, which might be used .

Copyright:
(c) 2010 by The PolyBoRi Team

Generated on Wed Jan 30 16:39:51 2013 for PolyBoRi by  doxygen 1.5.6