atlas  0.6
Public Member Functions | Public Attributes | List of all members
atlas::interpreter::conditional_expression Struct Reference

#include <axis.h>

Inheritance diagram for atlas::interpreter::conditional_expression:
Inheritance graph
[legend]
Collaboration diagram for atlas::interpreter::conditional_expression:
Collaboration graph
[legend]

Public Member Functions

 conditional_expression (expression_ptr &&c, expression_ptr &&t, expression_ptr &&e)
 
virtual ~conditional_expression () nothing_new_here
 
virtual void evaluate (level l) const
 
virtual void print (std::ostream &out) const
 
- Public Member Functions inherited from atlas::interpreter::expression_base
 expression_base ()
 
 expression_base (const expression_base &)=delete
 
 expression_base (expression_base &&)=delete
 
expression_baseoperator= (const expression_base &)=delete
 
expression_baseoperator= (expression_base &&)=delete
 
virtual ~expression_base ()
 
void void_eval () const
 
void eval () const
 
void multi_eval () const
 

Public Attributes

expression_ptr condition
 
expression_ptr then_branch
 
expression_ptr else_branch
 

Additional Inherited Members

- Public Types inherited from atlas::interpreter::expression_base
enum  level { no_value, single_value, multi_value }
 

Constructor & Destructor Documentation

atlas::interpreter::conditional_expression::conditional_expression ( expression_ptr &&  c,
expression_ptr &&  t,
expression_ptr &&  e 
)
inline
virtual atlas::interpreter::conditional_expression::~conditional_expression ( )

Member Function Documentation

void atlas::interpreter::conditional_expression::evaluate ( level  l) const
virtual
void atlas::interpreter::conditional_expression::print ( std::ostream &  out) const
virtual

Member Data Documentation

expression_ptr atlas::interpreter::conditional_expression::condition
expression_ptr atlas::interpreter::conditional_expression::else_branch
expression_ptr atlas::interpreter::conditional_expression::then_branch

The documentation for this struct was generated from the following files: