Rhino C++ API  7.21
Public Member Functions | List of all members
ON_BrepRegionArray Class Reference

#include <opennurbs_brep.h>

Inheritance diagram for ON_BrepRegionArray:
ON_ObjectArray< ON_BrepRegion > ON_ClassArray< ON_BrepRegion >

Public Member Functions

 ON_BrepRegionArray ()
 
 ~ON_BrepRegionArray ()
 
bool Read (ON_BinaryArchive &)
 
unsigned int SizeOf () const
 
bool Write (ON_BinaryArchive &) const
 
- Public Member Functions inherited from ON_ObjectArray< ON_BrepRegion >
 ON_ObjectArray ()
 Class ON_ObjectArray<> More...
 
 ON_ObjectArray (const ON_ObjectArray< ON_BrepRegion > &)
 
 ON_ObjectArray (size_t)
 size_t parameter = initial capacity More...
 
 ~ON_ObjectArray ()
 override for struct member deallocation, etc. More...
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
bool HeapSort (int(*)(const ON_BrepRegion *, const ON_BrepRegion *))
 
ON_ObjectArray< ON_BrepRegion > & operator= (const ON_ObjectArray< ON_BrepRegion > &)
 
bool QuickSort (int(*)(const ON_BrepRegion *, const ON_BrepRegion *))
 
ON_BrepRegionRealloc (ON_BrepRegion *, int)
 
- Public Member Functions inherited from ON_ClassArray< ON_BrepRegion >
 ON_ClassArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_ClassArray (const ON_ClassArray< ON_BrepRegion > &)
 Copy constructor. More...
 
 ON_ClassArray (size_t)
 size_t parameter = initial capacity More...
 
virtual ~ON_ClassArray ()
 override for struct member deallocation, etc. More...
 
void Append (const ON_BrepRegion &)
 
void Append (int, const ON_BrepRegion *)
 Append copy of an array T[count]. More...
 
ON_BrepRegionAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_BrepRegionArray ()
 The Array() function return the. More...
 
const ON_BrepRegionArray () const
 m_a pointer value. More...
 
ON_BrepRegionAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
const ON_BrepRegionAt (int) const
 
ON_BrepRegionAt (ON__INT64)
 
const ON_BrepRegionAt (ON__INT64) const
 
ON_BrepRegionAt (ON__UINT64)
 
const ON_BrepRegionAt (ON__UINT64) const
 
ON_BrepRegionAt (unsigned int)
 
const ON_BrepRegionAt (unsigned int) const
 
int BinarySearch (const ON_BrepRegion *, int(*)(const ON_BrepRegion *, const ON_BrepRegion *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
int BinarySearch (const ON_BrepRegion *, int(*)(const ON_BrepRegion *, const ON_BrepRegion *), int) const
 
int Capacity () const
 capacity of array More...
 
int Count () const
 query /////////////////////////////////////////////////////////////// More...
 
void Destroy ()
 onfree any memory and set count and capacity to zero More...
 
void EmergencyDestroy (void)
 emergency bailout /////////////////////////////////////////////////// More...
 
void Empty ()
 Sets count to 0, leaves capacity untouched. More...
 
ON_BrepRegionFirst ()
 
const ON_BrepRegionFirst () const
 returns nullptr if count = 0 More...
 
void Insert (int, const ON_BrepRegion &)
 Insert called with a reference uses operator =. More...
 
int InsertInSortedList (const ON_BrepRegion &, int(*)(const ON_BrepRegion *, const ON_BrepRegion *))
 
int InsertInSortedList (const ON_BrepRegion &, int(*)(const ON_BrepRegion *, const ON_BrepRegion *), int)
 
ON_BrepRegionKeepArray ()
 
ON_BrepRegionLast ()
 
const ON_BrepRegionLast () const
 returns nullptr if count = 0 More...
 
int NewCapacity () const
 
 operator const ON_BrepRegion * () const
 
 operator ON_BrepRegion * ()
 The cast operators return a pointer. More...
 
ON_ClassArray< ON_BrepRegion > & operator= (const ON_ClassArray< ON_BrepRegion > &)
 Assignment operator. More...
 
ON_BrepRegionoperator[] (int)
 
const ON_BrepRegionoperator[] (int) const
 
ON_BrepRegionoperator[] (ON__INT64)
 
const ON_BrepRegionoperator[] (ON__INT64) const
 
ON_BrepRegionoperator[] (ON__UINT64)
 
const ON_BrepRegionoperator[] (ON__UINT64) const
 
ON_BrepRegionoperator[] (unsigned int)
 
const ON_BrepRegionoperator[] (unsigned int) const
 
bool Permute (const int *)
 
void Remove ()
 
void Remove (int)
 
ON_BrepRegionReserve (size_t)
 memory managment ///////////////////////////////////////////////// More...
 
void Reverse ()
 reverse order More...
 
int Search (const ON_BrepRegion *, int(*)(const ON_BrepRegion *, const ON_BrepRegion *)) const
 
void SetArray (ON_BrepRegion *)
 
void SetArray (ON_BrepRegion *, int, int)
 
ON_BrepRegionSetCapacity (size_t)
 
void SetCount (int)
 low level memory managment ////////////////////////////////////////// More...
 
void Shrink ()
 remove unused capacity More...
 
unsigned int SizeOfArray () const
 amount of memory in the m_a[] array More...
 
unsigned int SizeOfElement () const
 amount of memory in an m_a[] array element More...
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_BrepRegion *, const ON_BrepRegion *)) const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_BrepRegion *, const ON_BrepRegion *, void *), void *) const
 
void Swap (int, int)
 swap elements i and j More...
 
unsigned int UnsignedCount () const
 
void Zero ()
 

Additional Inherited Members

- Protected Member Functions inherited from ON_ClassArray< ON_BrepRegion >
void ConstructDefaultElement (ON_BrepRegion *)
 
void DestroyElement (ON_BrepRegion &)
 
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_ClassArray< ON_BrepRegion >
ON_BrepRegionm_a
 pointer to array memory More...
 
int m_capacity
 actual length of m_a[] More...
 
int m_count
 0 <= m_count <= m_capacity More...
 

Constructor & Destructor Documentation

◆ ON_BrepRegionArray()

ON_BrepRegionArray::ON_BrepRegionArray ( )

◆ ~ON_BrepRegionArray()

ON_BrepRegionArray::~ON_BrepRegionArray ( )

Member Function Documentation

◆ Read()

bool ON_BrepRegionArray::Read ( ON_BinaryArchive )

◆ SizeOf()

unsigned int ON_BrepRegionArray::SizeOf ( ) const

◆ Write()

bool ON_BrepRegionArray::Write ( ON_BinaryArchive ) const