FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoSingleValue Class Reference

#include <SingleValue.h>

Inherits FdoDataValue.

Inheritance diagram for FdoSingleValue:

[legend]
List of all members.

Detailed Description

The FdoSingleValue class derives from FdoDataValue and represents a single precision floating point number.

Definition at line 32 of file SingleValue.h.


Public Member Functions

FDO_API FdoDataType GetDataType ()
 Gets the data type of the FdoSingleValue.
FDO_API float GetSingle ()
 Gets the FdoSingleValue as a single precision floating point number.
FDO_API operator float ()
 A cast operator to get the floating point value.
FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoSingleValue to the appropriate expression processor operation.
FDO_API void SetSingle (float value)
 Sets the FdoSingleValue as a single precision floating point number.
FDO_API FdoStringToString ()
 Returns the well defined text representation of this expression.

Static Public Member Functions

FDO_API FdoSingleValueCreate (float value)
 Constructs a default instance of an FdoSingleValue using the specified arguments.
FDO_API FdoSingleValueCreate ()
 Constructs a default instance of an FdoSingleValue with a value of null.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoSingleValue (float value)
 Constructs a default instance of an FdoSingleValue using the specified arguments.
 FdoSingleValue ()
 DOXYGEN-IGNORE Constructs a default instance of an FdoSingleValue with a value of null.
virtual ~FdoSingleValue ()
 Default destructor for FdoSingleValue.

Protected Attributes

float m_data

Constructor & Destructor Documentation

FdoSingleValue::FdoSingleValue  )  [protected]
 

DOXYGEN-IGNORE Constructs a default instance of an FdoSingleValue with a value of null.

Returns:
Returns nothing

FdoSingleValue::FdoSingleValue float  value  )  [protected]
 

Constructs a default instance of an FdoSingleValue using the specified arguments.

Parameters:
value Input a single precision floating point value
Returns:
Returns nothing

virtual FdoSingleValue::~FdoSingleValue  )  [protected, virtual]
 

Default destructor for FdoSingleValue.


Member Function Documentation

FDO_API FdoSingleValue* FdoSingleValue::Create float  value  )  [static]
 

Constructs a default instance of an FdoSingleValue using the specified arguments.

Parameters:
value Input a single precision floating point value
Returns:
Returns the created FdoSingleValue

Reimplemented from FdoDataValue.

FDO_API FdoSingleValue* FdoSingleValue::Create  )  [static]
 

Constructs a default instance of an FdoSingleValue with a value of null.

Returns:
Returns the created FdoSingleValue

virtual void FdoSingleValue::Dispose  )  [protected, virtual]
 

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

FDO_API FdoDataType FdoSingleValue::GetDataType  )  [virtual]
 

Gets the data type of the FdoSingleValue.

Returns:
Returns an FdoDataType

Implements FdoDataValue.

FDO_API float FdoSingleValue::GetSingle  ) 
 

Gets the FdoSingleValue as a single precision floating point number.

Returns:
Returns a single precision floating point value

FDO_API FdoSingleValue::operator float  )  [inline]
 

A cast operator to get the floating point value.

Returns:
Returns a single precision floating point value

Definition at line 135 of file SingleValue.h.

References FDO_API.

FDO_API void FdoSingleValue::Process FdoIExpressionProcessor p  )  [virtual]
 

Overrides FdoExpression.Process to pass the FdoSingleValue to the appropriate expression processor operation.

Parameters:
p Input an FdoIExpressionProcessor
Returns:
Returns nothing

Implements FdoExpression.

FDO_API void FdoSingleValue::SetSingle float  value  ) 
 

Sets the FdoSingleValue as a single precision floating point number.

Parameters:
value Input a single precision floating point value
Returns:
Returns nothing

FDO_API FdoString* FdoSingleValue::ToString  )  [virtual]
 

Returns the well defined text representation of this expression.

Returns:
Returns a character string

Implements FdoExpression.


Member Data Documentation

float FdoSingleValue::m_data [protected]
 

Definition at line 141 of file SingleValue.h.


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