library of assembled shared sources

http://lass.cocamware.com

lass::python::impl::ShadowTraits< T > Struct Template Reference

#include <pyshadow_object.h>


Data Structures

struct  Impl
struct  Impl< U, false >

Public Types

enum  { isShadow = IsShadowClass<T>::value }
typedef Impl< T, isShadow >
::TCppClass 
TCppClass
typedef int(* TPyGetSimpleObjectByCopy )(PyObject *iObject, TCppClass &oByCopy)
typedef int(* TPyGetSimpleObjectByBorrow )(PyObject *iObject, TCppClass *&oByBorrow)

Static Public Member Functions

static TCppClasscppObject (PyObject *iPyObject)
static const TCppClassconstCppObject (PyObject *iPyObject)
static T * pyObject (TCppClass *iCppObject)

Static Public Attributes

static std::vector
< TPyGetSimpleObjectByCopy
byCopyGetters
static std::vector
< TPyGetSimpleObjectByBorrow
byBorrowGetters


Detailed Description

template<typename T>
struct lass::python::impl::ShadowTraits< T >

Definition at line 194 of file pyshadow_object.h.


Member Typedef Documentation

template<typename T >
typedef Impl<T, isShadow>::TCppClass lass::python::impl::ShadowTraits< T >::TCppClass

Definition at line 240 of file pyshadow_object.h.

template<typename T >
typedef int(* lass::python::impl::ShadowTraits< T >::TPyGetSimpleObjectByCopy)(PyObject *iObject, TCppClass &oByCopy)

template<typename T >
typedef int(* lass::python::impl::ShadowTraits< T >::TPyGetSimpleObjectByBorrow)(PyObject *iObject, TCppClass *&oByBorrow)


Member Enumeration Documentation

template<typename T >
anonymous enum

Enumerator:
isShadow 

Definition at line 239 of file pyshadow_object.h.


Member Function Documentation

template<typename T >
static TCppClass* lass::python::impl::ShadowTraits< T >::cppObject ( PyObject *  iPyObject  )  [inline, static]

template<typename T >
static const TCppClass* lass::python::impl::ShadowTraits< T >::constCppObject ( PyObject *  iPyObject  )  [inline, static]

template<typename T >
static T* lass::python::impl::ShadowTraits< T >::pyObject ( TCppClass iCppObject  )  [inline, static]


Field Documentation

template<typename T >
std::vector< typename ShadowTraits< T >::TPyGetSimpleObjectByCopy > lass::python::impl::ShadowTraits< T >::byCopyGetters [inline, static]

Definition at line 245 of file pyshadow_object.h.

template<typename T >
std::vector< typename ShadowTraits< T >::TPyGetSimpleObjectByBorrow > lass::python::impl::ShadowTraits< T >::byBorrowGetters [inline, static]

Definition at line 246 of file pyshadow_object.h.


The documentation for this struct 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