clist< T > Class Template Reference

#include <mia/mesh/clist.hh>

Data Structures

struct  node
 

Public Types

typedef const nodeconst_iterator
 
typedef nodeiterator
 
typedef T value_type
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
 clist ()
 
iterator end ()
 
const_iterator end () const
 
void push_back (T val)
 
void remove (node *n)
 
int size ()
 
 ~clist ()
 

Detailed Description

template<class T>
class clist< T >

Definition at line 29 of file clist.hh.

Member Typedef Documentation

◆ const_iterator

template<class T >
typedef const node* clist< T >::const_iterator

Definition at line 55 of file clist.hh.

◆ iterator

template<class T >
typedef node* clist< T >::iterator

Definition at line 54 of file clist.hh.

◆ value_type

template<class T >
typedef T clist< T >::value_type

Definition at line 32 of file clist.hh.

Constructor & Destructor Documentation

◆ clist()

template<class T >
clist< T >::clist ( )
inline

Definition at line 58 of file clist.hh.

◆ ~clist()

template<class T >
clist< T >::~clist ( )
inline

Definition at line 61 of file clist.hh.

References clist< T >::node::succ.

Member Function Documentation

◆ begin() [1/2]

template<class T >
iterator clist< T >::begin ( )
inline

Definition at line 70 of file clist.hh.

Referenced by TPolyTriangulator< VertexVector, Polygon >::triangulate().

◆ begin() [2/2]

template<class T >
const_iterator clist< T >::begin ( ) const
inline

Definition at line 78 of file clist.hh.

◆ end() [1/2]

template<class T >
iterator clist< T >::end ( )
inline

Definition at line 74 of file clist.hh.

Referenced by TPolyTriangulator< VertexVector, Polygon >::triangulate().

◆ end() [2/2]

template<class T >
const_iterator clist< T >::end ( ) const
inline

Definition at line 82 of file clist.hh.

◆ push_back()

template<class T >
void clist< T >::push_back ( val)
inline

◆ remove()

template<class T >
void clist< T >::remove ( node n)
inline

◆ size()

template<class T >
int clist< T >::size ( )
inline

Definition at line 113 of file clist.hh.

References NS_MIA_END, and clist< T >::node::succ.


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