lestes::md::functions::function_parameter_accessor_base Class Reference

Interface used for accessing function's parameters within the function. More...

#include <function_parameter_accessor_base.g.hh>

Inheritance diagram for lestes::md::functions::function_parameter_accessor_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::lang::cplus::sem::ss_function_declarationfunction_get () const
 The method function_get returns the value of the field function_parameter_accessor_base::function.
void function_set (const ptr< ::lestes::lang::cplus::sem::ss_function_declaration > &)
 The method function_set sets the field function_parameter_accessor_base::function to the given value.
virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factoryget_parameter (ulint index) override
 Gets parameter at given index.
virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factoryget_this () override
 Gets secret "this" parameter.
virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factoryget_ret_val () override
 Gets secret parameter for returning value from the function.
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

 function_parameter_accessor_base (ptr< ::lestes::lang::cplus::sem::ss_function_declaration > a__function_parameter_accessor_base__function)
 Generated constructor for class function_parameter_accessor_base.
virtual void gc_mark ()
 Marking routine for class function_parameter_accessor_base.

Private Attributes

srp< ::lestes::lang::cplus::sem::ss_function_declarationfunction
 Declaration of the function.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Interface used for accessing function's parameters within the function.

Note: A concrete derived class is target dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/md/functions/ directory.


Constructor & Destructor Documentation

lestes::md::functions::function_parameter_accessor_base::function_parameter_accessor_base ( ptr< ::lestes::lang::cplus::sem::ss_function_declaration a__function_parameter_accessor_base__function  )  [protected]

Generated constructor for class function_parameter_accessor_base.

Generated constructor for class function_parameter_accessor_base.

Author:
lsg


Member Function Documentation

ptr<::lestes::lang::cplus::sem::ss_function_declaration > lestes::md::functions::function_parameter_accessor_base::function_get (  )  const

The method function_get returns the value of the field function_parameter_accessor_base::function.

Returns:
The value of function_parameter_accessor_base::function.
Author:
lsg

void lestes::md::functions::function_parameter_accessor_base::function_set ( const ptr< ::lestes::lang::cplus::sem::ss_function_declaration > &  x  ) 

The method function_set sets the field function_parameter_accessor_base::function to the given value.

Parameters:
[in] x The new value to set function_parameter_accessor_base::function to.
Author:
lsg

virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factory > lestes::md::functions::function_parameter_accessor_base::get_parameter ( ulint  index  )  [pure virtual]

Gets parameter at given index.

Implemented in lestes::md::functions::function_parameter_accessor.

virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factory > lestes::md::functions::function_parameter_accessor_base::get_this (  )  [pure virtual]

Gets secret "this" parameter.

Implemented in lestes::md::functions::function_parameter_accessor.

virtual ptr< ::lestes::backend_v2::intercode::pi_mem_factory > lestes::md::functions::function_parameter_accessor_base::get_ret_val (  )  [pure virtual]

Gets secret parameter for returning value from the function.

Implemented in lestes::md::functions::function_parameter_accessor.

ptr< object::reflection_list > lestes::md::functions::function_parameter_accessor_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::functions::function_parameter_accessor.

ptr< object::field_list_list > lestes::md::functions::function_parameter_accessor_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::functions::function_parameter_accessor.

void lestes::md::functions::function_parameter_accessor_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class function_parameter_accessor_base.

Marking routine is used for garbage collection.

Author:
lsg

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

Reimplemented in lestes::md::functions::function_parameter_accessor.


Member Data Documentation

srp< ::lestes::lang::cplus::sem::ss_function_declaration > lestes::md::functions::function_parameter_accessor_base::function [private]

Declaration of the function.

ptr< object::reflection_list > lestes::md::functions::function_parameter_accessor_base::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::functions::function_parameter_accessor.


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