class Completion

# class Completion | Handle for a Completion type. More...
Full name | `KJS::Completion`
Definition | `#include <types.h>`
Inherits | KJS::Value [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- Completion (ComplType c = Normal, const Value& v = Value(), const UString &t = UString::null)
- Completion (CompletionImp *v)
- Completion (const Completion &v)
- virtual ~Completion ()
- Completion& operator= (const Completion &v)
- ComplType complType () const
- Value value () const
- UString target () const
- bool isValueCompletion () const

#### Public Static Methods

- static Completion dynamicCast (const Value &v)

## Detailed Description

Completion objects are used to convey the return status and value from functions.

See FunctionImp::execute()

See also: FunctionImp

Completion (ComplType c = Normal, const Value& v = Value(), const UString &t = UString::null) | ### Completion

Completion (CompletionImp *v) | ### Completion

Completion (const Completion &v) | ### Completion

~Completion () | ### ~Completion

[virtual]

Completion& operator= (const Completion &v) | ### operator=

Reimplemented from Value.

Completion dynamicCast (const Value &v) | ### dynamicCast

[static]

Converts a Value into an Completion. If the value's type is not CompletionType, a null object will be returned (i.e. one with it's internal pointer set to 0). If you do not know for sure whether the value is of type CompletionType, you should check the isNull() methods afterwards before calling any methods on the returned value.

Returns: The value converted to an Completion

ComplType complType () | ### complType

[const]

Value value () | ### value

[const]

UString target () | ### target

[const]

bool isValueCompletion () | ### isValueCompletion

[const]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:28 2003, using kdoc 2.0a54.