All Classes Namespaces Files Functions Pages
Capability.Value Class Reference

The Capability Value class. More...

Methods

 Boolean.Get
 Returns the value as a boolean. More...
 
 Description.Get
 Returns a textual description of the object.
 
 Integer.Get
 Returns the value as an integer. More...
 
 Parent.Get
 Returns the parent object.
 
 String.Get
 Returns the value as a string. More...
 
 Type.Get
 Returns the type of value. More...
 

Class overview

The Capability Value class.

A capability ( Capability ) can have a different type of value ( INTEGER,BOOLEAN,STRING ). Using TypeGet you can discover the value-type and then use the corresponding getter to get the real value

Definition at line 3070 of file api.tcl.

Method documentation

Capability.Value::Boolean.Get

Returns the value as a boolean.

Example
1 $capabilityValue Boolean.Get

Returns:

0 

Definition at line 3080 of file api.tcl.

Capability.Value::Integer.Get

Returns the value as an integer.

Example
1 $capabilityValue Integer.Get

Returns:

0 

Definition at line 3095 of file api.tcl.

Capability.Value::String.Get

Returns the value as a string.

Example
1 $capabilityValue String.Get

Returns:

0 

Definition at line 3110 of file api.tcl.

Capability.Value::Type.Get

Returns the type of value.

Example
1 $capabilityValue Type.Get

Returns:

INTEGER 

Definition at line 3120 of file api.tcl.