library of assembled shared sources

http://lass.cocamware.com

lass::python::impl::PyShadowBase< CppBase, weak > Class Template Reference

#include <pyshadow_object.h>

Inheritance diagram for lass::python::impl::PyShadowBase< CppBase, weak >:

Inheritance graph
[legend]
Collaboration diagram for lass::python::impl::PyShadowBase< CppBase, weak >:

Collaboration graph
[legend]

Public Types

typedef void TCppClass

Public Member Functions

virtual ~PyShadowBase ()
CppBase * cppObject () const
const CppBase * constCppObject () const
virtual std::string doPyRepr (void)
virtual std::string doPyStr (void)

Static Public Member Functions

static bool invalidateBase (CppBase *iBase)
static bool trackShadow (PyShadowBaseTracked< CppBase > *iShadow)
static bool forgetShadow (PyShadowBaseTracked< CppBase > *iShadow)

Static Public Attributes

static bool doTracking = false
static std::set
< PyShadowBaseTracked< CppBase > * > * 
shadows_

Protected Types

enum  Ownership { oOwner, oBorrowed }

Protected Member Functions

 PyShadowBase (CppBase *iCppObject, Ownership iOwnership)

Protected Attributes

CppBase * cppObject_

Private Attributes

Ownership ownership_

Detailed Description

template<class CppBase, bool weak = false>
class lass::python::impl::PyShadowBase< CppBase, weak >

Definition at line 116 of file pyshadow_object.h.


Member Typedef Documentation

typedef void lass::python::PyObjectPlus::TCppClass [inherited]

Definition at line 414 of file pyobject_plus.h.


Member Enumeration Documentation

template<class CppBase , bool weak = false>
enum lass::python::impl::PyShadowBase::Ownership [protected]

Enumerator:
oOwner 
oBorrowed 

Definition at line 138 of file pyshadow_object.h.


Constructor & Destructor Documentation

template<class CppBase , bool weak = false>
virtual lass::python::impl::PyShadowBase< CppBase, weak >::~PyShadowBase (  )  [inline, virtual]

template<class CppBase , bool weak = false>
lass::python::impl::PyShadowBase< CppBase, weak >::PyShadowBase ( CppBase *  iCppObject,
Ownership  iOwnership 
) [inline, protected]


Member Function Documentation

template<class CppBase , bool weak = false>
CppBase* lass::python::impl::PyShadowBase< CppBase, weak >::cppObject (  )  const [inline]

template<class CppBase , bool weak = false>
const CppBase* lass::python::impl::PyShadowBase< CppBase, weak >::constCppObject (  )  const [inline]

template<class CppBase >
static bool lass::python::impl::PyShadowBaseTracked< CppBase >::invalidateBase ( CppBase *  iBase  )  [inline, static, inherited]

template<class CppBase >
static bool lass::python::impl::PyShadowBaseTracked< CppBase >::trackShadow ( PyShadowBaseTracked< CppBase > *  iShadow  )  [inline, static, inherited]

template<class CppBase >
static bool lass::python::impl::PyShadowBaseTracked< CppBase >::forgetShadow ( PyShadowBaseTracked< CppBase > *  iShadow  )  [inline, static, inherited]

virtual std::string lass::python::PyObjectPlus::doPyRepr ( void   )  [inline, virtual, inherited]

virtual std::string lass::python::PyObjectPlus::doPyStr ( void   )  [inline, virtual, inherited]


Field Documentation

template<class CppBase , bool weak = false>
bool lass::python::impl::PyShadowBase< CppBase, weak >::doTracking = false [inline, static]

Definition at line 135 of file pyshadow_object.h.

template<class CppBase , bool weak = false>
Ownership lass::python::impl::PyShadowBase< CppBase, weak >::ownership_ [private]

template<class CppBase >
std::set< PyShadowBaseTracked< CppBase > * > * lass::python::impl::PyShadowBaseTracked< CppBase >::shadows_ [inline, static, inherited]

template<class CppBase >
CppBase* lass::python::impl::PyShadowBaseTracked< CppBase >::cppObject_ [protected, inherited]


The documentation for this class was generated from the following file:

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo