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

#include <UT_LinkList.h>

+ Inheritance diagram for UT_LinkList:

Public Member Functions

 UT_LinkList ()
 
virtual ~UT_LinkList ()
 
void swap (UT_LinkList &other)
 
virtual void reverse ()
 
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_LinkList (const UT_LinkList &)=delete
 
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 () 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 57 of file UT_LinkList.h.

Constructor & Destructor Documentation

UT_LinkList::UT_LinkList ( )
inline

Definition at line 61 of file UT_LinkList.h.

virtual UT_LinkList::~UT_LinkList ( )
virtual
UT_LinkList::UT_LinkList ( const UT_LinkList )
delete

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 ( ) const
protectedvirtual
void UT_LinkList::clear ( void  )
inline

Definition at line 136 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 171 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::head ( ) const
inline

Definition at line 115 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 140 of file UT_LinkList.h.

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

Definition at line 129 of file UT_LinkList.h.

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

Definition at line 130 of file UT_LinkList.h.

UT_LinkNode* UT_LinkList::iterateInit ( ) const
inline

Definition at line 120 of file UT_LinkList.h.

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

Definition at line 121 of file UT_LinkList.h.

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

Definition at line 125 of file UT_LinkList.h.

int UT_LinkList::length ( void  ) const
inline

Definition at line 139 of file UT_LinkList.h.

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

Definition at line 114 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 113 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 185 of file UT_LinkList.h.

virtual void UT_LinkList::reverse ( )
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 116 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 158 of file UT_LinkList.h.

Member Data Documentation

UT_LinkNode* UT_LinkList::stashHead
protected

Definition at line 180 of file UT_LinkList.h.


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