ACT Library
|
Used to represent the built-in ACT bool datatype. More...
#include <types.h>
Private Member Functions | |
const char * | getName () |
Type * | Expand (ActNamespace *, Scope *, int, inst_param *) |
int | isEqual (const Type *t) const |
Additional Inherited Members | |
Public Types inherited from Type | |
enum | direction { NONE = 0 , IN = 1 , OUT = 2 , INOUT = 3 , OUTIN = 4 } |
Public Member Functions inherited from Type | |
Type () | |
~Type () | |
constructor | |
virtual const char * | getName ()=0 |
destructor | |
virtual Type * | Expand (ActNamespace *ns, Scope *s, int nt, inst_param *ip)=0 |
virtual int | isEqual (const Type *t) const =0 |
Static Public Member Functions inherited from Type | |
static void | Init () |
static const char * | dirstring (direction d) |
Used to represent the built-in ACT bool datatype.
|
inlineprivatevirtual |
This is used to expand the type, substituting any template parameters. These parameters are used for templated built-in types like int<>, chan(), and ptype().
ns | is the namespace |
s | is the evaluation scope |
nt | are the number of template parameters for this type |
ip | is the parameter name |
Implements Type.
|
inlineprivatevirtual |
Implements Type.
|
inlineprivatevirtual |
Check if two types are equal to each other.
t | is the type to compare against |
Implements Type.