FDO API Reference | Feature Data Objects |
#include <StringCollection.h>
Inherits FdoCollection< FdoStringElement, FdoException >.
Inheritance diagram for FdoStringCollection:
Definition at line 81 of file StringCollection.h.
Public Member Functions | |
FDO_API_COMMON int | Add (FdoStringP src) |
Adds a string to the end of this collection. | |
FDO_API_COMMON void | Append (const FdoStringCollection &src) |
Appends the strings from src to the end of this collection. | |
FDO_API_COMMON FdoString * | GetString (int index) const |
Gets the string in the collection at the specified index. Throws an invalid argument exception if the index is out of range. | |
virtual FDO_API_COMMON FdoInt32 | IndexOf (FdoStringP value, FdoBoolean caseSensitive=true) const |
Given a string, returns its position in this collection. | |
FDO_API_COMMON FdoStringP | ToString (const FdoString *separator=L", ") |
Concatenates the strings in this collection. | |
Static Public Member Functions | |
static FDO_API_COMMON FdoStringCollection * | Create (const FdoStringP &inString, const FdoString *delimiters, bool bNullTokens=false) |
Creates a string collection that is tokenize from a string. The collection contains an element for each token. | |
static FDO_API_COMMON FdoStringCollection * | Create (const FdoStringCollection *src) |
Creates a copy of string collection. | |
static FDO_API_COMMON FdoStringCollection * | Create (const FdoStringCollection &src) |
Creates a copy of string collection. | |
static FDO_API_COMMON FdoStringCollection * | Create (void) |
Constructs a new empty string collection. | |
Protected Member Functions | |
virtual FDO_API_COMMON void | Dispose () |
Dispose this object. |
Comments or suggestions? Send us feedback. |