lestes::backend_v2::structs::pi_operands Class Reference

Operands of a pi_pi. More...

#include <pi_operands.g.hh>

Inheritance diagram for lestes::backend_v2::structs::pi_operands:

lestes::std::object lestes::std::mem::keystone List of all members.

Public Member Functions

ptr< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_operand > > > 
operands_input_get () const
 The method operands_input_get returns the value of the field pi_operands::operands_input.
void operands_input_set (const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > &)
 The method operands_input_set sets the field pi_operands::operands_input to the given value.
ptr< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_operand > > > 
operands_output_get () const
 The method operands_output_get returns the value of the field pi_operands::operands_output.
void operands_output_set (const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > &)
 The method operands_output_set sets the field pi_operands::operands_output to the given value.
ptr< ::lestes::std::vector<
srp< ::lestes::md::types::tm_data_type_base > > > 
operands_input_types_get () const
 The method operands_input_types_get returns the value of the field pi_operands::operands_input_types.
void operands_input_types_set (const ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > &)
 The method operands_input_types_set sets the field pi_operands::operands_input_types to the given value.
ptr< ::lestes::std::vector<
srp< ::lestes::md::types::tm_data_type_base > > > 
operands_output_types_get () const
 The method operands_output_types_get returns the value of the field pi_operands::operands_output_types.
void operands_output_types_set (const ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > &)
 The method operands_output_types_set sets the field pi_operands::operands_output_types to the given value.
ptr< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_sp > > > 
jmp_targets_get () const
 The method jmp_targets_get returns the value of the field pi_operands::jmp_targets.
void jmp_targets_set (const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > > &)
 The method jmp_targets_set sets the field pi_operands::jmp_targets 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

Static Public Member Functions

static ptr< pi_operandscreate (ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > a__pi_operands__operands_input, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > a__pi_operands__operands_output, ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > a__pi_operands__operands_input_types, ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > a__pi_operands__operands_output_types, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > > a__pi_operands__jmp_targets)
 First generated factory method for class pi_operands.

Protected Member Functions

 pi_operands (ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > a__pi_operands__operands_input, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > a__pi_operands__operands_output, ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > a__pi_operands__operands_input_types, ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > a__pi_operands__operands_output_types, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > > a__pi_operands__jmp_targets)
 Generated constructor for class pi_operands.
virtual void gc_mark ()
 Marking routine for class pi_operands.

Private Attributes

srp< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_operand > > > 
operands_input
 Input operands.
srp< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_operand > > > 
operands_output
 Output operands.
srp< ::lestes::std::vector<
srp< ::lestes::md::types::tm_data_type_base > > > 
operands_input_types
 Types of input operands.
srp< ::lestes::std::vector<
srp< ::lestes::md::types::tm_data_type_base > > > 
operands_output_types
 Types of output operands.
srp< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::pi_sp > > > 
jmp_targets

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Operands of a pi_pi.

Definition at line 55 of file pi_operands.g.hh.


Constructor & Destructor Documentation

lestes::backend_v2::structs::pi_operands::pi_operands ( ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > >  a__pi_operands__operands_input,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > >  a__pi_operands__operands_output,
ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > >  a__pi_operands__operands_input_types,
ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > >  a__pi_operands__operands_output_types,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > >  a__pi_operands__jmp_targets 
) [protected]

Generated constructor for class pi_operands.

Generated constructor for class pi_operands.

Author:
lsg

Definition at line 136 of file pi_operands.g.cc.

Referenced by create().

00141         : ::lestes::std::object(), operands_input(checked(a__pi_operands__operands_input)), operands_output(checked(a__pi_operands__operands_output)), operands_input_types(checked(a__pi_operands__operands_input_types)), operands_output_types(checked(a__pi_operands__operands_output_types)), jmp_targets(checked(a__pi_operands__jmp_targets))
00142 {}


Member Function Documentation

ptr<::lestes::std::vector< srp<::lestes::backend_v2::intercode::pi_operand > > > lestes::backend_v2::structs::pi_operands::operands_input_get (  )  const

The method operands_input_get returns the value of the field pi_operands::operands_input.

Returns:
The value of pi_operands::operands_input.
Author:
lsg

Definition at line 29 of file pi_operands.g.cc.

References operands_input.

00030 {
00031         return operands_input;
00032 }

void lestes::backend_v2::structs::pi_operands::operands_input_set ( const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > &  x  ) 

The method operands_input_set sets the field pi_operands::operands_input to the given value.

Parameters:
[in] x The new value to set pi_operands::operands_input to.
Author:
lsg

