Sparksee 6.1.0
StringList Class Reference

String list. More...

#include <Graph_data.h>

Public Member Functions

int32_t Count () const
 Number of elements in the list.
StringListIterator * Iterator ()
 Gets a new StringListIterator.
 StringList ()
 Constructor.
 StringList (const std::vector< std::wstring > &v)
 Constructor.
 ~StringList ()
 Destructor.
void Add (const std::wstring &str)
 Adds a String at the end of the list.
void Clear ()
 Clears the list.

Detailed Description

String list.

It stores a String (unicode) list.

Use StringListIterator to access all elements into this collection.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

◆ StringList() [1/2]

StringList::StringList ( )

Constructor.

This creates an empty list.

Referenced by Clear().

◆ StringList() [2/2]

StringList::StringList ( const std::vector< std::wstring > & v)

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

◆ Add()

void StringList::Add ( const std::wstring & str)
inline

Adds a String at the end of the list.

Parameters
str[in] String.

◆ Count()

int32_t StringList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.

◆ Iterator()

StringListIterator * StringList::Iterator ( )

Gets a new StringListIterator.

Returns
StringListIterator instance.

The documentation for this class was generated from the following file: