lestes::md::types::tm_dt_struct_member_base Class Reference

Struct data field. More...

#include <tm_data_type_base.g.hh>

Inheritance diagram for lestes::md::types::tm_dt_struct_member_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ulint offset_get () const
 The method offset_get returns the value of the field tm_dt_struct_member_base::offset.
void offset_set (ulint)
 The method offset_set sets the field tm_dt_struct_member_base::offset to the given value.
ulint bitwidth_get () const
 The method bitwidth_get returns the value of the field tm_dt_struct_member_base::bitwidth.
void bitwidth_set (ulint)
 The method bitwidth_set sets the field tm_dt_struct_member_base::bitwidth to the given value.
ptr< tm_data_type_basetype_get () const
 The method type_get returns the value of the field tm_dt_struct_member_base::type.
void type_set (const ptr< tm_data_type_base > &)
 The method type_set sets the field tm_dt_struct_member_base::type to the given value.
ptr< ::lestes::lang::cplus::sem::ss_declarationss_decl_get () const
 The method ss_decl_get returns the value of the field tm_dt_struct_member_base::ss_decl.
void ss_decl_set (const ptr< ::lestes::lang::cplus::sem::ss_declaration > &)
 The method ss_decl_set sets the field tm_dt_struct_member_base::ss_decl to the given value.
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

 tm_dt_struct_member_base (ulint a__tm_dt_struct_member_base__offset, ulint a__tm_dt_struct_member_base__bitwidth, ptr< tm_data_type_base > a__tm_dt_struct_member_base__type, ptr< ::lestes::lang::cplus::sem::ss_declaration > a__tm_dt_struct_member_base__ss_decl)
 Generated constructor for class tm_dt_struct_member_base.
virtual void gc_mark ()
 Marking routine for class tm_dt_struct_member_base.

Private Attributes

ulint offset
 Field's offset within struct.
ulint bitwidth
 Field's bitwidth.
srp< tm_data_type_basetype
 Field's data type.
srp< ::lestes::lang::cplus::sem::ss_declarationss_decl
 Field's declaration passed from higher-level.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Struct data field.

Represents data field of a tm_dt_struct_base datatype.

Concrete implementation is target machine-dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/backend/target/ directory.


Constructor & Destructor Documentation

lestes::md::types::tm_dt_struct_member_base::tm_dt_struct_member_base ( ulint  a__tm_dt_struct_member_base__offset,
ulint  a__tm_dt_struct_member_base__bitwidth,
ptr< tm_data_type_base a__tm_dt_struct_member_base__type,
ptr< ::lestes::lang::cplus::sem::ss_declaration a__tm_dt_struct_member_base__ss_decl 
) [protected]

Generated constructor for class tm_dt_struct_member_base.

Generated constructor for class tm_dt_struct_member_base.

Author:
lsg


Member Function Documentation

ulint lestes::md::types::tm_dt_struct_member_base::offset_get (  )  const

The method offset_get returns the value of the field tm_dt_struct_member_base::offset.

Returns:
The value of tm_dt_struct_member_base::offset.
Author:
lsg

void lestes::md::types::tm_dt_struct_member_base::offset_set ( ulint  x  ) 

The method offset_set sets the field tm_dt_struct_member_base::offset to the given value.

Parameters:
[in] x The new value to set tm_dt_struct_member_base::offset to.
Author:
lsg

ulint lestes::md::types::tm_dt_struct_member_base::bitwidth_get (  )  const

The method bitwidth_get returns the value of the field tm_dt_struct_member_base::bitwidth.

Returns:
The value of tm_dt_struct_member_base::bitwidth.
Author:
lsg

void lestes::md::types::tm_dt_struct_member_base::bitwidth_set ( ulint  x  ) 

The method bitwidth_set sets the field tm_dt_struct_member_base::bitwidth to the given value.

Parameters:
[in] x The new value to set tm_dt_struct_member_base::bitwidth to.
Author:
lsg

ptr< tm_data_type_base > lestes::md::types::tm_dt_struct_member_base::type_get ( void   )  const

The method type_get returns the value of the field tm_dt_struct_member_base::type.

Returns:
The value of tm_dt_struct_member_base::type.
Author:
lsg

void lestes::md::types::tm_dt_struct_member_base::type_set ( const ptr< tm_data_type_base > &  x  ) 

The method type_set sets the field tm_dt_struct_member_base::type to the given value.

Parameters:
[in] x The new value to set tm_dt_struct_member_base::type to.
Author:
lsg

ptr<::lestes::lang::cplus::sem::ss_declaration > lestes::md::types::tm_dt_struct_member_base::ss_decl_get (  )  const

The method ss_decl_get returns the value of the field tm_dt_struct_member_base::ss_decl.

Returns:
The value of tm_dt_struct_member_base::ss_decl.
Author:
lsg

void lestes::md::types::tm_dt_struct_member_base::ss_decl_set ( const ptr< ::lestes::lang::cplus::sem::ss_declaration > &  x  ) 

The method ss_decl_set sets the field tm_dt_struct_member_base::ss_decl to the given value.

Parameters:
[in] x The new value to set tm_dt_struct_member_base::ss_decl to.
Author:
lsg

ptr< object::reflection_list > lestes::md::types::tm_dt_struct_member_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::tm_dt_struct_member.

ptr< object::field_list_list > lestes::md::types::tm_dt_struct_member_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::tm_dt_struct_member.

void lestes::md::types::tm_dt_struct_member_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class tm_dt_struct_member_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::mem::keystone.

Reimplemented in lestes::md::types::tm_dt_struct_member.


Member Data Documentation

ulint lestes::md::types::tm_dt_struct_member_base::offset [private]

Field's offset within struct.

ulint lestes::md::types::tm_dt_struct_member_base::bitwidth [private]

Field's bitwidth.

srp< tm_data_type_base > lestes::md::types::tm_dt_struct_member_base::type [private]

Field's data type.

srp< ::lestes::lang::cplus::sem::ss_declaration > lestes::md::types::tm_dt_struct_member_base::ss_decl [private]

Field's declaration passed from higher-level.

It is used to access the field in struct.

ptr< object::reflection_list > lestes::md::types::tm_dt_struct_member_base::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::tm_dt_struct_member.


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