PreEmptive Analytics Win32 Client
 All Classes Files Functions Variables Typedefs Macros
Public Member Functions | List of all members
StringList Class Reference

A platform indepenent representation of a StringList of wide strings. More...

Public Member Functions

DLL_PACLIENT StringList ()
 Create an empty StringList. More...
 
DLL_PACLIENT ~StringList ()
 Dispose of a StringList instance. More...
 
DLL_PACLIENT void Add (const wchar_t *value)
 Add a value. More...
 
DLL_PACLIENT void Clear ()
 Clear the StringList. More...
 
DLL_PACLIENT const wchar_t * Get (size_t idx)
 Get a member based on its index. More...
 
DLL_PACLIENT size_t GetSize ()
 Get the size of the StringList. More...
 
DLL_PACLIENT StringListoperator= (const StringList *other)
 Copy the values of another StringList instance. More...
 
DLL_PACLIENT StringListoperator= (const StringList &other)
 Copy the values of another StringList instance. More...
 
DLL_PACLIENT void Remove (size_t idx)
 Remove a member of the StringList. More...
 

Detailed Description

A platform indepenent representation of a StringList of wide strings.

Constructor & Destructor Documentation

DLL_PACLIENT StringList::StringList ( )

Create an empty StringList.

After a StringList has been created you can add key value pairs using StringList::Add()
DLL_PACLIENT StringList::~StringList ( )

Dispose of a StringList instance.

Member Function Documentation

DLL_PACLIENT void StringList::Add ( const wchar_t *  value)

Add a value.

Parameters
valueString value to be added
DLL_PACLIENT void StringList::Clear ( )

Clear the StringList.

DLL_PACLIENT const wchar_t* StringList::Get ( size_t  idx)

Get a member based on its index.

Parameters
idxlocation in the StringList to retrieve
DLL_PACLIENT size_t StringList::GetSize ( )

Get the size of the StringList.

DLL_PACLIENT StringList& StringList::operator= ( const StringList other)

Copy the values of another StringList instance.

Returns
this instance
DLL_PACLIENT StringList& StringList::operator= ( const StringList other)

Copy the values of another StringList instance.

Returns
this instance
DLL_PACLIENT void StringList::Remove ( size_t  idx)

Remove a member of the StringList.

Parameters
idxlocation in the StringList to remove