#include <sa_statements.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::condition_to_expression:

Public Member Functions | |
| ptr< ss_sp > | psp_get () const |
| The method psp_get returns the value of the field condition_to_expression::psp. | |
| void | psp_set (const ptr< ss_sp > &) |
| The method psp_set sets the field condition_to_expression::psp to the given value. | |
| ptr< ss_sp > | nsp_get () const |
| The method nsp_get returns the value of the field condition_to_expression::nsp. | |
| void | nsp_set (const ptr< ss_sp > &) |
| The method nsp_set sets the field condition_to_expression::nsp to the given value. | |
| ptr< ::lestes::std::list< srp< ss_sp > > > | sps_get () const |
| The method sps_get returns the value of the field condition_to_expression::sps. | |
| void | sps_set (const ptr< ::lestes::std::list< srp< ss_sp > > > &) |
| The method sps_set sets the field condition_to_expression::sps to the given value. | |
| ptr< ss_expression > | result_get () const |
| The method result_get returns the value of the field condition_to_expression::result. | |
| void | result_set (const ptr< ss_expression > &) |
| The method result_set sets the field condition_to_expression::result to the given value. | |
| virtual void | visit_as_empty_condition (ptr< ::lestes::lang::cplus::sem::as_empty_condition >) |
| virtual void | visit_as_condition_expression (ptr< ::lestes::lang::cplus::sem::as_condition_expression >) |
| virtual void | visit_as_condition_declaration (ptr< ::lestes::lang::cplus::sem::as_condition_declaration >) |
| ptr< ss_expression > | process (const ptr< ::lestes::lang::cplus::sem::as_condition > &) |
| "visit-return" method | |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Static Public Member Functions | |
| static ptr< condition_to_expression > | create (ptr< ss_sp > a__condition_to_expression__psp, ptr< ss_sp > a__condition_to_expression__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__condition_to_expression__sps, ptr< ss_expression > a__condition_to_expression__result) |
| First generated factory method for class condition_to_expression. | |
| static ptr< condition_to_expression > | create (ptr< ss_sp > a__condition_to_expression__psp, ptr< ss_sp > a__condition_to_expression__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__condition_to_expression__sps) |
| Second generated factory method for class condition_to_expression. | |
Protected Member Functions | |
| condition_to_expression (ptr< ss_sp > a__condition_to_expression__psp, ptr< ss_sp > a__condition_to_expression__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__condition_to_expression__sps, ptr< ss_expression > a__condition_to_expression__result) | |
| Generated constructor for class condition_to_expression. | |
| virtual void | gc_mark () |
| Marking routine for class condition_to_expression. | |
Private Attributes | |
| srp< ss_sp > | psp |
| srp< ss_sp > | nsp |
| srp< ::lestes::std::list< srp< ss_sp > > > | sps |
| srp< ss_expression > | result |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 308 of file sa_statements.g.hh.
| lestes::lang::cplus::sem::condition_to_expression::condition_to_expression | ( | ptr< ss_sp > | a__condition_to_expression__psp, | |
| ptr< ss_sp > | a__condition_to_expression__nsp, | |||
| ptr< ::lestes::std::list< srp< ss_sp > > > | a__condition_to_expression__sps, | |||
| ptr< ss_expression > | a__condition_to_expression__result | |||
| ) | [protected] |
Generated constructor for class condition_to_expression.
Generated constructor for class condition_to_expression.
Definition at line 507 of file sa_statements.g.cc.
Referenced by create().
00511 : as_condition_visitor(), psp(checked(a__condition_to_expression__psp)), nsp(checked(a__condition_to_expression__nsp)), sps(checked(a__condition_to_expression__sps)), result(a__condition_to_expression__result) 00512 {}
| ptr< ss_sp > lestes::lang::cplus::sem::condition_to_expression::psp_get | ( | ) | const |
The method psp_get returns the value of the field condition_to_expression::psp.
Definition at line 409 of file sa_statements.g.cc.
References psp.
00410 { 00411 return psp; 00412 }
| void lestes::lang::cplus::sem::condition_to_expression::psp_set | ( | const ptr< ss_sp > & | x | ) |
The method psp_set sets the field condition_to_expression::psp to the given value.
| [in] | x | The new value to set condition_to_expression::psp to. |
Definition at line 418 of file sa_statements.g.cc.
References psp.
00419 { 00420 condition_to_expression::psp = x; 00421 }
| ptr< ss_sp > lestes::lang::cplus::sem::condition_to_expression::nsp_get | ( | ) | const |
The method nsp_get returns the value of the field condition_to_expression::nsp.
Definition at line 427 of file sa_statements.g.cc.
References nsp.
00428 { 00429 return nsp; 00430 }
| void lestes::lang::cplus::sem::condition_to_expression::nsp_set | ( | const ptr< ss_sp > & | x | ) |
The method nsp_set sets the field condition_to_expression::nsp to the given value.
| [in] | x | The new value to set condition_to_expression::nsp to. |
Definition at line 436 of file sa_statements.g.cc.
References nsp.
00437 { 00438 condition_to_expression::nsp = x; 00439 }
| ptr<::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::condition_to_expression::sps_get | ( | ) | const |
The method sps_get returns the value of the field condition_to_expression::sps.
Definition at line 445 of file sa_statements.g.cc.
References sps.
00446 { 00447 return sps; 00448 }
| void lestes::lang::cplus::sem::condition_to_expression::sps_set | ( | const ptr< ::lestes::std::list< srp< ss_sp > > > & | x | ) |
The method sps_set sets the field condition_to_expression::sps to the given value.
| [in] | x | The new value to set condition_to_expression::sps to. |
Definition at line 454 of file sa_statements.g.cc.
References sps.
00455 { 00456 condition_to_expression::sps = x; 00457 }
| ptr< ss_expression > lestes::lang::cplus::sem::condition_to_expression::result_get | ( | ) | const |
The method result_get returns the value of the field condition_to_expression::result.
Definition at line 463 of file sa_statements.g.cc.
References result.
Referenced by process().
00464 { 00465 return result; 00466 }
| void lestes::lang::cplus::sem::condition_to_expression::result_set | ( | const ptr< ss_expression > & | x | ) |
The method result_set sets the field condition_to_expression::result to the given value.
| [in] | x | The new value to set condition_to_expression::result to. |
Definition at line 472 of file sa_statements.g.cc.
References result.
00473 { 00474 condition_to_expression::result = x; 00475 }
| virtual void lestes::lang::cplus::sem::condition_to_expression::visit_as_empty_condition | ( | ptr< ::lestes::lang::cplus::sem::as_empty_condition > | ) | [virtual] |
Implements lestes::lang::cplus::sem::as_condition_visitor.
| virtual void lestes::lang::cplus::sem::condition_to_expression::visit_as_condition_expression | ( | ptr< ::lestes::lang::cplus::sem::as_condition_expression > | ) | [virtual] |
Implements lestes::lang::cplus::sem::as_condition_visitor.
| virtual void lestes::lang::cplus::sem::condition_to_expression::visit_as_condition_declaration | ( | ptr< ::lestes::lang::cplus::sem::as_condition_declaration > | ) | [virtual] |
Implements lestes::lang::cplus::sem::as_condition_visitor.
| ptr< condition_to_expression > lestes::lang::cplus::sem::condition_to_expression::create | ( | ptr< ss_sp > | a__condition_to_expression__psp, | |
| ptr< ss_sp > | a__condition_to_expression__nsp, | |||
| ptr< ::lestes::std::list< srp< ss_sp > > > | a__condition_to_expression__sps, | |||
| ptr< ss_expression > | a__condition_to_expression__result | |||
| ) | [static] |
First generated factory method for class condition_to_expression.
This factory method for class condition_to_expression takes values of all fields as arguments.
Definition at line 481 of file sa_statements.g.cc.
References condition_to_expression().
00485 { 00486 return ptr< condition_to_expression > ( new condition_to_expression(a__condition_to_expression__psp, 00487 a__condition_to_expression__nsp, 00488 a__condition_to_expression__sps, 00489 a__condition_to_expression__result) ); 00490 }
| ptr< condition_to_expression > lestes::lang::cplus::sem::condition_to_expression::create | ( | ptr< ss_sp > | a__condition_to_expression__psp, | |
| ptr< ss_sp > | a__condition_to_expression__nsp, | |||
| ptr< ::lestes::std::list< srp< ss_sp > > > | a__condition_to_expression__sps | |||
| ) | [static] |
Second generated factory method for class condition_to_expression.
This factory method for class condition_to_expression uses initializers.
Definition at line 496 of file sa_statements.g.cc.
References condition_to_expression().
00499 { 00500 return ptr< condition_to_expression > ( new condition_to_expression(a__condition_to_expression__psp, a__condition_to_expression__nsp, a__condition_to_expression__sps, NULL) ); 00501 }
| ptr< ss_expression > lestes::lang::cplus::sem::condition_to_expression::process | ( | const ptr< ::lestes::lang::cplus::sem::as_condition > & | ) |
"visit-return" method
Definition at line 544 of file sa_statements.g.cc.
References lassert2, and result_get().
00545 { 00546 lassert2( o, "Cannot visit NULL object." ); 00547 o->accept_as_condition_visitor( ptr< as_condition_visitor >(this) ); 00548 return result_get(); 00549 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::condition_to_expression::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_condition_visitor.
Definition at line 514 of file sa_statements.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::as_condition_visitor::reflection_get().
00515 { 00516 if (!reflection) { 00517 typedef class_reflection::field_metadata md; 00518 typedef class_reflection::field_metadata_list mdlist; 00519 ptr<mdlist> mdl = mdlist::create(); 00520 mdl->push_back( md::create( "psp", "ss_sp" ) ); 00521 mdl->push_back( md::create( "nsp", "ss_sp" ) ); 00522 mdl->push_back( md::create( "sps", "list< srp< ss_sp > >" ) ); 00523 mdl->push_back( md::create( "result", "ss_expression" ) ); 00524 reflection = reflection_list::create( as_condition_visitor::reflection_get() ); 00525 reflection->push_back( class_reflection::create( "condition_to_expression", mdl ) ); 00526 } 00527 return reflection; 00528 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::condition_to_expression::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_condition_visitor.
Definition at line 530 of file sa_statements.g.cc.
References lestes::std::list< T >::create(), lestes::lang::cplus::sem::as_condition_visitor::field_values_get(), and result.
00531 { 00532 ptr < field_list_list > result = as_condition_visitor::field_values_get(); 00533 result->push_back( value_list::create() ); 00534 result->back()->push_back( this->psp ); 00535 result->push_back( value_list::create() ); 00536 result->back()->push_back( this->nsp ); 00537 result->push_back( value_list::create() ); 00538 result->back()->push_back( this->sps ); 00539 result->push_back( value_list::create() ); 00540 result->back()->push_back( this->result ); 00541 return result; 00542 }
| void lestes::lang::cplus::sem::condition_to_expression::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class condition_to_expression.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::as_condition_visitor.
Definition at line 556 of file sa_statements.g.cc.
References lestes::lang::cplus::sem::as_condition_visitor::gc_mark().
00557 { 00558 as_condition_visitor::gc_mark(); 00559 }
srp< ss_sp > lestes::lang::cplus::sem::condition_to_expression::psp [private] |
srp< ss_sp > lestes::lang::cplus::sem::condition_to_expression::nsp [private] |
srp< ::lestes::std::list< srp< ss_sp > > > lestes::lang::cplus::sem::condition_to_expression::sps [private] |
srp< ss_expression > lestes::lang::cplus::sem::condition_to_expression::result [private] |
Definition at line 378 of file sa_statements.g.hh.
Referenced by field_values_get(), result_get(), and result_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::condition_to_expression::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::as_condition_visitor.
Definition at line 379 of file sa_statements.g.hh.
Referenced by reflection_get().
1.5.1-20070107