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

#include <opennurbs_brep.h>

Inheritance diagram for ON_BrepLoopArray:
ON_ObjectArray< ON_BrepLoop > ON_ClassArray< ON_BrepLoop >

Public Member Functions

 ON_BrepLoopArray ()
 
 ~ON_BrepLoopArray ()
 
bool Read (ON_BinaryArchive &)
 
unsigned int SizeOf () const
 
bool Write (ON_BinaryArchive &) const
 
- Public Member Functions inherited from ON_ObjectArray< ON_BrepLoop >
 ON_ObjectArray ()
 Class ON_ObjectArray<> More...
 
 ON_ObjectArray (const ON_ObjectArray< ON_BrepLoop > &)
 
 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_BrepLoop *, const ON_BrepLoop *))
 
ON_ObjectArray< ON_BrepLoop > & operator= (const ON_ObjectArray< ON_BrepLoop > &)
 
bool QuickSort (int(*)(const ON_BrepLoop *, const ON_BrepLoop *))
 
ON_BrepLoopRealloc (ON_BrepLoop *, int)
 
- Public Member Functions inherited from ON_ClassArray< ON_BrepLoop >
 ON_ClassArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_ClassArray (const ON_ClassArray< ON_BrepLoop > &)
 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_BrepLoop &)
 
void Append (int, const ON_BrepLoop *)
 Append copy of an array T[count]. More...
 
ON_BrepLoopAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_BrepLoopArray ()
 The Array() function return the. More...
 
const ON_BrepLoopArray () const
 m_a pointer value. More...
 
ON_BrepLoopAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
const ON_BrepLoopAt (int) const
 
ON_BrepLoopAt (ON__INT64)
 
const ON_BrepLoopAt (ON__INT64) const
 
ON_BrepLoopAt (ON__UINT64)
 
const ON_BrepLoopAt (ON__UINT64) const
 
ON_BrepLoopAt (unsigned int)
 
const ON_BrepLoopAt (unsigned int) const
 
int BinarySearch (const ON_BrepLoop *, int(*)(const ON_BrepLoop *, const ON_BrepLoop *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
int BinarySearch (const ON_BrepLoop *, int(*)(const ON_BrepLoop *, const ON_BrepLoop *), 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_BrepLoopFirst ()
 
const ON_BrepLoopFirst () const
 returns nullptr if count = 0 More...
 
void Insert (int, const ON_BrepLoop &)
 Insert called with a reference uses operator =. More...
 
int InsertInSortedList (const ON_BrepLoop &, int(*)(const ON_BrepLoop *, const ON_BrepLoop *))
 
int InsertInSortedList (const ON_BrepLoop &, int(*)(const ON_BrepLoop *, const ON_BrepLoop *), int)
 
ON_BrepLoopKeepArray ()
 
ON_BrepLoopLast ()
 
const ON_BrepLoopLast () const
 returns nullptr if count = 0 More...
 
int NewCapacity () const
 
 operator const ON_BrepLoop * () const
 
 operator ON_BrepLoop * ()
 The cast operators return a pointer. More...
 
ON_ClassArray< ON_BrepLoop > & operator= (const ON_ClassArray< ON_BrepLoop > &)
 Assignment operator. More...
 
ON_BrepLoopoperator[] (int)
 
const ON_BrepLoopoperator[] (int) const
 
ON_BrepLoopoperator[] (ON__INT64)
 
const ON_BrepLoopoperator[] (ON__INT64) const
 
ON_BrepLoopoperator[] (ON__UINT64)
 
const ON_BrepLoopoperator[] (ON__UINT64) const
 
ON_BrepLoopoperator[] (unsigned int)
 
const ON_BrepLoopoperator[] (unsigned int) const
 
bool Permute (const int *)
 
void Remove ()
 
void Remove (int)
 
ON_BrepLoopReserve (size_t)
 memory managment ///////////////////////////////////////////////// More...
 
void Reverse ()
 reverse order More...
 
int Search (const ON_BrepLoop *, int(*)(const ON_BrepLoop *, const ON_BrepLoop *)) const
 
void SetArray (ON_BrepLoop *)
 
void SetArray (ON_BrepLoop *, int, int)
 
ON_BrepLoopSetCapacity (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_BrepLoop *, const ON_BrepLoop *)) const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_BrepLoop *, const ON_BrepLoop *, 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_BrepLoop >
void ConstructDefaultElement (ON_BrepLoop *)
 
void DestroyElement (ON_BrepLoop &)
 
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_ClassArray< ON_BrepLoop >
ON_BrepLoopm_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_BrepLoopArray()

ON_BrepLoopArray::ON_BrepLoopArray ( )

◆ ~ON_BrepLoopArray()

ON_BrepLoopArray::~ON_BrepLoopArray ( )

Member Function Documentation

◆ Read()

bool ON_BrepLoopArray::Read ( ON_BinaryArchive )

◆ SizeOf()

unsigned int ON_BrepLoopArray::SizeOf ( ) const

◆ Write()

bool ON_BrepLoopArray::Write ( ON_BinaryArchive ) const