Home | GR32_Containers | TPointerMap |
TPointerMap.Add
function Add(NewItem: PItem): PPData; overload;
function Add(NewItem: PItem; out IsNew: Boolean): PPData; overload;
function Add(NewItem: PItem; NewData: PData): PPData; overload;
function Add(NewItem: PItem; NewData: PData; out IsNew: Boolean): PPData; overload;
Description
Adds a new item to the pointer map. The function method will return a pointer to the data PPData.
NewItem specifies the pointer of the new item;
NewData specified the pointer of the data associated with the new item;
IsNew returns whether the item was added to the list or if an existing copy was modified.
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007