lestes::lang::cplus::sem::ss_se Class Reference

Class representing side effect. More...

#include <ss_misc.g.hh>

Inheritance diagram for lestes::lang::cplus::sem::ss_se:

lestes::intercode::ss_base_with_location lestes::intercode::ss_base lestes::intercode::intercode lestes::std::object lestes::std::mem::keystone List of all members.

Public Member Functions

ptr< ss_expressionfrom_get () const
 The method from_get returns the value of the field ss_se::from.
void from_set (const ptr< ss_expression > &)
 The method from_set sets the field ss_se::from to the given value.
ptr< ss_sppsp_get () const
 The method psp_get returns the value of the field ss_se::psp.
void psp_set (const ptr< ss_sp > &)
 The method psp_set sets the field ss_se::psp to the given value.
ptr< ss_spnsp_get () const
 The method nsp_get returns the value of the field ss_se::nsp.
void nsp_set (const ptr< ss_sp > &)
 The method nsp_set sets the field ss_se::nsp 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< ss_secreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_expression > a__ss_se__from, ptr< ss_sp > a__ss_se__psp, ptr< ss_sp > a__ss_se__nsp)
 First generated factory method for class ss_se.

Protected Member Functions

 ss_se (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_expression > a__ss_se__from, ptr< ss_sp > a__ss_se__psp, ptr< ss_sp > a__ss_se__nsp)
 Generated constructor for class ss_se.
virtual void gc_mark ()
 Marking routine for class ss_se.

Private Attributes

srp< ss_expressionfrom
srp< ss_sppsp
srp< ss_spnsp

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class representing side effect.

Definition at line 582 of file ss_misc.g.hh.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_se::ss_se ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_expression a__ss_se__from,
ptr< ss_sp a__ss_se__psp,
ptr< ss_sp a__ss_se__nsp 
) [protected]

Generated constructor for class ss_se.

Generated constructor for class ss_se.

Author:
lsg

Definition at line 980 of file ss_misc.g.cc.

Referenced by create().

00984         : ss_base_with_location(a__ss_base_with_location__location), from(checked(a__ss_se__from)), psp(a__ss_se__psp), nsp(a__ss_se__nsp)
00985 {}


Member Function Documentation

ptr< ss_expression > lestes::lang::cplus::sem::ss_se::from_get (  )  const

The method from_get returns the value of the field ss_se::from.

Returns:
The value of ss_se::from.
Author:
lsg

Definition at line 911 of file ss_misc.g.cc.

References from.

00912 {
00913         return from;
00914 }

void lestes::lang::cplus::sem::ss_se::from_set ( const ptr< ss_expression > &  x  ) 

The method from_set sets the field ss_se::from to the given value.

Parameters:
[in] x The new value to set ss_se::from to.
Author:
lsg

Definition at line 920 of file ss_misc.g.cc.

References from.

00921 {
00922         ss_se::from = x;
00923 }

ptr< ss_sp > lestes::lang::cplus::sem::ss_se::psp_get (  )  const

The method psp_get returns the value of the field ss_se::psp.

Returns:
The value of ss_se::psp.
Author:
lsg

Definition at line 929 of file ss_misc.g.cc.

References psp.

00930 {
00931         return psp;
00932 }

void lestes::lang::cplus::sem::ss_se::psp_set ( const ptr< ss_sp > &  x  ) 

The method psp_set sets the field ss_se::psp to the given value.

Parameters:
[in] x The new value to set ss_se::psp to.
Author:
lsg

Definition at line 938 of file ss_misc.g.cc.

References psp.

00939 {
00940         ss_se::psp = x;
00941 }

ptr< ss_sp > lestes::lang::cplus::sem::ss_se::nsp_get (  )  const

The method nsp_get returns the value of the field ss_se::nsp.

Returns:
The value of ss_se::nsp.
Author:
lsg

Definition at line 947 of file ss_misc.g.cc.

References nsp.

00948 {
00949         return nsp;
00950 }

void lestes::lang::cplus::sem::ss_se::nsp_set ( const ptr< ss_sp > &  x  ) 

The method nsp_set sets the field ss_se::nsp to the given value.

Parameters:
[in] x The new value to set ss_se::nsp to.
Author:
lsg

Definition at line 956 of file ss_misc.g.cc.

References nsp.

00957 {
00958         ss_se::nsp = x;
00959 }

ptr< ss_se > lestes::lang::cplus::sem::ss_se::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_expression a__ss_se__from,
ptr< ss_sp a__ss_se__psp,
ptr< ss_sp a__ss_se__nsp 
) [static]

First generated factory method for class ss_se.

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

Author:
lsg

Definition at line 965 of file ss_misc.g.cc.

References ss_se().

00969 {
00970         return ptr< ss_se > ( new ss_se(a__ss_base_with_location__location,
00971                 a__ss_se__from,
00972                 a__ss_se__psp,
00973                 a__ss_se__nsp) );
00974 }

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_se::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

Definition at line 987 of file ss_misc.g.cc.

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

00988 {
00989         if (!reflection) {
00990                 typedef class_reflection::field_metadata md;
00991                 typedef class_reflection::field_metadata_list mdlist;
00992                 ptr<mdlist> mdl = mdlist::create();
00993                 mdl->push_back( md::create( "from", "ss_expression" ) );
00994                 mdl->push_back( md::create( "psp", "ss_sp" ) );
00995                 mdl->push_back( md::create( "nsp", "ss_sp" ) );
00996                 reflection = reflection_list::create( ::lestes::intercode::ss_base_with_location::reflection_get() );
00997                 reflection->push_back( class_reflection::create( "ss_se", mdl ) );
00998         }
00999         return reflection;
01000 }

ptr< object::field_list_list > lestes::lang::cplus::sem::ss_se::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::intercode::ss_base_with_location.

Definition at line 1002 of file ss_misc.g.cc.

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

01003 {
01004         ptr < field_list_list > result = ::lestes::intercode::ss_base_with_location::field_values_get();
01005         result->push_back( value_list::create() );
01006         result->back()->push_back( this->from );
01007         result->push_back( value_list::create() );
01008         result->back()->push_back( this->psp );
01009         result->push_back( value_list::create() );
01010         result->back()->push_back( this->nsp );
01011         return result;
01012 }

void lestes::lang::cplus::sem::ss_se::gc_mark ( void   )  [protected, virtual]

Marking routine for class ss_se.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::intercode::ss_base_with_location.

Definition at line 1019 of file ss_misc.g.cc.

References lestes::intercode::ss_base_with_location::gc_mark().


Member Data Documentation

srp< ss_expression > lestes::lang::cplus::sem::ss_se::from [private]

Definition at line 629 of file ss_misc.g.hh.

Referenced by from_get(), and from_set().

srp< ss_sp > lestes::lang::cplus::sem::ss_se::psp [private]

Definition at line 630 of file ss_misc.g.hh.

Referenced by psp_get(), and psp_set().

srp< ss_sp > lestes::lang::cplus::sem::ss_se::nsp [private]

Definition at line 631 of file ss_misc.g.hh.

Referenced by nsp_get(), and nsp_set().

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_se::reflection = reflection [static, private]

Reimplemented from lestes::intercode::ss_base_with_location.

Definition at line 632 of file ss_misc.g.hh.

Referenced by reflection_get().


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