Definition at line 38 of file pi_operands.g.cc.

References operands_input.

00039 {
00040         pi_operands::operands_input = x;
00041 }

ptr<::lestes::std::vector< srp<::lestes::backend_v2::intercode::pi_operand > > > lestes::backend_v2::structs::pi_operands::operands_output_get (  )  const

The method operands_output_get returns the value of the field pi_operands::operands_output.

Returns:
The value of pi_operands::operands_output.
Author:
lsg

Definition at line 47 of file pi_operands.g.cc.

References operands_output.

00048 {
00049         return operands_output;
00050 }

void lestes::backend_v2::structs::pi_operands::operands_output_set ( const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > &  x  ) 

The method operands_output_set sets the field pi_operands::operands_output to the given value.

Parameters:
[in] x The new value to set pi_operands::operands_output to.
Author:
lsg

Definition at line 56 of file pi_operands.g.cc.

References operands_output.

00057 {
00058         pi_operands::operands_output = x;
00059 }

ptr<::lestes::std::vector< srp<::lestes::md::types::tm_data_type_base > > > lestes::backend_v2::structs::pi_operands::operands_input_types_get (  )  const

The method operands_input_types_get returns the value of the field pi_operands::operands_input_types.

Returns:
The value of pi_operands::operands_input_types.
Author:
lsg

Definition at line 65 of file pi_operands.g.cc.

References operands_input_types.

00066 {
00067         return operands_input_types;
00068 }

void lestes::backend_v2::structs::pi_operands::operands_input_types_set ( const ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > &  x  ) 

The method operands_input_types_set sets the field pi_operands::operands_input_types to the given value.

Parameters:
[in] x The new value to set pi_operands::operands_input_types to.
Author:
lsg

Definition at line 74 of file pi_operands.g.cc.

References operands_input_types.

00075 {
00076         pi_operands::operands_input_types = x;
00077 }

ptr<::lestes::std::vector< srp<::lestes::md::types::tm_data_type_base > > > lestes::backend_v2::structs::pi_operands::operands_output_types_get (  )  const

The method operands_output_types_get returns the value of the field pi_operands::operands_output_types.

Returns:
The value of pi_operands::operands_output_types.
Author:
lsg

Definition at line 83 of file pi_operands.g.cc.

References operands_output_types.

00084 {
00085         return operands_output_types;
00086 }

void lestes::backend_v2::structs::pi_operands::operands_output_types_set ( const ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > &  x  ) 

The method operands_output_types_set sets the field pi_operands::operands_output_types to the given value.

Parameters:
[in] x The new value to set pi_operands::operands_output_types to.
Author:
lsg

Definition at line 92 of file pi_operands.g.cc.

References operands_output_types.

00093 {
00094         pi_operands::operands_output_types = x;
00095 }

ptr<::lestes::std::vector< srp<::lestes::backend_v2::intercode::pi_sp > > > lestes::backend_v2::structs::pi_operands::jmp_targets_get (  )  const

The method jmp_targets_get returns the value of the field pi_operands::jmp_targets.

Returns:
The value of pi_operands::jmp_targets.
Author:
lsg

Definition at line 101 of file pi_operands.g.cc.

References jmp_targets.

00102 {
00103         return jmp_targets;
00104 }

void lestes::backend_v2::structs::pi_operands::jmp_targets_set ( const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > > &  x  ) 

The method jmp_targets_set sets the field pi_operands::jmp_targets to the given value.

Parameters:
[in] x The new value to set pi_operands::jmp_targets to.
Author:
lsg

Definition at line 110 of file pi_operands.g.cc.

References jmp_targets.

00111 {
00112         pi_operands::jmp_targets = x;
00113 }

ptr< pi_operands > lestes::backend_v2::structs::pi_operands::create ( ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > >  a__pi_operands__operands_input,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > >  a__pi_operands__operands_output,
ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > >  a__pi_operands__operands_input_types,
ptr< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > >  a__pi_operands__operands_output_types,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > >  a__pi_operands__jmp_targets 
) [static]

First generated factory method for class pi_operands.

This factory method for class pi_operands takes values of all fields as arguments.

Author:
lsg

Definition at line 119 of file pi_operands.g.cc.

References pi_operands().

00124 {
00125         return ptr< pi_operands > ( new pi_operands(a__pi_operands__operands_input,
00126                 a__pi_operands__operands_output,
00127                 a__pi_operands__operands_input_types,
00128                 a__pi_operands__operands_output_types,
00129                 a__pi_operands__jmp_targets) );
00130 }

