ACT Library
Loading...
Searching...
No Matches
Private Member Functions | List of all members
PInts Class Reference

Unused. Originally pint and pints were supposed to be unsigned and signed integers. Now pint is a signed integer. More...

#include <types.h>

Inheritance diagram for PInts:
Type

Private Member Functions

const char * getName ()
 destructor
 
TypeExpand (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 TypeExpand (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)
 

Detailed Description

Unused. Originally pint and pints were supposed to be unsigned and signed integers. Now pint is a signed integer.

Member Function Documentation

◆ Expand()

Type * PInts::Expand ( ActNamespace ns,
Scope s,
int  nt,
inst_param ip 
)
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().

Parameters
nsis the namespace
sis the evaluation scope
ntare the number of template parameters for this type
ipis the parameter name
Returns
an expanded type

Implements Type.

◆ getName()

const char * PInts::getName ( )
inlineprivatevirtual

destructor

Returns
a string corresponding to the full type name for the specified type. This should not be free'd.

Implements Type.

◆ isEqual()

int PInts::isEqual ( const Type t) const
inlineprivatevirtual

Check if two types are equal to each other.

Parameters
tis the type to compare against
Returns
the result of comparing two types

Implements Type.


The documentation for this class was generated from the following file: