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

#include <opennurbs_array.h>

Inheritance diagram for ON_UuidIndexList:
ON_SimpleArray< ON_UuidIndex >

Public Member Functions

bool AddUuidIndex (ON_UUID uuid, int index, bool bCheckForDupicates=true)
 
int Count () const
 
void Empty ()
 
bool FindUuid (ON_UUID uuid, int *index=NULL) const
 
bool FindUuidIndex (ON_UUID uuid, int index) const
 
int GetUuids (ON_SimpleArray< ON_UUID > &uuid_list) const
 
 ON_UuidIndexList ()
 
 ON_UuidIndexList (const ON_UuidIndexList &src)
 
 ON_UuidIndexList (int capacity)
 
ON_UuidIndexListoperator= (const ON_UuidIndexList &src)
 
bool Read (class ON_BinaryArchive &archive)
 
bool RemoveUuid (ON_UUID uuid)
 
bool RemoveUuidIndex (ON_UUID uuid, int index)
 
void Reserve (int capacity)
 
bool Write (class ON_BinaryArchive &archive) const
 
 ~ON_UuidIndexList ()
 

Private Member Functions

ON_UuidIndex * SearchHelper (const ON_UUID *) const
 
- Private Member Functions inherited from ON_SimpleArray< ON_UuidIndex >
void Append (const ON_UuidIndex &)
 
void Append (int, const ON_UuidIndex *)
 
ON_UuidIndex & AppendNew ()
 
ON_UuidIndex * Array ()
 
const ON_UuidIndex * Array () const
 
ON_UuidIndex * At (int)
 
const ON_UuidIndex * At (int) const
 
int BinarySearch (const ON_UuidIndex *, int(*)(const ON_UuidIndex *, const ON_UuidIndex *)) const
 
int Capacity () const
 
int Count () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Destroy ()
 
void EmergencyDestroy (void)
 
void Empty ()
 
ON_UuidIndex * First ()
 
const ON_UuidIndex * First () const
 
bool HeapSort (int(*)(const ON_UuidIndex *, const ON_UuidIndex *))
 
void Insert (int, const ON_UuidIndex &)
 
ON_UuidIndex * KeepArray ()
 
ON_UuidIndex * Last ()
 
const ON_UuidIndex * Last () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 ON_SimpleArray ()
 
 ON_SimpleArray (const ON_SimpleArray< ON_UuidIndex > &)
 
 ON_SimpleArray (int)
 
 operator const ON_UuidIndex * () const
 
 operator ON_UuidIndex * ()
 
virtual ON_SimpleArray< ON_UuidIndex > & operator= (const ON_SimpleArray< ON_UuidIndex > &)
 
ON_UuidIndex & operator[] (int)
 
const ON_UuidIndex & operator[] (int) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_UuidIndex *, const ON_UuidIndex *))
 
virtual ON_UuidIndex * Realloc (ON_UuidIndex *, int)
 
void Remove ()
 
virtual void Remove (int)
 
void Reserve (int)
 
void Reverse ()
 
int Search (const ON_UuidIndex &) const
 
int Search (const ON_UuidIndex *, int(*)(const ON_UuidIndex *, const ON_UuidIndex *)) const
 
void SetArray (ON_UuidIndex *)
 
void SetCapacity (int)
 
void SetCount (int)
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_UuidIndex *, const ON_UuidIndex *)) const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_UuidIndex *, const ON_UuidIndex *, 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_UuidIndex >
ON_UuidIndex * m_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_UuidIndexList() [1/3]

ON_UuidIndexList::ON_UuidIndexList ( )

◆ ON_UuidIndexList() [2/3]

ON_UuidIndexList::ON_UuidIndexList ( int capacity)

◆ ~ON_UuidIndexList()

ON_UuidIndexList::~ON_UuidIndexList ( )

◆ ON_UuidIndexList() [3/3]

ON_UuidIndexList::ON_UuidIndexList ( const ON_UuidIndexList & src)

Member Function Documentation

◆ AddUuidIndex()

bool ON_UuidIndexList::AddUuidIndex ( ON_UUID uuid,
int index,
bool bCheckForDupicates = true )

◆ Count()

int ON_UuidIndexList::Count ( ) const

◆ Empty()

void ON_UuidIndexList::Empty ( )

◆ FindUuid()

bool ON_UuidIndexList::FindUuid ( ON_UUID uuid,
int * index = NULL ) const

◆ FindUuidIndex()

bool ON_UuidIndexList::FindUuidIndex ( ON_UUID uuid,
int index ) const

◆ GetUuids()

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

◆ operator=()

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

◆ Read()

bool ON_UuidIndexList::Read ( class ON_BinaryArchive & archive)

◆ RemoveUuid()

bool ON_UuidIndexList::RemoveUuid ( ON_UUID uuid)

◆ RemoveUuidIndex()

bool ON_UuidIndexList::RemoveUuidIndex ( ON_UUID uuid,
int index )

◆ Reserve()

void ON_UuidIndexList::Reserve ( int capacity)

◆ SearchHelper()

ON_UuidIndex * ON_UuidIndexList::SearchHelper ( const ON_UUID * uuid) const
private

◆ Write()

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

Member Data Documentation

◆ m_removed_count

int ON_UuidIndexList::m_removed_count
private

◆ m_sorted_count

int ON_UuidIndexList::m_sorted_count
private

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