#include <opennurbs_array.h>
Public Member Functions | |
bool | AddPair (ON_UUID id1, ON_UUID id2, bool bCheckForDupicates=true) |
int | Count () const |
void | Empty () |
bool | FindId1 (ON_UUID id1, ON_UUID *id2=0) const |
bool | FindPair (ON_UUID id1, ON_UUID id2) const |
int | GetId1s (ON_SimpleArray< ON_UUID > &uuid_list) const |
void | ImproveSearchSpeed () |
ON_UuidPairList () | |
ON_UuidPairList (int capacity) | |
ON_UuidPairList (const ON_UuidPairList &src) | |
ON_UuidPairList & | operator= (const ON_UuidPairList &src) |
bool | RemovePair (ON_UUID id1) |
bool | RemovePair (ON_UUID id1, ON_UUID id2) |
void | Reserve (int capacity) |
~ON_UuidPairList () | |
Private Member Functions | |
ON_UuidPair * | SearchHelper (const ON_UUID *) const |
Private Attributes | |
unsigned int | m_removed_count |
unsigned int | m_sorted_count |
Definition at line 1481 of file opennurbs_array.h.
Definition at line 915 of file opennurbs_array.cpp.
ON_UuidPairList::ON_UuidPairList | ( | int | capacity | ) |
Definition at line 922 of file opennurbs_array.cpp.
Definition at line 929 of file opennurbs_array.cpp.
ON_UuidPairList::ON_UuidPairList | ( | const ON_UuidPairList & | src | ) |
Definition at line 935 of file opennurbs_array.cpp.
bool ON_UuidPairList::AddPair | ( | ON_UUID | id1, |
ON_UUID | id2, | ||
bool | bCheckForDupicates = true |
||
) |
Definition at line 953 of file opennurbs_array.cpp.
int ON_UuidPairList::Count | ( | ) | const |
Reimplemented from ON_SimpleArray< ON_UuidPair >.
Definition at line 974 of file opennurbs_array.cpp.
void ON_UuidPairList::Empty | ( | ) |
Reimplemented from ON_SimpleArray< ON_UuidPair >.
Definition at line 979 of file opennurbs_array.cpp.
bool ON_UuidPairList::FindId1 | ( | ON_UUID | id1, |
ON_UUID * | id2 = 0 |
||
) | const |
Definition at line 1038 of file opennurbs_array.cpp.
bool ON_UuidPairList::FindPair | ( | ON_UUID | id1, |
ON_UUID | id2 | ||
) | const |
Definition at line 1048 of file opennurbs_array.cpp.
int ON_UuidPairList::GetId1s | ( | ON_SimpleArray< ON_UUID > & | uuid_list | ) | const |
Definition at line 1058 of file opennurbs_array.cpp.
void ON_UuidPairList::ImproveSearchSpeed | ( | ) |
Definition at line 1074 of file opennurbs_array.cpp.
ON_UuidPairList & ON_UuidPairList::operator= | ( | const ON_UuidPairList & | src | ) |
Definition at line 942 of file opennurbs_array.cpp.
bool ON_UuidPairList::RemovePair | ( | ON_UUID | id1 | ) |
Definition at line 993 of file opennurbs_array.cpp.
bool ON_UuidPairList::RemovePair | ( | ON_UUID | id1, |
ON_UUID | id2 | ||
) |
Definition at line 1008 of file opennurbs_array.cpp.
void ON_UuidPairList::Reserve | ( | int | capacity | ) |
Reimplemented from ON_SimpleArray< ON_UuidPair >.
Definition at line 987 of file opennurbs_array.cpp.
ON_UuidPair * ON_UuidPairList::SearchHelper | ( | const ON_UUID * | id1 | ) | const [private] |
Definition at line 1097 of file opennurbs_array.cpp.
unsigned int ON_UuidPairList::m_removed_count [private] |
Definition at line 1609 of file opennurbs_array.h.
unsigned int ON_UuidPairList::m_sorted_count [private] |
Definition at line 1608 of file opennurbs_array.h.