This class describes an option's type, linked variable, and constraint.
Synopsis
Declared in <balcl_typeinfo.h>
class TypeInfo;
Description
This is an attribute class that describes the type, the variable to be linked, and the constraint on an option. Note that the constraint type is opaque, but it is possible to apply the constraint to an element of the same type as the option and see whether it is valid (using the satisfiesConstraint methods of TypeInfoUtil).
Enums
Name |
Description |
Enumerate the sources of input when parsing an option type. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Return the allocator used by this object to supply memory. |
|
Return a shared pointer to the constraint associated with the described option. |
|
Return |
|
Return the address of the modifiable variable linked to the described option, or 0 if no variable is linked. |
|
Format this object to the specified output |
|
Reset this object so that it no longer has a constraint. |
|
Reset this object so that it has neither a linked variable nor a constraint. |
|
|
|
|
|
Return the type of the described option. Note that the option is a flag if it is of type |
|
|
Nested trait declaration for |
Data Members
Name |
Description |
memory allocator (held) |
|
constraint on the option value |
|
type of the option value |
|
|
|
Address of the variable linked to this option value (held, not owned). |
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs