osg::NodeGraph::Path Class Reference

#include <OSGNodeGraph.h>

List of all members.

Public Member Functions

Constructors


 Path (void)
 Path (const Path &obj)
Class Specific


void add (int elem)
void clear (void)
void operator= (const Path &obj)

Public Attributes

int type
bool flip
std::list< int > path


Detailed Description

Definition at line 367 of file OSGNodeGraph.h.


Constructor & Destructor Documentation

osg::NodeGraph::Path::Path ( void   )  [inline]

Definition at line 379 of file OSGNodeGraph.h.

00380             : type(0), flip(false) {;}

osg::NodeGraph::Path::Path ( const Path obj  )  [inline]

Definition at line 381 of file OSGNodeGraph.h.

00382             : type(obj.type),flip(obj.flip),path(obj.path) {;}


Member Function Documentation

void osg::NodeGraph::Path::add ( int  elem  )  [inline]

Definition at line 389 of file OSGNodeGraph.h.

00390             { flip ? path.push_front(elem) : path.push_back(elem); }

void osg::NodeGraph::Path::clear ( void   )  [inline]

Definition at line 391 of file OSGNodeGraph.h.

00392             { path.clear(); flip = false; type = 0;}

void osg::NodeGraph::Path::operator= ( const Path obj  )  [inline]

Definition at line 393 of file OSGNodeGraph.h.

References flip, path, and type.

00394             { type = obj.type; flip = obj.flip; path = obj.path; }


Member Data Documentation

Definition at line 371 of file OSGNodeGraph.h.

Referenced by operator=().

Definition at line 372 of file OSGNodeGraph.h.

Referenced by operator=().

Definition at line 373 of file OSGNodeGraph.h.

Referenced by operator=().


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

Generated on Mon Mar 17 12:07:17 2008 for OpenSG by  doxygen 1.5.5