Rhino C++ API  9.0
Public Member Functions | List of all members
DisplayAttrsMgrList Class Reference

#include <RhinoSdkDisplayAttrsMgr.h>

Inheritance diagram for DisplayAttrsMgrList:
ON_ClassArray< DisplayAttrsMgrListDesc >

Public Member Functions

 DisplayAttrsMgrList ()
 
bool LoadProfile (const wchar_t *lpsSection, CRhinoProfileContext &)
 load from registry More...
 
void SaveProfile (const wchar_t *lpsSection, CRhinoProfileContext &) const
 
- Public Member Functions inherited from ON_ClassArray< DisplayAttrsMgrListDesc >
 ON_ClassArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_ClassArray (const ON_ClassArray< DisplayAttrsMgrListDesc > &)
 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 DisplayAttrsMgrListDesc &)
 
void Append (int, const DisplayAttrsMgrListDesc *)
 Append copy of an array T[count]. More...
 
DisplayAttrsMgrListDesc & AppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
DisplayAttrsMgrListDesc * Array ()
 The Array() function return the. More...
 
const DisplayAttrsMgrListDesc * Array () const
 m_a pointer value. More...
 
DisplayAttrsMgrListDesc * At (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
const DisplayAttrsMgrListDesc * At (int) const
 
DisplayAttrsMgrListDesc * At (ON__INT64)
 
const DisplayAttrsMgrListDesc * At (ON__INT64) const
 
DisplayAttrsMgrListDesc * At (ON__UINT64)
 
const DisplayAttrsMgrListDesc * At (ON__UINT64) const
 
DisplayAttrsMgrListDesc * At (unsigned int)
 
const DisplayAttrsMgrListDesc * At (unsigned int) const
 
DisplayAttrsMgrListDesc * begin ()
 Support STL iterators and algorithms. More...
 
DisplayAttrsMgrListDesc const * begin () const
 
int BinarySearch (const DisplayAttrsMgrListDesc *, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDecreasing<T> More...
 
int BinarySearch (const DisplayAttrsMgrListDesc *, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *), int) const
 
int Capacity () const
 capacity of array More...
 
DisplayAttrsMgrListDesc const * cbegin () const
 
DisplayAttrsMgrListDesc const * cend () const
 
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 Emplace (int i, _Val &&... val)
 
void Emplace (int, _Val &&...)
 create a new item and insert it More...
 
void EmplaceBack (_Val &&... val)
 
void EmplaceBack (_Val &&...)
 create a new item an append it More...
 
void Empty ()
 Sets count to 0, leaves capacity untouched. More...
 
DisplayAttrsMgrListDesc * end ()
 
DisplayAttrsMgrListDesc const * end () const
 
DisplayAttrsMgrListDesc * First ()
 
const DisplayAttrsMgrListDesc * First () const
 returns nullptr if count = 0 More...
 
virtual bool HeapSort (int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *))
 QuickSort() is generally the better choice. More...
 
void Insert (int, const DisplayAttrsMgrListDesc &)
 Insert called with a reference uses operator =. More...
 
int InsertInSortedList (const DisplayAttrsMgrListDesc &, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *))
 
int InsertInSortedList (const DisplayAttrsMgrListDesc &, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *), int)
 
DisplayAttrsMgrListDesc * KeepArray ()
 
DisplayAttrsMgrListDesc * Last ()
 
const DisplayAttrsMgrListDesc * Last () const
 returns nullptr if count = 0 More...
 
int NewCapacity () const
 
 operator const DisplayAttrsMgrListDesc * () const
 
 operator DisplayAttrsMgrListDesc * ()
 The cast operators return a pointer. More...
 
bool operator!= (const ON_ClassArray< DisplayAttrsMgrListDesc > &other) const=delete
 
ON_ClassArray< DisplayAttrsMgrListDesc > & operator= (const ON_ClassArray< DisplayAttrsMgrListDesc > &)
 Assignment operator. More...
 
bool operator== (const ON_ClassArray< DisplayAttrsMgrListDesc > &other) const=delete
 
DisplayAttrsMgrListDesc & operator[] (int)
 
const DisplayAttrsMgrListDesc & operator[] (int) const
 
DisplayAttrsMgrListDesc & operator[] (ON__INT64)
 
const DisplayAttrsMgrListDesc & operator[] (ON__INT64) const
 
DisplayAttrsMgrListDesc & operator[] (ON__UINT64)
 
const DisplayAttrsMgrListDesc & operator[] (ON__UINT64) const
 
DisplayAttrsMgrListDesc & operator[] (unsigned int)
 
const DisplayAttrsMgrListDesc & operator[] (unsigned int) const
 
bool Permute (const int *)
 
virtual bool QuickSort (int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *))
 Sorts the array using the heap sort algorithm. More...
 
virtual DisplayAttrsMgrListDesc * Realloc (DisplayAttrsMgrListDesc *, int)
 low level memory management /////////////////////////////////////// More...
 
void Remove ()
 
void Remove (int)
 
DisplayAttrsMgrListDesc * Reserve (size_t)
 memory management ///////////////////////////////////////////////// More...
 
void Reverse ()
 reverse order More...
 
int Search (const DisplayAttrsMgrListDesc *, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *)) const
 
void SetArray (DisplayAttrsMgrListDesc *p)
 
void SetArray (DisplayAttrsMgrListDesc *p, int count, int capacity)
 
DisplayAttrsMgrListDesc * SetCapacity (size_t)
 
void SetCount (int)
 low level memory management ////////////////////////////////////////// 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(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *)) const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*compar)(const DisplayAttrsMgrListDesc *, const DisplayAttrsMgrListDesc *, 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< DisplayAttrsMgrListDesc >
void ConstructDefaultElement (DisplayAttrsMgrListDesc *)
 
void DestroyElement (DisplayAttrsMgrListDesc &)
 
void Move (int, int, int)
 implementation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_ClassArray< DisplayAttrsMgrListDesc >
DisplayAttrsMgrListDesc * m_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

◆ DisplayAttrsMgrList()

DisplayAttrsMgrList::DisplayAttrsMgrList ( )

Member Function Documentation

◆ LoadProfile()

bool DisplayAttrsMgrList::LoadProfile ( const wchar_t *  lpsSection,
CRhinoProfileContext &   
)

load from registry

LoadProfile will zero the array out and build a new list with all the keys under lpsSection whos name can be converted to a valid UUID.

◆ SaveProfile()

void DisplayAttrsMgrList::SaveProfile ( const wchar_t *  lpsSection,
CRhinoProfileContext &   
) const

save in registry