DSListElement |
public:
DSListElement ( int cleanup=0 );
Creates a new ListElement.
- cleanup
- Specifies the cleanup flags that apply to this ListElement.
DSListElement |
public:
DSListElement ( DSListElement * le );
Copies a ListElement; does not copy the data contained inside.
- le
- Specifies the ListElement to copy.
DSListElement |
public:
DSListElement ( char* Key, void* Data, DSListElement* Next, int Cleanup=0 );
Creates a new ListElement.
- Key
- Specifies the string key of the new element. This pointer is used in the element, copy data yourself.
- Data
- Specifies the value of the new element. This pointer is used in the element, copy data yourself.
- Next
- Points to the next ListElement in the List.
- Cleanup
- Specifies the cleanup flags that apply to this ListElement.
DSListElement |
public:
DSListElement ( unsigned int Key, void* Data, DSListElement* Next, int Cleanup=0 );
Creates a new ListElement.
- Key
- Specifies the numeric key of the new element.
- Data
- Specifies the value of the new element. This pointer is used in the element, copy data yourself.
- Next
- Points to the next ListElement in the List.
- Cleanup
- Specifies the cleanup flags that apply to this ListElement.
DSListElement |
public:
DSListElement ( char* Key, unsigned int Data, DSListElement* Next, int Cleanup=0 );
Creates a new ListElement.
- Key
- Specifies the string key of the new element. This pointer is used in the element, copy data yourself.
- Data
- Specifies the numeric value of the new element.
- Next
- Points to the next ListElement in the List.
- Cleanup
- Specifies the cleanup flags that apply to this ListElement.
DSListElement |
public:
DSListElement ( unsigned int Key, unsigned int Data, DSListElement* Next, int Cleanup=0 );
Creates a new ListElement.
- Key
- Specifies the numeric key of the new element.
- Data
- Specifies the numeric value of the new element.
- Next
- Points to the next ListElement in the List.
- Cleanup
- Specifies the cleanup flags that apply to this ListElement.
getDataInt |
public:
unsigned int getDataInt (void);
Retrieves the numeric value of the ListElement.
getDataPtr |
public:
void* getDataPtr (void);
Retrieves the pointer value of the ListElement.
getKeyInt |
public:
unsigned int getKeyInt (void);
Retrieves the numeric key of the ListElement.
getKeyString |
public:
char* getKeyString (void);
Retrieves the string key of the ListElement.
getNext |
public:
DSListElement* getNext (void);
Retrieves the next ListElement.
setCleanup |
public:
void setCleanup ( int Cleanup );
Modifies the cleanup flags.
- Cleanup
- The new cleanup flags.
setDataInt |
public:
void setDataInt ( unsigned int Data );
Modifies the value in the ListElement. Any previous value is destroyed.
- Data
- The new numeric value.
setDataPtr |
public:
void setDataPtr ( void * Data );
Modifies the value in the ListElement. Any previous value is destroyed.
- Data
- The new pointer value. This pointer is inserted into the ListElement and is not copied.
setKeyInt |
public:
void setKeyInt ( unsigned int Key );
Modifies the key in the ListElement. Any previous key is destroyed.
- Key
- The new numeric value.
setKeyInt |
public:
void setKeyString ( char * Key );
Modifies the key in the ListElement. Any previous key is destroyed.
- Key
- The new string value. This pointer is used directly, not copied; make sure you have copied it yourself if you'd like the ListElement to keep it.
setNext |
public:
void setNext ( DSListElement* Next );
Modifies the next the ListElement.
- Next
- The new next ListElement.
~ListElement |
public:
~DSListElement (void);
Destroys the ListElement.
(Last Updated 9/24/2004)