QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_UuidList Class Reference

#include <opennurbs_array.h>

Inheritance diagram for ON_UuidList:
ON_SimpleArray< ON_UUID >

Public Member Functions

bool AddUuid (ON_UUID uuid, bool bCheckForDupicates=true)
 
const ON_UUIDArray () const
 
void Compact ()
 
int Count () const
 
void Destroy ()
 
void Empty ()
 
bool FindUuid (ON_UUID uuid) const
 
int GetUuids (ON_SimpleArray< ON_UUID > &uuid_list) const
 
 ON_UuidList ()
 
 ON_UuidList (const ON_UuidList &src)
 
 ON_UuidList (int capacity)
 
ON_UuidListoperator= (const ON_UuidList &src)
 
bool Read (class ON_BinaryArchive &archive)
 
void RemapUuids (const ON_SimpleArray< ON_UuidPair > &uuid_remap)
 
bool RemoveUuid (ON_UUID uuid)
 
void Reserve (int capacity)
 
bool Write (class ON_BinaryArchive &archive) const
 
 ~ON_UuidList ()
 

Static Public Member Functions

static int CompareUuid (const ON_UUID *a, const ON_UUID *b)
 

Private Member Functions

ON_UUIDSearchHelper (const ON_UUID *) const
 
void SortHelper ()
 
- Private Member Functions inherited from ON_SimpleArray< ON_UUID >
void Append (const ON_UUID &)
 
void Append (int, const ON_UUID *)
 
ON_UUIDAppendNew ()
 
ON_UUIDArray ()
 
const ON_UUIDArray () const
 
ON_UUIDAt (int)
 
const ON_UUIDAt (int) const
 
int BinarySearch (const ON_UUID *, int(*)(const ON_UUID *, const ON_UUID *)) const
 
int Capacity () const
 
int Count () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Destroy ()
 
void EmergencyDestroy (void)
 
void Empty ()
 
ON_UUIDFirst ()
 
const ON_UUIDFirst () const
 
bool HeapSort (int(*)(const ON_UUID *, const ON_UUID *))
 
void Insert (int, const ON_UUID &)
 
ON_UUIDKeepArray ()
 
ON_UUIDLast ()
 
const ON_UUIDLast () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 ON_SimpleArray ()
 
 ON_SimpleArray (const ON_SimpleArray< ON_UUID > &)
 
 ON_SimpleArray (int)
 
 operator const ON_UUID * () const
 
 operator ON_UUID * ()
 
virtual ON_SimpleArray< ON_UUID > & operator= (const ON_SimpleArray< ON_UUID > &)
 
ON_UUIDoperator[] (int)
 
const ON_UUIDoperator[] (int) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_UUID *, const ON_UUID *))
 
virtual ON_UUIDRealloc (ON_UUID *, int)
 
void Remove ()
 
virtual void Remove (int)
 
void Reserve (int)
 
void Reverse ()
 
int Search (const ON_UUID &) const
 
int Search (const ON_UUID *, int(*)(const ON_UUID *, const ON_UUID *)) const
 
void SetArray (ON_UUID *)
 
void SetCapacity (int)
 
void SetCount (int)
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_UUID *, const ON_UUID *)) const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_UUID *, const ON_UUID *, void *), void *) const
 
void Swap (int, int)
 
void Zero ()
 
virtual ~ON_SimpleArray ()
 
void Move (int, int, int)
 

Private Attributes

int m_removed_count
 
int m_sorted_count
 
- Private Attributes inherited from ON_SimpleArray< ON_UUID >
ON_UUIDm_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_UuidList() [1/3]

ON_UuidList::ON_UuidList ( )

◆ ON_UuidList() [2/3]

ON_UuidList::ON_UuidList ( int capacity)

◆ ~ON_UuidList()

ON_UuidList::~ON_UuidList ( )

◆ ON_UuidList() [3/3]

ON_UuidList::ON_UuidList ( const ON_UuidList & src)

Member Function Documentation

◆ AddUuid()

bool ON_UuidList::AddUuid ( ON_UUID uuid,
bool bCheckForDupicates = true )

◆ Array()

const ON_UUID * ON_UuidList::Array ( ) const

◆ Compact()

void ON_UuidList::Compact ( )

◆ CompareUuid()

int ON_UuidList::CompareUuid ( const ON_UUID * a,
const ON_UUID * b )
static

◆ Count()

int ON_UuidList::Count ( ) const

◆ Destroy()

void ON_UuidList::Destroy ( )

◆ Empty()

void ON_UuidList::Empty ( )

◆ FindUuid()

bool ON_UuidList::FindUuid ( ON_UUID uuid) const

◆ GetUuids()

int ON_UuidList::GetUuids ( ON_SimpleArray< ON_UUID > & uuid_list) const

◆ operator=()

ON_UuidList & ON_UuidList::operator= ( const ON_UuidList & src)

◆ Read()

bool ON_UuidList::Read ( class ON_BinaryArchive & archive)

◆ RemapUuids()

void ON_UuidList::RemapUuids ( const ON_SimpleArray< ON_UuidPair > & uuid_remap)

◆ RemoveUuid()

bool ON_UuidList::RemoveUuid ( ON_UUID uuid)

◆ Reserve()

void ON_UuidList::Reserve ( int capacity)

◆ SearchHelper()

ON_UUID * ON_UuidList::SearchHelper ( const ON_UUID * uuid) const
private

◆ SortHelper()

void ON_UuidList::SortHelper ( )
private

◆ Write()

bool ON_UuidList::Write ( class ON_BinaryArchive & archive) const

Member Data Documentation

◆ m_removed_count

int ON_UuidList::m_removed_count
private

◆ m_sorted_count

int ON_UuidList::m_sorted_count
private

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