osg::CoredNodePtrBase Class Reference
[Field Container]

#include <OSGCoredNodePtr.h>

Inheritance diagram for osg::CoredNodePtrBase:
osg::CoredNodePtr< Core >

List of all members.

Public Member Functions

Constructors



 CoredNodePtrBase (void)
 CoredNodePtrBase (NodePtr node)
Destructor



virtual ~CoredNodePtrBase ()

Private Attributes

NodePtr _node

Access



NodePtr node (void) const
virtual NodeCorePtr getCoreV (void) const =0
void setNode (const NodePtr &node)
void setNode (const NullFieldContainerPtr &)

Detailed Description

Definition at line 59 of file OSGCoredNodePtr.h.


Constructor & Destructor Documentation

osg::CoredNodePtrBase::CoredNodePtrBase ( void   )  [inline]

Definition at line 50 of file OSGCoredNodePtr.inl.

00050                                        : _node(NullFC)
00051 {}

osg::CoredNodePtrBase::CoredNodePtrBase ( NodePtr  node  )  [inline]

Definition at line 54 of file OSGCoredNodePtr.inl.

References setNode().

00055 {
00056     setNode(node);
00057 }

osg::CoredNodePtrBase::~CoredNodePtrBase (  )  [inline, virtual]

Definition at line 60 of file OSGCoredNodePtr.inl.

References osg::NullFC, and setNode().

00061 {
00062     setNode(NullFC);
00063 }


Member Function Documentation

NodePtr osg::CoredNodePtrBase::node ( void   )  const [inline]
virtual NodeCorePtr osg::CoredNodePtrBase::getCoreV ( void   )  const [protected, pure virtual]

Implemented in osg::CoredNodePtr< Core >.

void osg::CoredNodePtrBase::setNode ( const NodePtr node  )  [inline, protected]
void osg::CoredNodePtrBase::setNode ( const NullFieldContainerPtr  )  [inline, protected]

Definition at line 87 of file OSGCoredNodePtr.inl.

References _node, osg::NullFC, and osg::subRefCP().

00088 {
00089     if(_node != NullFC)
00090         subRefCP(_node);
00091 
00092     _node = NullFC;
00093 }


Member Data Documentation

Definition at line 108 of file OSGCoredNodePtr.h.

Referenced by node(), and setNode().


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

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1