CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | List of all members
OdLinkedArray< T, A > Class Template Reference

#include <OdLinkedArray.h>

Classes

class  const_iterator
 
class  iterator
 
class  PAGE
 

Public Types

typedef A::size_type size_type
 

Public Member Functions

 OdLinkedArray (OdUInt32 pageSize=0x10)
 
 ~OdLinkedArray ()
 
void reserve (size_type)
 
void clear ()
 
void freeExtra ()
 
removeLast ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator find (const T &val)
 
const_iterator find (const T &val) const
 
bool contains (const T &val) const
 
void resize (size_type newSize)
 
iterator insert (iterator before, const T &val=T())
 
remove (iterator at)
 
void append (const T &value)
 
iterator append ()
 
T & first ()
 
const T & first () const
 
T & last ()
 
const T & last () const
 
bool empty () const
 
size_type size () const
 

Detailed Description

template<class T, class A = OdObjectsAllocator<T>>
class OdLinkedArray< T, A >

Definition at line 31 of file OdLinkedArray.h.

Member Typedef Documentation

◆ size_type

template<class T , class A = OdObjectsAllocator<T>>
typedef A::size_type OdLinkedArray< T, A >::size_type

Definition at line 34 of file OdLinkedArray.h.

Constructor & Destructor Documentation

◆ OdLinkedArray()

template<class T , class A = OdObjectsAllocator<T>>
OdLinkedArray< T, A >::OdLinkedArray ( OdUInt32  pageSize = 0x10)
inline

Definition at line 221 of file OdLinkedArray.h.

◆ ~OdLinkedArray()

template<class T , class A = OdObjectsAllocator<T>>
OdLinkedArray< T, A >::~OdLinkedArray ( )
inline

Definition at line 230 of file OdLinkedArray.h.

Member Function Documentation

◆ append() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
iterator OdLinkedArray< T, A >::append ( )
inline

Definition at line 658 of file OdLinkedArray.h.

◆ append() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
void OdLinkedArray< T, A >::append ( const T &  value)
inline

Definition at line 644 of file OdLinkedArray.h.

◆ begin() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
iterator OdLinkedArray< T, A >::begin ( )
inline

Definition at line 471 of file OdLinkedArray.h.

◆ begin() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
const_iterator OdLinkedArray< T, A >::begin ( ) const
inline

Definition at line 475 of file OdLinkedArray.h.

◆ clear()

template<class T , class A = OdObjectsAllocator<T>>
void OdLinkedArray< T, A >::clear ( )
inline

Definition at line 237 of file OdLinkedArray.h.

◆ contains()

template<class T , class A = OdObjectsAllocator<T>>
bool OdLinkedArray< T, A >::contains ( const T &  val) const
inline

Definition at line 511 of file OdLinkedArray.h.

◆ empty()

template<class T , class A = OdObjectsAllocator<T>>
bool OdLinkedArray< T, A >::empty ( ) const
inline

Definition at line 679 of file OdLinkedArray.h.

◆ end() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
iterator OdLinkedArray< T, A >::end ( )
inline

Definition at line 479 of file OdLinkedArray.h.

◆ end() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
const_iterator OdLinkedArray< T, A >::end ( ) const
inline

Definition at line 483 of file OdLinkedArray.h.

◆ find() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
iterator OdLinkedArray< T, A >::find ( const T &  val)
inline

Definition at line 490 of file OdLinkedArray.h.

◆ find() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
const_iterator OdLinkedArray< T, A >::find ( const T &  val) const
inline

Definition at line 500 of file OdLinkedArray.h.

◆ first() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
T& OdLinkedArray< T, A >::first ( )
inline

Definition at line 663 of file OdLinkedArray.h.

◆ first() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
const T& OdLinkedArray< T, A >::first ( ) const
inline

Definition at line 667 of file OdLinkedArray.h.

◆ freeExtra()

template<class T , class A = OdObjectsAllocator<T>>
void OdLinkedArray< T, A >::freeExtra ( )
inline

Definition at line 252 of file OdLinkedArray.h.

◆ insert()

template<class T , class A = OdObjectsAllocator<T>>
iterator OdLinkedArray< T, A >::insert ( iterator  before,
const T &  val = T() 
)
inline

Definition at line 579 of file OdLinkedArray.h.

◆ last() [1/2]

template<class T , class A = OdObjectsAllocator<T>>
T& OdLinkedArray< T, A >::last ( )
inline

Definition at line 671 of file OdLinkedArray.h.

◆ last() [2/2]

template<class T , class A = OdObjectsAllocator<T>>
const T& OdLinkedArray< T, A >::last ( ) const
inline

Definition at line 675 of file OdLinkedArray.h.

◆ remove()

template<class T , class A = OdObjectsAllocator<T>>
T OdLinkedArray< T, A >::remove ( iterator  at)
inline

Definition at line 618 of file OdLinkedArray.h.

◆ removeLast()

template<class T , class A = OdObjectsAllocator<T>>
T OdLinkedArray< T, A >::removeLast ( )
inline

Definition at line 265 of file OdLinkedArray.h.

◆ reserve()

template<class T , class A = OdObjectsAllocator<T>>
void OdLinkedArray< T, A >::reserve ( size_type  )
inline

Definition at line 235 of file OdLinkedArray.h.

◆ resize()

template<class T , class A = OdObjectsAllocator<T>>
void OdLinkedArray< T, A >::resize ( size_type  newSize)
inline

Definition at line 522 of file OdLinkedArray.h.

◆ size()

template<class T , class A = OdObjectsAllocator<T>>
size_type OdLinkedArray< T, A >::size ( ) const
inline

Definition at line 683 of file OdLinkedArray.h.


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