library of assembled shared sources

http://lass.cocamware.com

lass::python::PyObjectStorage< T, Cascade > Class Template Reference
[Python]

Recommended storage policy for single PyObject objects, implementation of StoragePolicy concept. More...

#include <pyobject_plus.h>

Inheritance diagram for lass::python::PyObjectStorage< T, Cascade >:

Inheritance graph
[legend]
Collaboration diagram for lass::python::PyObjectStorage< T, Cascade >:

Collaboration graph
[legend]

Public Types

typedef PyObjectStorage< T,
Cascade
TSelf
typedef T * TStorage
typedef T * TPointer
typedef T & TReference

Public Member Functions

TStoragestorage ()
const TStoragestorage () const

Protected Member Functions

 PyObjectStorage ()
 PyObjectStorage (T *pointee)
 PyObjectStorage (const PyObjectStorage &other)
template<typename U >
 PyObjectStorage (const PyObjectStorage< U, Cascade > &other)
TPointer pointer () const
void dispose ()
bool isNull () const
void swap (TSelf &other)

Static Protected Member Functions

static TStorage defaultStorage ()

Private Attributes

TStorage storage_

Detailed Description

template<typename T, typename Cascade = meta::EmptyType>
class lass::python::PyObjectStorage< T, Cascade >

Recommended storage policy for single PyObject objects, implementation of StoragePolicy concept.

Author:
Tom De Muer [TDM]
See also:
ObjectStorage

Definition at line 466 of file pyobject_plus.h.


Member Typedef Documentation

template<typename T , typename Cascade = meta::EmptyType>
typedef PyObjectStorage<T, Cascade> lass::python::PyObjectStorage< T, Cascade >::TSelf

Definition at line 470 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
typedef T* lass::python::PyObjectStorage< T, Cascade >::TStorage

Definition at line 471 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
typedef T* lass::python::PyObjectStorage< T, Cascade >::TPointer

Definition at line 472 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
typedef T& lass::python::PyObjectStorage< T, Cascade >::TReference

Definition at line 473 of file pyobject_plus.h.


Constructor & Destructor Documentation

template<typename T , typename Cascade = meta::EmptyType>
lass::python::PyObjectStorage< T, Cascade >::PyObjectStorage (  )  [inline, protected]

Definition at line 480 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
lass::python::PyObjectStorage< T, Cascade >::PyObjectStorage ( T *  pointee  )  [inline, explicit, protected]

Definition at line 481 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
lass::python::PyObjectStorage< T, Cascade >::PyObjectStorage ( const PyObjectStorage< T, Cascade > &  other  )  [inline, protected]

Definition at line 482 of file pyobject_plus.h.

template<typename T , typename Cascade = meta::EmptyType>
template<typename U >
lass::python::PyObjectStorage< T, Cascade >::PyObjectStorage ( const PyObjectStorage< U, Cascade > &  other  )  [inline, protected]

Definition at line 483 of file pyobject_plus.h.


Member Function Documentation

template<typename T , typename Cascade = meta::EmptyType>
TStorage& lass::python::PyObjectStorage< T, Cascade >::storage (  )  [inline]

template<typename T , typename Cascade = meta::EmptyType>
const TStorage& lass::python::PyObjectStorage< T, Cascade >::storage (  )  const [inline]

template<typename T , typename Cascade = meta::EmptyType>
TPointer lass::python::PyObjectStorage< T, Cascade >::pointer (  )  const [inline, protected]

template<typename T , typename Cascade = meta::EmptyType>
void lass::python::PyObjectStorage< T, Cascade >::dispose (  )  [inline, protected]

template<typename T , typename Cascade = meta::EmptyType>
bool lass::python::PyObjectStorage< T, Cascade >::isNull (  )  const [inline, protected]

template<typename T , typename Cascade = meta::EmptyType>
void lass::python::PyObjectStorage< T, Cascade >::swap ( TSelf other  )  [inline, protected]

template<typename T , typename Cascade = meta::EmptyType>
static TStorage lass::python::PyObjectStorage< T, Cascade >::defaultStorage (  )  [inline, static, protected]

Definition at line 489 of file pyobject_plus.h.


Field Documentation

template<typename T , typename Cascade = meta::EmptyType>
TStorage lass::python::PyObjectStorage< T, Cascade >::storage_ [private]


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

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