ptr< object::reflection_list > lestes::backend_v2::structs::pi_operands::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Definition at line 144 of file pi_operands.g.cc.

References lestes::std::list< T >::create(), reflection, and lestes::std::object::reflection_get().

00145 {
00146         if (!reflection) {
00147                 typedef class_reflection::field_metadata md;
00148                 typedef class_reflection::field_metadata_list mdlist;
00149                 ptr<mdlist> mdl = mdlist::create();
00150                 mdl->push_back( md::create( "operands_input", "vector&lt; srp&lt; ::lestes::backend_v2::intercode::pi_operand &gt; &gt;" ) );
00151                 mdl->push_back( md::create( "operands_output", "vector&lt; srp&lt; ::lestes::backend_v2::intercode::pi_operand &gt; &gt;" ) );
00152                 mdl->push_back( md::create( "operands_input_types", "vector&lt; srp&lt; ::lestes::md::types::tm_data_type_base &gt; &gt;" ) );
00153                 mdl->push_back( md::create( "operands_output_types", "vector&lt; srp&lt; ::lestes::md::types::tm_data_type_base &gt; &gt;" ) );
00154                 mdl->push_back( md::create( "jmp_targets", "vector&lt; srp&lt; ::lestes::backend_v2::intercode::pi_sp &gt; &gt;" ) );
00155                 reflection = reflection_list::create( ::lestes::std::object::reflection_get() );
00156                 reflection->push_back( class_reflection::create( "pi_operands", mdl ) );
00157         }
00158         return reflection;
00159 }

ptr< object::field_list_list > lestes::backend_v2::structs::pi_operands::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Definition at line 161 of file pi_operands.g.cc.

References lestes::std::list< T >::create(), and lestes::std::object::field_values_get().

00162 {
00163         ptr < field_list_list > result = ::lestes::std::object::field_values_get();
00164         result->push_back( value_list::create() );
00165         result->back()->push_back( this->operands_input );
00166         result->push_back( value_list::create() );
00167         result->back()->push_back( this->operands_output );
00168         result->push_back( value_list::create() );
00169         result->back()->push_back( this->operands_input_types );
00170         result->push_back( value_list::create() );
00171         result->back()->push_back( this->operands_output_types );
00172         result->push_back( value_list::create() );
00173         result->back()->push_back( this->jmp_targets );
00174         return result;
00175 }

void lestes::backend_v2::structs::pi_operands::gc_mark ( void   )  [protected, virtual]

Marking routine for class pi_operands.

Marking routine is used for garbage collection.

Author:
lsg

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

Definition at line 182 of file pi_operands.g.cc.

References lestes::std::mem::keystone::gc_mark().

00183 {
00184 	::lestes::std::object::gc_mark();
00185 }


Member Data Documentation

srp< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > lestes::backend_v2::structs::pi_operands::operands_input [private]

Input operands.

Definition at line 117 of file pi_operands.g.hh.

Referenced by operands_input_get(), and operands_input_set().

srp< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_operand > > > lestes::backend_v2::structs::pi_operands::operands_output [private]

Output operands.

Definition at line 119 of file pi_operands.g.hh.

Referenced by operands_output_get(), and operands_output_set().

srp< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > lestes::backend_v2::structs::pi_operands::operands_input_types [private]

Types of input operands.

Each operand has its datatype saved inside it. But the type can be ss_union. Ss_type is mapped to target type tm_dt_union. An instance of tm_dt_union can represent more than one tm_dt_simple. Therefore the right type for the operand within pseudoinstruction must be given explicitly.

Definition at line 127 of file pi_operands.g.hh.

Referenced by operands_input_types_get(), and operands_input_types_set().

srp< ::lestes::std::vector< srp< ::lestes::md::types::tm_data_type_base > > > lestes::backend_v2::structs::pi_operands::operands_output_types [private]

Types of output operands.

Each operand has its datatype saved inside it. But the type can be ss_union. Ss_type is mapped to target type tm_dt_union. An instance of tm_dt_union can represent more than one tm_dt_simple. Therefore the right type for the operand within pseudoinstruction must be given explicitly.

Definition at line 135 of file pi_operands.g.hh.

Referenced by operands_output_types_get(), and operands_output_types_set().

srp< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::pi_sp > > > lestes::backend_v2::structs::pi_operands::jmp_targets [private]

Definition at line 136 of file pi_operands.g.hh.

Referenced by jmp_targets_get(), and jmp_targets_set().

ptr< object::reflection_list > lestes::backend_v2::structs::pi_operands::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Definition at line 137 of file pi_operands.g.hh.

Referenced by reflection_get().


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