ListViewData Class Reference

#include <customgui_listview2.h>

Inheritance diagram for ListViewData:

Public Member Functions

Bool AddItem (Int32 id, const maxon::String &name, const GeData &data)
 
Bool UpdateItem (Int32 id, const maxon::String &name, const GeData &data)
 
void RemoveItem (Int32 id)
 
Int32 GetCount () const
 
Int32 GetSelected () const
 
void Select (Int32 index)
 
GeData GetData (Int32 index) const
 
String GetName (Int32 index) const
 
Int32 GetID (Int32 index) const
 
void SetData (Int32 index, const GeData &data)
 
void SetName (Int32 index, const maxon::String &name)
 
void SetID (Int32 index, Int32 id)
 
Int32 FindIndex (Int32 id) const
 

Static Public Member Functions

static ListViewDataAlloc ()
 
static void Free (ListViewData *&pData)
 

Private Member Functions

 ListViewData ()
 
 ~ListViewData ()
 

Additional Inherited Members

- Static Public Attributes inherited from CustomDataTypeT< 1018397 >
static constexpr Int32 DATATYPEID
 

Constructor & Destructor Documentation

◆ ListViewData()

ListViewData ( )
private

◆ ~ListViewData()

~ListViewData ( )
private

Member Function Documentation

◆ Alloc()

static ListViewData* Alloc ( )
static

◆ Free()

static void Free ( ListViewData *&  pData)
static

◆ AddItem()

Bool AddItem ( Int32  id,
const maxon::String name,
const GeData data 
)

◆ UpdateItem()

Bool UpdateItem ( Int32  id,
const maxon::String name,
const GeData data 
)

◆ RemoveItem()

void RemoveItem ( Int32  id)

◆ GetCount()

Int32 GetCount ( ) const

◆ GetSelected()

Int32 GetSelected ( ) const

◆ Select()

void Select ( Int32  index)

◆ GetData()

GeData GetData ( Int32  index) const

◆ GetName()

String GetName ( Int32  index) const

◆ GetID()

Int32 GetID ( Int32  index) const

◆ SetData()

void SetData ( Int32  index,
const GeData data 
)

◆ SetName()

void SetName ( Int32  index,
const maxon::String name 
)

◆ SetID()

void SetID ( Int32  index,
Int32  id 
)

◆ FindIndex()

Int32 FindIndex ( Int32  id) const