CFx SDK Documentation  2020SP3
Classes | Public Types | Public Member Functions | Static Protected Member Functions | List of all members
OdUnidirectionalList< T, A, Mm > Class Template Reference

#include <OdUnidirectionalList.h>

Classes

class  ConstIterator
 
class  Iterator
 

Public Types

typedef A::size_type size_type
 
typedef Iterator iterator
 
typedef ConstIterator const_iterator
 

Public Member Functions

 OdUnidirectionalList ()
 
 OdUnidirectionalList (const OdUnidirectionalList &list)
 
 ~OdUnidirectionalList ()
 
OdUnidirectionalListoperator= (const OdUnidirectionalList &list)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_type size () const
 
bool isEmpty () const
 
iterator insertAfter (const_iterator it, const T &value=T())
 
iterator insertAtBegin (const T &value=T())
 
iterator removeAfter (const_iterator it)
 
void clear ()
 
bool find (iterator &it, iterator &prevIt, const T &value, const_iterator prevStartIt=const_iterator()) const
 
bool find (iterator &it, const T &value) const
 
template<class P >
bool findIf (iterator &it, iterator &prevIt, P pred, const_iterator prevStartIt=const_iterator()) const
 
template<class P >
bool findIf (iterator &it, P pred) const
 
bool operator== (const OdUnidirectionalList &list) const
 

Static Protected Member Functions

static SNode * createNode ()
 
static SNode * createNode (const T &value)
 
static void destroyNode (SNode *pNode)
 
static SNode * copyList (SNode *pNode)
 

Detailed Description

template<class T, class A, class Mm>
class OdUnidirectionalList< T, A, Mm >

This class declares the unidirectional list. Corresponding C++ library: TD_Db <group Other_Classes>

Definition at line 39 of file OdUnidirectionalList.h.

Member Typedef Documentation

◆ const_iterator

template<class T , class A , class Mm >
typedef ConstIterator OdUnidirectionalList< T, A, Mm >::const_iterator

Definition at line 196 of file OdUnidirectionalList.h.

◆ iterator

template<class T , class A , class Mm >
typedef Iterator OdUnidirectionalList< T, A, Mm >::iterator

Definition at line 195 of file OdUnidirectionalList.h.

◆ size_type

template<class T , class A , class Mm >
typedef A::size_type OdUnidirectionalList< T, A, Mm >::size_type

Definition at line 194 of file OdUnidirectionalList.h.

Constructor & Destructor Documentation

◆ OdUnidirectionalList() [1/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::OdUnidirectionalList
inline

Definition at line 249 of file OdUnidirectionalList.h.

◆ OdUnidirectionalList() [2/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::OdUnidirectionalList ( const OdUnidirectionalList< T, A, Mm > &  list)
inline

Definition at line 255 of file OdUnidirectionalList.h.

◆ ~OdUnidirectionalList()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::~OdUnidirectionalList
inline

Definition at line 261 of file OdUnidirectionalList.h.

Member Function Documentation

◆ begin() [1/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::iterator OdUnidirectionalList< T, A, Mm >::begin
inline

Definition at line 341 of file OdUnidirectionalList.h.

◆ begin() [2/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::const_iterator OdUnidirectionalList< T, A, Mm >::begin
inline

Definition at line 347 of file OdUnidirectionalList.h.

◆ clear()

template<class T , class A , class Mm >
void OdUnidirectionalList< T, A, Mm >::clear
inline

Definition at line 443 of file OdUnidirectionalList.h.

◆ copyList()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::SNode * OdUnidirectionalList< T, A, Mm >::copyList ( SNode *  pNode)
inlinestaticprotected

Definition at line 317 of file OdUnidirectionalList.h.

◆ createNode() [1/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::SNode * OdUnidirectionalList< T, A, Mm >::createNode
inlinestaticprotected

Definition at line 281 of file OdUnidirectionalList.h.

◆ createNode() [2/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::SNode * OdUnidirectionalList< T, A, Mm >::createNode ( const T &  value)
inlinestaticprotected

Definition at line 294 of file OdUnidirectionalList.h.

◆ destroyNode()

template<class T , class A , class Mm >
void OdUnidirectionalList< T, A, Mm >::destroyNode ( SNode *  pNode)
inlinestaticprotected

Definition at line 307 of file OdUnidirectionalList.h.

◆ end() [1/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::iterator OdUnidirectionalList< T, A, Mm >::end
inline

Definition at line 353 of file OdUnidirectionalList.h.

◆ end() [2/2]

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::const_iterator OdUnidirectionalList< T, A, Mm >::end
inline

Definition at line 359 of file OdUnidirectionalList.h.

◆ find() [1/2]

template<class T , class A , class Mm >
bool OdUnidirectionalList< T, A, Mm >::find ( iterator it,
const T &  value 
) const
inline

Definition at line 467 of file OdUnidirectionalList.h.

◆ find() [2/2]

template<class T , class A , class Mm >
bool OdUnidirectionalList< T, A, Mm >::find ( iterator it,
iterator prevIt,
const T &  value,
const_iterator  prevStartIt = const_iterator() 
) const
inline

Definition at line 460 of file OdUnidirectionalList.h.

◆ findIf() [1/2]

template<class T , class A , class Mm >
template<class P >
bool OdUnidirectionalList< T, A, Mm >::findIf ( iterator it,
iterator prevIt,
pred,
const_iterator  prevStartIt = const_iterator() 
) const
inline

Definition at line 474 of file OdUnidirectionalList.h.

◆ findIf() [2/2]

template<class T , class A , class Mm >
template<class P >
bool OdUnidirectionalList< T, A, Mm >::findIf ( iterator it,
pred 
) const
inline

Definition at line 501 of file OdUnidirectionalList.h.

◆ insertAfter()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::iterator OdUnidirectionalList< T, A, Mm >::insertAfter ( const_iterator  it,
const T &  value = T() 
)
inline

Definition at line 377 of file OdUnidirectionalList.h.

◆ insertAtBegin()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::iterator OdUnidirectionalList< T, A, Mm >::insertAtBegin ( const T &  value = T())
inline

Definition at line 400 of file OdUnidirectionalList.h.

◆ isEmpty()

template<class T , class A , class Mm >
bool OdUnidirectionalList< T, A, Mm >::isEmpty
inline

Definition at line 371 of file OdUnidirectionalList.h.

◆ operator=()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm > & OdUnidirectionalList< T, A, Mm >::operator= ( const OdUnidirectionalList< T, A, Mm > &  list)
inline

Definition at line 267 of file OdUnidirectionalList.h.

◆ operator==()

template<class T , class A , class Mm >
bool OdUnidirectionalList< T, A, Mm >::operator== ( const OdUnidirectionalList< T, A, Mm > &  list) const
inline

Definition at line 522 of file OdUnidirectionalList.h.

◆ removeAfter()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::iterator OdUnidirectionalList< T, A, Mm >::removeAfter ( const_iterator  it)
inline

Definition at line 413 of file OdUnidirectionalList.h.

◆ size()

template<class T , class A , class Mm >
OdUnidirectionalList< T, A, Mm >::size_type OdUnidirectionalList< T, A, Mm >::size
inline

Definition at line 365 of file OdUnidirectionalList.h.


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