Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CBooleanValue

class CBooleanValue: public CValue {
public:
    CBooleanValue();
    CBooleanValue(bool bValue);
    ~CBooleanValue();
public:
    int GetType();
    bool GetBoolean();
    };

Thie ECMAScript boolean value.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CBooleanValue ();
����������Constructs the boolean value.
CBooleanValue (bool bValue);
����������Constructs the boolean value with the specified initial content.
~CBooleanValue ();
����������Destroys the boolean value.

Function Summary
int GetType ();
����������Returns type of this value.
bool GetBoolean ();
����������Returns a boolean assigned to this value.

Constructor/Destructor Detail

CBooleanValue

CBooleanValue();

Constructs the boolean value.

The constructed value is initialized to false .

CBooleanValue

CBooleanValue(bool bValue);

Constructs the boolean value with the specified initial content.

Parameters:
bValue - the initial content

~CBooleanValue

~CBooleanValue();

Destroys the boolean value.

Function Detail

GetType

int GetType();

Returns type of this value.

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

GetBoolean

bool GetBoolean();

Returns a boolean assigned to this value.

Returns:
the boolean assigned to 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.