struct CrlTypeBox / crl_type_box_t
Concrete Class
Description
The value must be a box containing another value.
FIXME: Note that currently, only emply boxes can be read. You
cannot specify the type of the item stored in the box in
the type declaration.
FIXME: Currently, no abstract classes (i.e., routine item) may be
given in type checking, since the exact klass_id() is
required. We'd need a dynamic checker
(e.g. Object::as (int)) to make this work.
Kinship
Immediate super class: TypeAny
Slots
Inherited Slots
Members
Inherited Members
Detailed Descriptions
#if CRL_NEED_TYPE_BOX
Type * element () const
Reader of slot 'element': Type of the element.
To write this slot, use set_element()/reset_element().
This reader is NULL safe; for this == NULL, it returns NULL.
#if CRL_NEED_TYPE_BOX
void set_element (Type *)
Writer of slot 'element': Type of the element.
To read this slot, use element().
This writer must not be invoked with this == NULL.
#if CRL_NEED_TYPE_BOX
void reset_element ()
NULL writer of slot 'element': Type of the element.
To read this slot, use element().
This writer must not be invoked with this == NULL.
#if CRL_NEED_TYPE_BOX
[constructor] CrlTypeBox ()
#if CRL_NEED_TYPE_BOX
[constructor] CrlTypeBox (Type *)
#if CRL_NEED_TYPE_BOX
[constructor] CrlTypeBox (TypeBox const &)
#if CRL_NEED_TYPE_BOX
void operator= (TypeBox const &)
#if CRL_NEED_TYPE_BOX
virtual Type const * v_box () const
This function redirects execution to element().
The implementation is NULL-safe; for this == NULL, this function returns NULL.
Occurrences of CrlTypeBox