ON_SurfaceArray Class Reference

#include <opennurbs_surface.h>

Inheritance diagram for ON_SurfaceArray:
ON_SimpleArray< ON_Surface *>

Public Member Functions

 ON_SurfaceArray (int=0)
 
 ~ON_SurfaceArray ()
 
void Destroy ()
 
bool Duplicate (ON_SurfaceArray &) const
 
bool Read (ON_BinaryArchive &)
 
bool Write (ON_BinaryArchive &) const
 
- Public Member Functions inherited from ON_SimpleArray< ON_Surface *>
 ON_SimpleArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_SimpleArray (const ON_SimpleArray< ON_Surface * > &)
 Copy constructor. More...
 
 ON_SimpleArray (size_t)
 
virtual ~ON_SimpleArray ()
 
void Append (const ON_Surface * &)
 
void Append (int, const ON_Surface * *)
 
ON_Surface * & AppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_Surface * * Array ()
 
const ON_Surface * * Array () const
 
ON_Surface * * At (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
ON_Surface * * At (unsigned int)
 
ON_Surface * * At (ON__INT64)
 
ON_Surface * * At (ON__UINT64)
 
const ON_Surface * * At (int) const
 
const ON_Surface * * At (unsigned int) const
 
const ON_Surface * * At (ON__INT64) const
 
const ON_Surface * * At (ON__UINT64) const
 
int BinarySearch (const ON_Surface * *, int(*)(const ON_Surface * *, const ON_Surface * *)) const
 
int BinarySearch (const ON_Surface * *, int(*)(const ON_Surface * *, const ON_Surface * *), int) const
 
int Capacity () const
 
int Count () const
 query /////////////////////////////////////////////////////////////// More...
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Destroy ()
 
void EmergencyDestroy (void)
 emergency bailout /////////////////////////////////////////////////// More...
 
void Empty ()
 
ON_Surface * * First ()
 
const ON_Surface * * First () const
 
bool HeapSort (int(*)(const ON_Surface * *, const ON_Surface * *))
 
void Insert (int, const ON_Surface * &)
 
ON_Surface * * KeepArray ()
 Expert user tool to take charge of the memory used by the dyanmic array. More...
 
ON_Surface * * Last ()
 
const ON_Surface * * Last () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 operator const ON_Surface * * () const
 
 operator ON_Surface ** ()
 
ON_SimpleArray< ON_Surface * > & operator= (const ON_SimpleArray< ON_Surface * > &)
 
ON_Surface * & operator[] (int)
 
ON_Surface * & operator[] (unsigned int)
 
ON_Surface * & operator[] (ON__INT64)
 
ON_Surface * & operator[] (ON__UINT64)
 
const ON_Surface * & operator[] (int) const
 
const ON_Surface * & operator[] (unsigned int) const
 
const ON_Surface * & operator[] (ON__INT64) const
 
const ON_Surface * & operator[] (ON__UINT64) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_Surface * *, const ON_Surface * *))
 
virtual ON_Surface * * Realloc (ON_Surface * *, int)
 low level memory managment ////////////////////////////////////////// More...
 
void Remove ()
 
virtual void Remove (int)
 
ON_Surface * * Reserve (size_t)
 memory managment //////////////////////////////////////////////////// More...
 
void Reverse ()
 
int Search (const ON_Surface * &) const
 
int Search (const ON_Surface * *, int(*)(const ON_Surface * *, const ON_Surface * *)) const
 
void SetArray (ON_Surface * *)
 Do not use this version of SetArray(). Use the one that takes a pointer, count and capacity. More...
 
void SetArray (ON_Surface * *, int, int)
 Expert user tool to set the memory used by the dyanmic array. More...
 
ON_Surface * * SetCapacity (size_t)
 
void SetCount (int)
 low level memory managment ////////////////////////////////////////// More...
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
unsigned int SizeOfElement () const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_Surface * *, const ON_Surface * *)) const
 Sort() fills in the index[] array so that array[index[i]] <= array[index[i+1]]. The array is not modified. More...
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_Surface * *, const ON_Surface * *, void *), void *) const
 Sort() fills in the index[] array so that array[index[i]] <= array[index[i+1]]. The array is not modified. More...
 
void Swap (int, int)
 
unsigned int UnsignedCount () const
 
void Zero ()
 

Additional Inherited Members

- Protected Member Functions inherited from ON_SimpleArray< ON_Surface *>
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_SimpleArray< ON_Surface *>
ON_Surface * * m_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_SurfaceArray()

ON_SurfaceArray::ON_SurfaceArray ( int  = 0)

◆ ~ON_SurfaceArray()

ON_SurfaceArray::~ON_SurfaceArray ( )

Member Function Documentation

◆ Destroy()

void ON_SurfaceArray::Destroy ( )

◆ Duplicate()

bool ON_SurfaceArray::Duplicate ( ON_SurfaceArray ) const

◆ Read()

bool ON_SurfaceArray::Read ( ON_BinaryArchive )

◆ Write()

bool ON_SurfaceArray::Write ( ON_BinaryArchive ) const