lestes::backend_v2::intercode::pi_mem_factory Class Reference

Represents place in memory. More...

#include <pi_mem_factory.g.hh>

Inheritance diagram for lestes::backend_v2::intercode::pi_mem_factory:

Inheritance graph
[legend]
List of all members.

Public Types

enum  kind_type {
  MF_DECL, MF_LIT, MF_STACK, MF_PREG,
  MF_TEMP, MF_MEMBER, MF_PTR_DEREF
}

Public Member Functions

ptr< ::lestes::md::mem::allocator_baseallocator_get () const
 The method allocator_get returns the value of the field pi_mem_factory::allocator.
void allocator_set (const ptr< ::lestes::md::mem::allocator_base > &)
 The method allocator_set sets the field pi_mem_factory::allocator to the given value.
ptr< ::lestes::md::types::tm_data_type_basetype_get () const
 The method type_get returns the value of the field pi_mem_factory::type.
void type_set (const ptr< ::lestes::md::types::tm_data_type_base > &)
 The method type_set sets the field pi_mem_factory::type to the given value.
virtual kind_type kind_get () override
virtual ptr< ::lestes::backend_v2::intercode::pi_memget_mem (ptr< ::lestes::backend_v2::intercode::pi_pi > origin) override
virtual ptr< ::lestes::backend_v2::intercode::ge_operand_memget_ge_mem (ptr< ::lestes::backend_v2::intercode::ge_pi > origin) override
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

 pi_mem_factory (ptr< ::lestes::md::mem::allocator_base > a__pi_mem_factory__allocator, ptr< ::lestes::md::types::tm_data_type_base > a__pi_mem_factory__type)
 Generated constructor for class pi_mem_factory.
virtual void gc_mark ()
 Marking routine for class pi_mem_factory.

Private Attributes

srp< ::lestes::md::mem::allocator_baseallocator
 An allocator that has allocated the factory.
srp< ::lestes::md::types::tm_data_type_basetype
 A data type of factory.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Represents place in memory.

Instance of pi_mem_factory represents unique place in memory. It can create instances of pi-level or ge-level memory operands, that allows accessing this place.


Member Enumeration Documentation

enum lestes::backend_v2::intercode::pi_mem_factory::kind_type

Enumerator:
MF_DECL 
MF_LIT 
MF_STACK 
MF_PREG 
MF_TEMP 
MF_MEMBER 
MF_PTR_DEREF 


Constructor & Destructor Documentation

lestes::backend_v2::intercode::pi_mem_factory::pi_mem_factory ( ptr< ::lestes::md::mem::allocator_base a__pi_mem_factory__allocator,
ptr< ::lestes::md::types::tm_data_type_base a__pi_mem_factory__type 
) [protected]

Generated constructor for class pi_mem_factory.

Generated constructor for class pi_mem_factory.

Author:
lsg


Member Function Documentation

ptr<::lestes::md::mem::allocator_base > lestes::backend_v2::intercode::pi_mem_factory::allocator_get (  )  const

The method allocator_get returns the value of the field pi_mem_factory::allocator.

Returns:
The value of pi_mem_factory::allocator.
Author:
lsg

void lestes::backend_v2::intercode::pi_mem_factory::allocator_set ( const ptr< ::lestes::md::mem::allocator_base > &  x  ) 

The method allocator_set sets the field pi_mem_factory::allocator to the given value.

Parameters:
[in] x The new value to set pi_mem_factory::allocator to.
Author:
lsg

ptr<::lestes::md::types::tm_data_type_base > lestes::backend_v2::intercode::pi_mem_factory::type_get (  )  const

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

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

void lestes::backend_v2::intercode::pi_mem_factory::type_set ( const ptr< ::lestes::md::types::tm_data_type_base > &  x  ) 

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

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

virtual kind_type lestes::backend_v2::intercode::pi_mem_factory::kind_get (  )  [pure virtual]

Implemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.

virtual ptr< ::lestes::backend_v2::intercode::pi_mem > lestes::backend_v2::intercode::pi_mem_factory::get_mem ( ptr< ::lestes::backend_v2::intercode::pi_pi origin  )  [pure virtual]

Implemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.

virtual ptr< ::lestes::backend_v2::intercode::ge_operand_mem > lestes::backend_v2::intercode::pi_mem_factory::get_ge_mem ( ptr< ::lestes::backend_v2::intercode::ge_pi origin  )  [pure virtual]

Implemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.

ptr< object::reflection_list > lestes::backend_v2::intercode::pi_mem_factory::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.

ptr< object::field_list_list > lestes::backend_v2::intercode::pi_mem_factory::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.

void lestes::backend_v2::intercode::pi_mem_factory::gc_mark ( void   )  [protected, virtual]

Marking routine for class pi_mem_factory.

Marking routine is used for garbage collection.

Author:
lsg

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

Reimplemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.


Member Data Documentation

srp< ::lestes::md::mem::allocator_base > lestes::backend_v2::intercode::pi_mem_factory::allocator [private]

An allocator that has allocated the factory.

srp< ::lestes::md::types::tm_data_type_base > lestes::backend_v2::intercode::pi_mem_factory::type [private]

A data type of factory.

ptr< object::reflection_list > lestes::backend_v2::intercode::pi_mem_factory::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::backend_v2::intercode::pi_mf_stack, lestes::backend_v2::intercode::pi_mf_decl, lestes::backend_v2::intercode::pi_mf_lit, lestes::backend_v2::intercode::pi_mf_member, lestes::backend_v2::intercode::pi_mf_preg, and lestes::backend_v2::intercode::pi_mf_ptr_deref.


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