FDO API Reference Feature Data Objects

FdoStringCollection Class Reference

#include <StringCollection.h>

Inherits FdoCollection< FdoStringElement, FdoException >.

Inheritance diagram for FdoStringCollection:

Inheritance graph
[legend]
List of all members.

Detailed Description

FdoStringCollection is a collection of strings.

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 FdoStringGetString (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 FdoStringCollectionCreate (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 FdoStringCollectionCreate (const FdoStringCollection *src)
 Creates a copy of string collection.
static FDO_API_COMMON FdoStringCollectionCreate (const FdoStringCollection &src)
 Creates a copy of string collection.
static FDO_API_COMMON FdoStringCollectionCreate (void)
 Constructs a new empty string collection.

Protected Member Functions

virtual FDO_API_COMMON void Dispose ()
 Dispose this object.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.