FDO API Reference Feature Data Objects

FdoVector Class Reference

#include <Vector.h>

Inherits FdoCollection< FdoVectorElement, FdoException >.

Inheritance diagram for FdoVector:

Inheritance graph
[legend]
List of all members.

Detailed Description

FdoVector is a one-dimensional collection of numbers.

Definition at line 99 of file Vector.h.


Public Member Functions

FDO_API_COMMON int Add (double value)
 Adds a number to the end of this vector.
FDO_API_COMMON void Append (const FdoVector *src)
 Appends the numbers from src to the end of this vector.
FDO_API_COMMON double GetValue (int index) const
 Gets the number in the vector at the specified index. Throws an invalid argument exception if the index is out of range.
FDO_API_COMMON FdoStringP ToString (const FdoString *separator=L", ")
 Concatenates the numbers in this collection.

Static Public Member Functions

static FDO_API_COMMON FdoVectorCreate (const FdoStringP &inString, const FdoString *delimiters, bool bNullTokens=false)
 Creates a vector that is tokenize from a string. The vector contains an element for each token. Non-numberic tokens become 0.0.
static FDO_API_COMMON FdoVectorCreate (const FdoVector *src)
 Creates a copy of a vector.
static FDO_API_COMMON FdoVectorCreate (void)
 Constructs a new empty vector.

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.