Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT > Class Template Reference

#include <OSGFieldContainerPtrImpl.h>

List of all members.

Public Types

typedef FieldContainerTypeT StoredObjectType
typedef ConstFCPtr ObjectType
typedef BasePtrTypeT Inherited
typedef FCPtr< typename FieldContainerTypeT::Ptr::Inherited,
FieldContainerTypeT > 
NCFCPtr
typedef ConstFCPtr< BasePtrTypeT,
FieldContainerTypeT > 
Self

Public Member Functions

 OSG_PROPERTY_REQUIREMENT (BasePtrTypeT, ConstPointer)
Constructors
ConstFCPtr (void)
 ConstFCPtr (const NullFieldContainerPtr &)
 ConstFCPtr (const NCFCPtr &source)
 ConstFCPtr (const ConstFCPtr &source)
Destructor
~ConstFCPtr (void)
Container Access
*const FieldContainerTypeT * operator-> (void)
const FieldContainerTypeT * operator-> (void) const
const FieldContainerTypeT & operator * (void)
const FieldContainerTypeT & operator * (void) const
const FieldContainerTypeT * getCPtr (void)
const FieldContainerTypeT * getCPtr (void) const
Assignment
*void operator= (const NCFCPtr &)
void operator= (const ConstFCPtr &source)
void operator= (const NullFieldContainerPtr &source)
Container Constructors
ConstFCPtr (const FieldContainerTypeT &source)
 Container Constructor, used to work around MS Bugs, use them only if you really now what you are doing ;-).
 ConstFCPtr (const FieldContainerTypeT *source)
 Container Constructor, used to work around MS Bugs, use them only if you really now what you are doing ;-).

Protected Member Functions

Internal Constructors
ConstFCPtr (const FieldContainerTypeT *source, const UInt16 uiSize, const UInt16 uiParentPos)

Friends

class FieldContainer


Detailed Description

template<class BasePtrTypeT, class FieldContainerTypeT>
class osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >

Template to construct custom data store pointers

Definition at line 674 of file OSGFieldContainerPtrImpl.h.


Member Typedef Documentation

template<class BasePtrTypeT, class FieldContainerTypeT>
typedef FieldContainerTypeT osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::StoredObjectType
 

Definition at line 682 of file OSGFieldContainerPtrImpl.h.

template<class BasePtrTypeT, class FieldContainerTypeT>
typedef ConstFCPtr osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ObjectType
 

Definition at line 683 of file OSGFieldContainerPtrImpl.h.

template<class BasePtrTypeT, class FieldContainerTypeT>
typedef BasePtrTypeT osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::Inherited
 

Definition at line 685 of file OSGFieldContainerPtrImpl.h.

template<class BasePtrTypeT, class FieldContainerTypeT>
typedef FCPtr<typename FieldContainerTypeT::Ptr::Inherited, FieldContainerTypeT > osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::NCFCPtr
 

Definition at line 688 of file OSGFieldContainerPtrImpl.h.

template<class BasePtrTypeT, class FieldContainerTypeT>
typedef ConstFCPtr<BasePtrTypeT, FieldContainerTypeT> osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::Self
 

Definition at line 691 of file OSGFieldContainerPtrImpl.h.


Constructor & Destructor Documentation

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr void   )  [inline]
 

Definition at line 948 of file OSGFieldContainerPtrImpl.inl.

00948                                                               :
00949     Inherited()
00950 {
00951 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const NullFieldContainerPtr  )  [inline]
 

Definition at line 955 of file OSGFieldContainerPtrImpl.inl.

00956                                               :
00957 
00958     Inherited()
00959 {
00960 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const NCFCPtr source  )  [inline]
 

Definition at line 964 of file OSGFieldContainerPtrImpl.inl.

00964                                                                  :
00965 
00966     Inherited(source)
00967 {
00968 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const ConstFCPtr< BasePtrTypeT, FieldContainerTypeT > &  source  )  [inline]
 

Definition at line 972 of file OSGFieldContainerPtrImpl.inl.

00972                                                                     :
00973 
00974     Inherited(source)
00975 {
00976 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::~ConstFCPtr void   )  [inline]
 

Definition at line 982 of file OSGFieldContainerPtrImpl.inl.

00983 {
00984 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const FieldContainerTypeT &  source  )  [inline, explicit]
 

Definition at line 1090 of file OSGFieldContainerPtrImpl.inl.

