class ElemInt32

32bit signed integer. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members


Detailed Description

static const char* id

id

static Hash _hash

_hash

void  set_hash (const Hash& x)

set_hash

The identifier [type] of the element.

Reimplemented from Element.

Hash  hash ()

hash

[const]

Reimplemented from Element.

 ElemInt32 ()

ElemInt32

 ElemInt32 (const char* c_str)

ElemInt32

Construct via c-style string.

This is necessary in order to create elements via the ElementFactory. If c_str is null, then the element is assigned a default value. Null c_str is used by the semantic checker, to obtain "dummy" elements for validity checks.

Parameters:

c_strinitialize via string, or assign default value if null.
 ElemInt32 (const int32_t val)

ElemInt32

string  str ()

str

[const]

Returns: string representation of integer

Reimplemented from Element.

int32_t  val ()

val

[const]

Returns: value of the element.

const char*  type ()

type

[const]

Reimplemented from Element.


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:27 2006, using kdoc $.