lestes::lang::cplus::sem::ss_ternary Class Reference

Class for ternary ?: operator expression. More...

#include <ss_expression.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_expressioncondition_get () const
 The method condition_get returns the value of the field ss_ternary::condition.
void condition_set (const ptr< ss_expression > &)
 The method condition_set sets the field ss_ternary::condition to the given value.
ptr< ss_expressiontrue_expr_get () const
 The method true_expr_get returns the value of the field ss_ternary::true_expr.
void true_expr_set (const ptr< ss_expression > &)
 The method true_expr_set sets the field ss_ternary::true_expr to the given value.
ptr< ss_expressionfalse_expr_get () const
 The method false_expr_get returns the value of the field ss_ternary::false_expr.
void false_expr_set (const ptr< ss_expression > &)
 The method false_expr_set sets the field ss_ternary::false_expr to the given value.
virtual void accept_ss_expression_visitor (ptr< ss_expression_visitor > v)
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_ternarycreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_expression > a__ss_ternary__condition, ptr< ss_expression > a__ss_ternary__true_expr, ptr< ss_expression > a__ss_ternary__false_expr)
 First generated factory method for class ss_ternary.

Protected Member Functions

 ss_ternary (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_expression > a__ss_ternary__condition, ptr< ss_expression > a__ss_ternary__true_expr, ptr< ss_expression > a__ss_ternary__false_expr)
 Generated constructor for class ss_ternary.
virtual void gc_mark ()
 Marking routine for class ss_ternary.

Private Attributes

srp< ss_expressioncondition
srp< ss_expressiontrue_expr
srp< ss_expressionfalse_expr

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for ternary ?: operator expression.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_ternary::ss_ternary ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_type a__ss_expression__type,
ptr< ss_sp a__ss_expression__psp,
ptr< ss_sp a__ss_expression__nsp,
ptr< ss_expression a__ss_ternary__condition,
ptr< ss_expression a__ss_ternary__true_expr,
ptr< ss_expression a__ss_ternary__false_expr 
) [protected]

Generated constructor for class ss_ternary.

Generated constructor for class ss_ternary.

Author:
lsg


Member Function Documentation

ptr< ss_expression > lestes::lang::cplus::sem::ss_ternary::condition_get (  )  const

The method condition_get returns the value of the field ss_ternary::condition.

Returns:
The value of ss_ternary::condition.
Author:
lsg

void lestes::lang::cplus::sem::ss_ternary::condition_set ( const ptr< ss_expression > &  x  ) 

The method condition_set sets the field ss_ternary::condition to the given value.

Parameters:
[in] x The new value to set ss_ternary::condition to.
Author:
lsg

ptr< ss_expression > lestes::lang::cplus::sem::ss_ternary::true_expr_get (  )  const

The method true_expr_get returns the value of the field ss_ternary::true_expr.

Returns:
The value of ss_ternary::true_expr.
Author:
lsg

void lestes::lang::cplus::sem::ss_ternary::true_expr_set ( const ptr< ss_expression > &  x  ) 

The method true_expr_set sets the field ss_ternary::true_expr to the given value.

Parameters:
[in] x The new value to set ss_ternary::true_expr to.
Author:
lsg

ptr< ss_expression > lestes::lang::cplus::sem::ss_ternary::false_expr_get (  )  const

The method false_expr_get returns the value of the field ss_ternary::false_expr.

Returns:
The value of ss_ternary::false_expr.
Author:
lsg

void lestes::lang::cplus::sem::ss_ternary::false_expr_set ( const ptr< ss_expression > &  x  ) 

The method false_expr_set sets the field ss_ternary::false_expr to the given value.

Parameters:
[in] x The new value to set ss_ternary::false_expr to.
Author:
lsg

void lestes::lang::cplus::sem::ss_ternary::accept_ss_expression_visitor ( ptr< ss_expression_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_expression.

ptr< ss_ternary > lestes::lang::cplus::sem::ss_ternary::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_type a__ss_expression__type,
ptr< ss_sp a__ss_expression__psp,
ptr< ss_sp a__ss_expression__nsp,
ptr< ss_expression a__ss_ternary__condition,
ptr< ss_expression a__ss_ternary__true_expr,
ptr< ss_expression a__ss_ternary__false_expr 
) [static]

First generated factory method for class ss_ternary.

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

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_expression.

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

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_expression.

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

Marking routine for class ss_ternary.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::lang::cplus::sem::ss_expression.


Member Data Documentation

srp< ss_expression > lestes::lang::cplus::sem::ss_ternary::condition [private]

srp< ss_expression > lestes::lang::cplus::sem::ss_ternary::true_expr [private]

srp< ss_expression > lestes::lang::cplus::sem::ss_ternary::false_expr [private]

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

Reimplemented from lestes::lang::cplus::sem::ss_expression.


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