01090                                                                             :
01091 
01092     Inherited(source)
01093 {
01094 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const FieldContainerTypeT *  source  )  [inline, explicit]
 

Definition at line 1098 of file OSGFieldContainerPtrImpl.inl.

01098                                                                             :
01099 
01100     Inherited(source)
01101 {
01102 }

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::ConstFCPtr const FieldContainerTypeT *  source,
const UInt16  uiSize,
const UInt16  uiParentPos
[inline, protected]
 

Definition at line 1105 of file OSGFieldContainerPtrImpl.inl.

01108                                              :
01109 
01110     Inherited(source, uiSize, uiParentEPos)
01111 {
01112 }


Member Function Documentation

template<class BasePtrTypeT, class FieldContainerTypeT>
osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::OSG_PROPERTY_REQUIREMENT BasePtrTypeT  ,
ConstPointer 
 

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT * osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator-> void   )  [inline]
 

Definition at line 991 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

00992 {
00993 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
00994     return (const FieldContainerTypeT *) Self::getElemP(Thread::getAspect());
00995 #else
00996     return (const FieldContainerTypeT *) Self::getFirstElemP();
00997 #endif
00998 }

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT * osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator-> void   )  const [inline]
 

Definition at line 1002 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

01004 {
01005 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
01006     return (const FieldContainerTypeT *) Self::getElemP(Thread::getAspect());
01007 #else
01008     return (const FieldContainerTypeT *) Self::getFirstElemP();
01009 #endif
01010 }

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT & osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator * void   )  [inline]
 

Definition at line 1014 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

01015 {
01016 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
01017    return *((const FieldContainerTypeT *) Self::getElemP(Thread::getAspect()));
01018 #else
01019    return *((const FieldContainerTypeT *) Self::getFirstElemP());
01020 #endif
01021 }

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT & osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator * void   )  const [inline]
 

Definition at line 1025 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

01027 {
01028 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
01029    return *((const FieldContainerTypeT *) Self::getElemP(Thread::getAspect()));
01030 #else
01031    return *((const FieldContainerTypeT *) Self::getFirstElemP());
01032 #endif
01033 }

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT * osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::getCPtr void   )  [inline]
 

Definition at line 1038 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

01040 {
01041 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
01042     return (const FieldContainerTypeT *) Self::getElemP(Thread::getAspect());
01043 #else
01044     return (const FieldContainerTypeT *) Self::getFirstElemP();
01045 #endif
01046 }

template<class BasePtrTypeT, class FieldContainerTypeT>
const FieldContainerTypeT * osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::getCPtr void   )  const [inline]
 

Definition at line 1050 of file OSGFieldContainerPtrImpl.inl.

References osg::PThreadBase::getAspect().

01051 {
01052 #if !defined(OSG_DEBUG_NO_FCPTR_ARITHM) 
01053     return (const FieldContainerTypeT *) Self::getElemP(Thread::getAspect());
01054 #else
01055     return (const FieldContainerTypeT *) Self::getFirstElemP();
01056 #endif
01057 }

template<class BasePtrTypeT, class FieldContainerTypeT>
void osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator= const NCFCPtr  )  [inline]
 

Definition at line 1064 of file OSGFieldContainerPtrImpl.inl.

01065 {
01066     // copy parts inherited from parent
01067     *(static_cast<Inherited *>(this)) = source;
01068 }

template<class BasePtrTypeT, class FieldContainerTypeT>
void osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator= const ConstFCPtr< BasePtrTypeT, FieldContainerTypeT > &  source  )  [inline]
 

Definition at line 1072 of file OSGFieldContainerPtrImpl.inl.

01073 {
01074     // copy parts inherited from parent
01075     *(static_cast<Inherited *>(this)) = source;
01076 }

template<class BasePtrTypeT, class FieldContainerTypeT>
void osg::ConstFCPtr< BasePtrTypeT, FieldContainerTypeT >::operator= const NullFieldContainerPtr source  )  [inline]
 

Definition at line 1079 of file OSGFieldContainerPtrImpl.inl.

01081 {
01082     Self::setNull();
01083 }


Friends And Related Function Documentation

template<class BasePtrTypeT, class FieldContainerTypeT>
friend class FieldContainer [friend]
 

Definition at line 760 of file OSGFieldContainerPtrImpl.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 25 04:13:44 2005 for OpenSG by  doxygen 1.4.3