class Completion

Handle for a Completion type. More...

Full nameKJS::Completion
Definition#include <types.h>
InheritsKJS::Value [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


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: dfaure on faure on Tue Apr 16 08:50:27 2002, using kdoc 2.0a53.