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

FdoInt64Value Class Reference

#include <Int64Value.h>

Inherits FdoDataValue.

Inherited by FdoIntBinValue, and FdoIntHexValue.

Inheritance diagram for FdoInt64Value:

[legend]
List of all members.

Detailed Description

The FdoInt64Value class derives from FdoDataValue and represents a 64-bit signed integer value.

Definition at line 32 of file Int64Value.h.


Public Member Functions

FDO_API FdoDataType GetDataType ()
 Gets the data type of the FdoInt64Value.
FDO_API FdoInt64 GetInt64 ()
 Gets the FdoInt64Value.
FDO_API operator FdoInt64 ()
 A cast operator to get the integer value.
FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoInt64Value to the appropriate expression processor operation.
FDO_API void SetInt64 (FdoInt64 value)
 Sets the FdoInt64Value.
FDO_API FdoStringToString ()
 Returns the well defined text representation of this expression.

Static Public Member Functions

FDO_API FdoInt64ValueCreate (FdoInt64 value)
 Constructs a default instance of an FdoInt64Value using the specified arguments.
FDO_API FdoInt64ValueCreate ()
 Constructs a default instance of an FdoInt64Value with a value of null.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
virtual FdoCompareType DoCompare (FdoDataValue *other)
 Type-specific comparison function. Each sub-class has its own implementation.
 FdoInt64Value (FdoInt64 value)
 Constructs a default instance of an FdoInt64Value using the specified arguments.
 FdoInt64Value ()
 Constructs a default instance of an FdoInt64Value with a value of null.
virtual ~FdoInt64Value ()
 Default destructor for FdoInt64Value.

Static Protected Member Functions

FdoInt64ValueCreate (FdoDataValue *src, FdoBoolean truncate=false, FdoBoolean nullIfIncompatible=false)
 DOXYGEN-IGNORE Constructs an instance of an FdoInt64Value from another FdoDataValue.

Protected Attributes

FdoInt64 m_data

Friends

class FdoByteValue
 DOXYGEN-IGNORE
class FdoInt16Value
class FdoInt32Value

Constructor & Destructor Documentation

FdoInt64Value::FdoInt64Value  )  [protected]
 

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

Returns:
Returns nothing

FdoInt64Value::FdoInt64Value FdoInt64  value  )  [protected]
 

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

Parameters:
value Input a 64 bit integer
Returns:
Returns nothing

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

Default destructor for FdoInt64Value.


Member Function Documentation

FdoInt64Value* FdoInt64Value::Create FdoDataValue src,
FdoBoolean  truncate = false,
FdoBoolean  nullIfIncompatible = false
[static, protected]
 

DOXYGEN-IGNORE Constructs an instance of an FdoInt64Value from another FdoDataValue.

Parameters:
src Input the other FdoDataValue. Must be of one of the following types: FdoDataType_Byte FdoDataType_Int16 FdoDataType_Int32 FdoDataType_Int64
truncate Input in the future, will determine what to do if source value does not fit in the int64 number range: true - truncate the value to fit. false - throw an exception
nullIfIncompatible Input in the future, will determine what to do if source value type is not compatible with the FDO int64 type: true - return NULL. false - throw an exception
Returns:
Returns an FdoInt64Value

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

FDO_API FdoInt64Value* FdoInt64Value::Create FdoInt64  value  )  [static]
 

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

Parameters:
value Input a 64 bit integer
Returns:
Returns the created FdoInt64Value

Reimplemented from FdoDataValue.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

FDO_API FdoInt64Value* FdoInt64Value::Create  )  [static]
 

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

Returns:
Returns the created FdoInt64Value

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

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

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

virtual FdoCompareType FdoInt64Value::DoCompare FdoDataValue other  )  [protected, virtual]
 

Type-specific comparison function. Each sub-class has its own implementation.

Parameters:
other Input the other data value
Returns:
Returns: FdoCompareType_Equal when this and the other value are equal or both null. FdoCompareType_Greater when this value is greater than the other value FdoCompareType_Less when this value is less than the other value FdoCompareType_Undefined when these two values cannot be compared. Cases where this happens are:
  • one value is null and the other is not null
  • the values have incompatible types (e.g. Int32 and DateTime).
Base implementation always returns FdoCompareType_Undefined.

Reimplemented from FdoDataValue.

FDO_API FdoDataType FdoInt64Value::GetDataType  )  [virtual]
 

Gets the data type of the FdoInt64Value.

Returns:
Returns an FdoDataType

Implements FdoDataValue.

FDO_API FdoInt64 FdoInt64Value::GetInt64  ) 
 

Gets the FdoInt64Value.

Returns:
Returns a 64 bit integer

FDO_API FdoInt64Value::operator FdoInt64  )  [inline]
 

A cast operator to get the integer value.

Returns:
Returns a 64 bit integer

Definition at line 138 of file Int64Value.h.

References FDO_API.

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

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

Parameters:
p Input an FdoIExpressionProcessor
Returns:
Returns nothing

Implements FdoExpression.

FDO_API void FdoInt64Value::SetInt64 FdoInt64  value  ) 
 

Sets the FdoInt64Value.

Parameters:
value Input a 64 bit integer
Returns:
Returns nothing

FDO_API FdoString* FdoInt64Value::ToString  )  [virtual]
 

Returns the well defined text representation of this expression.

Returns:
Returns a character string

Implements FdoExpression.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.


Friends And Related Function Documentation

friend class FdoByteValue [friend]
 

DOXYGEN-IGNORE

Reimplemented from FdoDataValue.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

Definition at line 35 of file Int64Value.h.

friend class FdoInt16Value [friend]
 

Reimplemented from FdoDataValue.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

Definition at line 36 of file Int64Value.h.

friend class FdoInt32Value [friend]
 

Reimplemented from FdoDataValue.

Reimplemented in FdoIntBinValue, and FdoIntHexValue.

Definition at line 37 of file Int64Value.h.


Member Data Documentation

FdoInt64 FdoInt64Value::m_data [protected]
 

Definition at line 177 of file Int64Value.h.


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