QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_ObjectArray< T > Class Template Reference

#include <opennurbs_array.h>

Inheritance diagram for ON_ObjectArray< T >:
ON_ClassArray< T >

Public Member Functions

ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
bool HeapSort (int(*)(const T *, const T *))
 
 ON_ObjectArray ()
 
 ON_ObjectArray (const ON_ObjectArray< T > &)
 
 ON_ObjectArray (int)
 
ON_ObjectArray< T > & operator= (const ON_ObjectArray< T > &)
 
bool QuickSort (int(*)(const T *, const T *))
 
T * Realloc (T *, int)
 
 ~ON_ObjectArray ()
 
- Public Member Functions inherited from ON_ClassArray< T >
void Append (const T &)
 
void Append (int, const T *)
 
T & AppendNew ()
 
T * Array ()
 
const T * Array () const
 
T * At (int)
 
const T * At (int) const
 
int BinarySearch (const T *, int(*)(const T *, const T *)) const
 
int Capacity () const
 
int Count () const
 
void Destroy ()
 
void EmergencyDestroy (void)
 
void Empty ()
 
T * First ()
 
const T * First () const
 
void Insert (int, const T &)
 
T * KeepArray ()
 
T * Last ()
 
const T * Last () const
 
int NewCapacity () const
 
 ON_ClassArray ()
 
 ON_ClassArray (const ON_ClassArray< T > &)
 
 ON_ClassArray (int)
 
 operator const T * () const
 
 operator T* ()
 
ON_ClassArray< T > & operator= (const ON_ClassArray< T > &)
 
T & operator[] (int)
 
const T & operator[] (int) const
 
bool Permute (const int *)
 
void Remove ()
 
void Remove (int)
 
void Reserve (int)
 
void Reverse ()
 
int Search (const T *, int(*)(const T *, const T *)) const
 
void SetArray (T *)
 
void SetCapacity (int)
 
void SetCount (int)
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const T *, const T *)) const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const T *, const T *, void *), void *) const
 
void Swap (int, int)
 
void Zero ()
 
virtual ~ON_ClassArray ()
 

Additional Inherited Members

- Protected Member Functions inherited from ON_ClassArray< T >
void ConstructDefaultElement (T *)
 
void DestroyElement (T &)
 
void Move (int, int, int)
 
- Protected Attributes inherited from ON_ClassArray< T >
T * m_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_ObjectArray() [1/3]

template<class T >
ON_ObjectArray< T >::ON_ObjectArray ( )

◆ ~ON_ObjectArray()

template<class T >
ON_ObjectArray< T >::~ON_ObjectArray ( )

◆ ON_ObjectArray() [2/3]

template<class T >
ON_ObjectArray< T >::ON_ObjectArray ( int c)

◆ ON_ObjectArray() [3/3]

template<class T >
ON_ObjectArray< T >::ON_ObjectArray ( const ON_ObjectArray< T > & src)

Member Function Documentation

◆ DataCRC()

template<class T >
ON__UINT32 ON_ObjectArray< T >::DataCRC ( ON__UINT32 current_remainder) const

◆ HeapSort()

template<class T >
bool ON_ObjectArray< T >::HeapSort ( int(*)(const T *, const T *) compar)
virtual

Reimplemented from ON_ClassArray< T >.

◆ operator=()

template<class T >
ON_ObjectArray< T > & ON_ObjectArray< T >::operator= ( const ON_ObjectArray< T > & src)

◆ QuickSort()

template<class T >
bool ON_ObjectArray< T >::QuickSort ( int(*)(const T *, const T *) compar)
virtual

Reimplemented from ON_ClassArray< T >.

◆ Realloc()

template<class T >
T * ON_ObjectArray< T >::Realloc ( T * ptr,
int capacity )
virtual

Reimplemented from ON_ClassArray< T >.


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