HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_LinkList Class Reference

#include <UT_LinkList.h>

+ Inheritance diagram for UT_LinkList:

Public Member Functions

 UT_LinkList (void)
 
virtual ~UT_LinkList (void)
 
void swap (UT_LinkList &other)
 
virtual void reverse (void)
 
void append (UT_LinkNode *node)
 
void insert (UT_LinkNode *node, int where)
 
void insertBefore (UT_LinkNode *node, UT_LinkNode *before)
 
void insertAfter (UT_LinkNode *node, UT_LinkNode *after)
 
UT_LinkNoderemove (UT_LinkNode *node=0)
 
UT_LinkNoderemove (int nodeIdx)
 
void destroy (UT_LinkNode *node=0)
 
void destroy (int nodeIdx)
 
UT_LinkNodestash (UT_LinkNode *node=0)
 
UT_LinkNodestash (int nodeIdx)
 
UT_LinkNoderecall (UT_LinkNode *node=0)
 
UT_LinkNoderecall (UT_LinkNode *node, int nodeIdx)
 
int find (UT_LinkNode *node) const
 
UT_LinkNodefind (int nodeIdx) const
 
int inList (UT_LinkNode *node) const
 
UT_LinkNodeprev (UT_LinkNode *node) const
 
UT_LinkNodenext (UT_LinkNode *node) const
 
UT_LinkNodehead () const
 
UT_LinkNodetail () const
 
UT_LinkNodeiterateInit () const
 
UT_LinkNodeiterateNext (UT_LinkNode *curr) const
 
UT_LinkNodeiteratePrev (UT_LinkNode *curr) const
 
UT_LinkNodeiterateFastNext (UT_LinkNode *curr) const
 
UT_LinkNodeiterateFastPrev (UT_LinkNode *curr) const
 
void clearStashed ()
 
void clearActive ()
 
void clear ()
 
int length () const
 
int isEmpty () const
 
UT_LinkNodeapply (int(*applyFct)(UT_LinkNode *n, void *d), void *d)
 
UT_LinkListoperator= (UT_LinkList &src)
 
UT_LinkListoperator+= (UT_LinkList &src)
 

Protected Member Functions

UT_LinkNodeunStash (UT_LinkNode *node=0)
 
UT_LinkNodefirstStash () const
 
virtual const char * className (void) const
 
virtual void outTo (std::ostream &os) const
 
void reset ()
 

Protected Attributes

UT_LinkNodestashHead
 

Friends

std::ostream & operator<< (std::ostream &os, const UT_LinkList &v)
 

Detailed Description

Definition at line 54 of file UT_LinkList.h.

Constructor & Destructor Documentation

UT_LinkList::UT_LinkList ( void  )
inline

Definition at line 58 of file UT_LinkList.h.

virtual UT_LinkList::~UT_LinkList ( void  )
virtual

Member Function Documentation

void UT_LinkList::append ( UT_LinkNode node)
UT_LinkNode* UT_LinkList::apply ( int(*)(UT_LinkNode *n, void *d)  applyFct,
void d 
)
virtual const char* UT_LinkList::className ( void  ) const
protectedvirtual
void UT_LinkList::clear ( void  )
inline

Definition at line 133 of file UT_LinkList.h.

void UT_LinkList::clearActive ( )
void UT_LinkList::clearStashed ( )
void UT_LinkList::destroy ( UT_LinkNode node = 0)
void UT_LinkList::destroy ( int  nodeIdx)
int UT_LinkList::find ( UT_LinkNode node) const
UT_LinkNode* UT_LinkList::find ( int  nodeIdx) const
UT_LinkNode* UT_LinkList::firstStash ( ) const
inlineprotected

Definition at line 165 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::head ( ) const
inline

Definition at line 112 of file UT_LinkList.h.

int UT_LinkList::inList ( UT_LinkNode node) const
void UT_LinkList::insert ( UT_LinkNode node,
int  where 
)
void UT_LinkList::insertAfter ( UT_LinkNode node,
UT_LinkNode after 
)
void UT_LinkList::insertBefore ( UT_LinkNode node,
UT_LinkNode before 
)
int UT_LinkList::isEmpty ( ) const
inline

Definition at line 137 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iterateFastNext ( UT_LinkNode curr) const
inline

Definition at line 126 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iterateFastPrev ( UT_LinkNode curr) const
inline

Definition at line 127 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iterateInit ( void  ) const
inline

Definition at line 117 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iterateNext ( UT_LinkNode curr) const
inline

Definition at line 118 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iteratePrev ( UT_LinkNode curr) const
inline

Definition at line 122 of file UT_LinkList.h.

int UT_LinkList::length ( void  ) const
inline

Definition at line 136 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::next ( UT_LinkNode node) const
inline

Definition at line 111 of file UT_LinkList.h.

UT_LinkList& UT_LinkList::operator+= ( UT_LinkList src)
UT_LinkList& UT_LinkList::operator= ( UT_LinkList src)
virtual void UT_LinkList::outTo ( std::ostream &  os) const
protectedvirtual
UT_LinkNode* UT_LinkList::prev ( UT_LinkNode node) const
inline

Definition at line 110 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::recall ( UT_LinkNode node = 0)
UT_LinkNode* UT_LinkList::recall ( UT_LinkNode node,
int  nodeIdx 
)
UT_LinkNode* UT_LinkList::remove ( UT_LinkNode node = 0)
UT_LinkNode* UT_LinkList::remove ( int  nodeIdx)
void UT_LinkList::reset ( void  )
inlineprotected

Definition at line 179 of file UT_LinkList.h.

virtual void UT_LinkList::reverse ( void  )
virtual

Reimplemented in GD_TrimRegion.

UT_LinkNode* UT_LinkList::stash ( UT_LinkNode node = 0)
UT_LinkNode* UT_LinkList::stash ( int  nodeIdx)
void UT_LinkList::swap ( UT_LinkList other)
UT_LinkNode* UT_LinkList::tail ( ) const
inline

Definition at line 113 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::unStash ( UT_LinkNode node = 0)
protected

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const UT_LinkList v 
)
friend

Definition at line 152 of file UT_LinkList.h.

Member Data Documentation

UT_LinkNode* UT_LinkList::stashHead
protected

Definition at line 174 of file UT_LinkList.h.


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