#include <StringList.h>
Public Types | |
typedef ListType::const_iterator | const_iterator |
Public Member Functions | |
StringList () | |
Constructs an empty list. | |
StringList (const StringList &sl) | |
Copy-constructor. | |
StringList (char **values) | |
For internal use only. | |
~StringList () | |
Destructor. | |
char ** | toCharArray () const |
The methods converts the list to a 0-terminated array of c-Strings. | |
void | add (const std::string &value) |
Adds one element to the end of the list. | |
size_t | size () const |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
void | clear () |
removes all elements from the list | |
Private Types | |
typedef std::list< std::string > | ListType |
Private Attributes | |
ListType | m_data |
|
|
|
|
|
Constructs an empty list.
|
|
Copy-constructor.
|
|
For internal use only. This constructor is used by the library internally to create a list of string from a array for c-Strings (char*)thar was returned by the C-API |
|
Destructor.
|
|
Adds one element to the end of the list.
|
|
|
|
removes all elements from the list
|
|
|
|
|
|
|
|
The methods converts the list to a 0-terminated array of c-Strings.
|
|
|