lestes::md::literals::li_simple_base Class Reference

Simple literal. More...

#include <literal_info_base.g.hh>

Inheritance diagram for lestes::md::literals::li_simple_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ucn_string data_get () const
 The method data_get returns the value of the field li_simple_base::data.
void data_set (ucn_string)
 The method data_set sets the field li_simple_base::data to the given value.
virtual lstring get_asm_definition_val () override
 Returns asm string representing value of the literal.
virtual lstring get_asm_definition_type () override
 Returnd asm string representing datatype of the literal.
virtual kind_type kind_get ()
 Returns kind of literal info.
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Protected Member Functions

 li_simple_base (ptr< ::lestes::md::types::tm_data_type_base > a__literal_info_base__type, ucn_string a__li_simple_base__data)
 Generated constructor for class li_simple_base.
virtual void gc_mark ()
 Marking routine for class li_simple_base.

Private Attributes

ucn_string data
 Value of the literal.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Simple literal.

Its datatype is simple type ( e.g. integer(1), double(2.45e3) ).

Note: A concrete implementation is target-machine dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/md/literals/ directory.


Constructor & Destructor Documentation

lestes::md::literals::li_simple_base::li_simple_base ( ptr< ::lestes::md::types::tm_data_type_base a__literal_info_base__type,
ucn_string  a__li_simple_base__data 
) [protected]

Generated constructor for class li_simple_base.

Generated constructor for class li_simple_base.

Author:
lsg


Member Function Documentation

ucn_string lestes::md::literals::li_simple_base::data_get (  )  const

The method data_get returns the value of the field li_simple_base::data.

Returns:
The value of li_simple_base::data.
Author:
lsg

void lestes::md::literals::li_simple_base::data_set ( ucn_string  x  ) 

The method data_set sets the field li_simple_base::data to the given value.

Parameters:
[in] x The new value to set li_simple_base::data to.
Author:
lsg

virtual lstring lestes::md::literals::li_simple_base::get_asm_definition_val (  )  [pure virtual]

Returns asm string representing value of the literal.

Implements lestes::md::literals::literal_info_base.

Implemented in lestes::md::literals::li_simple.

virtual lstring lestes::md::literals::li_simple_base::get_asm_definition_type (  )  [pure virtual]

Returnd asm string representing datatype of the literal.

Implements lestes::md::literals::literal_info_base.

Implemented in lestes::md::literals::li_simple.

literal_info_base::kind_type lestes::md::literals::li_simple_base::kind_get (  )  [virtual]

Returns kind of literal info.

Implements lestes::md::literals::literal_info_base.

ptr< object::reflection_list > lestes::md::literals::li_simple_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::md::literals::literal_info_base.

Reimplemented in lestes::md::literals::li_simple.

ptr< object::field_list_list > lestes::md::literals::li_simple_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::md::literals::literal_info_base.

Reimplemented in lestes::md::literals::li_simple.

void lestes::md::literals::li_simple_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class li_simple_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::md::literals::literal_info_base.

Reimplemented in lestes::md::literals::li_simple.


Member Data Documentation

ucn_string lestes::md::literals::li_simple_base::data [private]

Value of the literal.

ptr< object::reflection_list > lestes::md::literals::li_simple_base::reflection = reflection [static, private]

Reimplemented from lestes::md::literals::literal_info_base.

Reimplemented in lestes::md::literals::li_simple.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:17 2007 for lestes by doxygen 1.5.1-20070107