FdoStringValue Class Reference

The FdoStringValue class derives from FdoDataValue and represents a literal string. More...

#include <StringValue.h>

Inherits FdoDataValue.

List of all members.


Public Member Functions

FDO_API FdoDataType GetDataType ()
 Gets the data type of the FdoStringValue.
FDO_API FdoStringGetString ()
 Gets the FdoStringValue as a string.
FDO_API operator wchar_t * ()
 A cast operator to get the string.
FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoStringValue to the appropriate expression processor operation.
FDO_API void SetNull ()
 Sets the FdoStringValue to a null value.
FDO_API void SetString (FdoString *value)
 Sets the FdoStringValue as a string.
FDO_API FdoStringToString ()
 Returns the well defined text representation of this expression.

Static Public Member Functions

static FDO_API FdoStringValueCreate (FdoString *value)
 Constructs a default instance of an FdoStringValue using the specified arguments.
static FDO_API FdoStringValueCreate ()
 Constructs a default instance of an FdoStringValue with a value of null.

Protected Member Functions

template<class C >
C * ConvertFrom (bool nullIfIncompatible, bool shift, bool truncate, FdoString *sTO)
virtual FdoCompareType DoCompare (FdoDataValue *other)
FdoDataValueParse ()

Static Protected Member Functions

static FdoStringValueCreate (FdoDataValue *src, FdoBoolean nullIfIncompatible=false, FdoBoolean shift=true, FdoBoolean truncate=false)
 Constructs an instance of an FdoStringValue from another FdoDataValue.

Protected Attributes

size_t m_allocatedSize
wchar_t * m_data

Friends

class FdoBooleanValue
class FdoByteValue
class FdoDataValue
class FdoDateTimeValue
class FdoDecimalValue
class FdoDoubleValue
class FdoInt16Value
class FdoInt32Value
class FdoInt64Value
class FdoSingleValue

Detailed Description

The FdoStringValue class derives from FdoDataValue and represents a literal string.

Definition at line 32 of file StringValue.h.


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