Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CNumberValue

class CNumberValue: public CValue {
public:
    CNumberValue();
    CNumberValue(CNumber numValue);
    ~CNumberValue();
public:
    int GetType();
    CNumber GetNumber();
    };

The ECMAScript number value.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CNumber
Constructor/Destructor Summary
CNumberValue ();
����������Constructs the number value.
CNumberValue (CNumber numValue);
����������Constructs the number value with the specified initial content.
~CNumberValue ();
����������Destroys the number value.

Function Summary
int GetType ();
����������Returns type of this value.
CNumber GetNumber ();
����������Returns a number associated with this value.

Constructor/Destructor Detail

CNumberValue

CNumberValue();

Constructs the number value.

The number assigned to the constructed value if 0 .

CNumberValue

CNumberValue(CNumber numValue);

Constructs the number value with the specified initial content.

Parameters:
numValue - the initial content

~CNumberValue

~CNumberValue();

Destroys the number value.

Function Detail

GetType

int GetType();

Returns type of this value.

Returns:
the type of this value (that is, CValue::typeNumber )

GetNumber

CNumber GetNumber();

Returns a number associated with this value.

Returns:
the number associated with this value

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.