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 | |
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. | |
FDO_API_COMMON FdoStringCollection * | Create (const FdoStringCollection *src) |
Creates a copy of string collection. | |
FDO_API_COMMON FdoStringCollection * | Create (const FdoStringCollection &src) |
Creates a copy of string collection. | |
FDO_API_COMMON FdoStringCollection * | Create (void) |
Constructs a new empty string collection. | |
Protected Member Functions | |
virtual FDO_API_COMMON void | Dispose () |
| |
FDO_API_COMMON | FdoStringCollection (const FdoStringP &inString, const FdoString *delimiters, bool bNullTokens=false) |
FDO_API_COMMON | FdoStringCollection (const FdoStringCollection *src) |
FDO_API_COMMON | FdoStringCollection (const FdoStringCollection &src) |
FDO_API_COMMON | FdoStringCollection (void) |
DOXYGEN-IGNORE | |
virtual FDO_API_COMMON | ~FdoStringCollection (void) |
|
DOXYGEN-IGNORE
|
|
|
|
|
|
|
|
|
|
Adds a string to the end of this collection.
|
|
Appends the strings from src to the end of this collection.
|
|
Creates a string collection that is tokenize from a string. The collection contains an element for each token.
|
|
Creates a copy of string collection.
|
|
Creates a copy of string collection.
|
|
Constructs a new empty string collection.
|
|
Implements FdoIDisposable. Definition at line 197 of file StringCollection.h. References FDO_API_COMMON. |
|
Gets the string in the collection at the specified index. Throws an invalid argument exception if the index is out of range.
|
|
Given a string, returns its position in this collection.
|
|
Concatenates the strings in this collection.
|
Comments or suggestions? Send us feedback. |