ItemListData Class Reference

#include <customdatatype_itemlist.h>

Inheritance diagram for ItemListData:

Public Member Functions

Bool AddItem (Int32 id, const String &name, const GeData &data)
 
Bool UpdateItem (Int32 id, const String &name, const GeData &data)
 
void RemoveItem (Int32 id)
 
Int32 GetCount ()
 
Int32 GetSelected ()
 
void Select (Int32 index)
 
GeData GetData (Int32 index)
 
String GetName (Int32 index)
 
Int32 GetID (Int32 index)
 
void SetData (Int32 index, const GeData &data)
 
void SetName (Int32 index, const String &name)
 
void SetID (Int32 index, Int32 id)
 
Int32 FindIndex (Int32 id)
 
void Clear ()
 
void GetSelection (BaseSelect *bs)
 
void SetSelection (BaseSelect *bs)
 
void GetSelectionIDs (BaseSelect *bs)
 
BaseContainerGetUserData ()
 
BaseLinkGetOwnerLink ()
 

Static Public Member Functions

static ItemListDataAlloc ()
 
static void Free (ItemListData *&pData)
 

Private Member Functions

 ItemListData ()
 
 ~ItemListData ()
 

Constructor & Destructor Documentation

◆ ItemListData()

ItemListData ( )
private

◆ ~ItemListData()

~ItemListData ( )
private

Member Function Documentation

◆ Alloc()

static ItemListData* Alloc ( )
static

◆ Free()

static void Free ( ItemListData *&  pData)
static

◆ AddItem()

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

◆ UpdateItem()

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

◆ RemoveItem()

void RemoveItem ( Int32  id)

◆ GetCount()

Int32 GetCount ( )

◆ GetSelected()

Int32 GetSelected ( )

◆ Select()

void Select ( Int32  index)

◆ GetData()

GeData GetData ( Int32  index)

◆ GetName()

String GetName ( Int32  index)

◆ GetID()

Int32 GetID ( Int32  index)

◆ SetData()

void SetData ( Int32  index,
const GeData data 
)

◆ SetName()

void SetName ( Int32  index,
const String name 
)

◆ SetID()

void SetID ( Int32  index,
Int32  id 
)

◆ FindIndex()

Int32 FindIndex ( Int32  id)

◆ Clear()

void Clear ( )

◆ GetSelection()

void GetSelection ( BaseSelect bs)

◆ SetSelection()

void SetSelection ( BaseSelect bs)

◆ GetSelectionIDs()

void GetSelectionIDs ( BaseSelect bs)

◆ GetUserData()

BaseContainer* GetUserData ( )

◆ GetOwnerLink()

BaseLink* GetOwnerLink ( )