atlas  0.6
Public Types | Public Member Functions | Public Attributes | List of all members
atlas::interpreter::overloaded_builtin_call< variadic > Struct Template Reference

#include <axis.h>

Inheritance diagram for atlas::interpreter::overloaded_builtin_call< variadic >:
Inheritance graph
[legend]
Collaboration diagram for atlas::interpreter::overloaded_builtin_call< variadic >:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< const builtin_value< variadic > > ptr_to_builtin
 
- Public Types inherited from atlas::interpreter::expression_base
enum  level { no_value, single_value, multi_value }
 

Public Member Functions

 overloaded_builtin_call (const ptr_to_builtin &fun, const std::string &name, expression_ptr &&arg, const source_location &loc)
 
 overloaded_builtin_call (const ptr_to_builtin &fun, expression_ptr &&arg, const source_location &loc)
 
virtual ~overloaded_builtin_call () nothing_new_here
 
virtual void evaluate (level l) const
 
- Public Member Functions inherited from atlas::interpreter::overloaded_call
 overloaded_call (const std::string &name, expression_ptr &&arg, const source_location &loc)
 
virtual ~overloaded_call () nothing_new_here
 
virtual std::string function_name () const
 
virtual void print (std::ostream &out) const
 
- Public Member Functions inherited from atlas::interpreter::call_base
 call_base (expression_ptr &&arg, const source_location &loc)
 
virtual ~call_base () nothing_new_here
 
- 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

ptr_to_builtin f
 
wrapper_function f_ptr
 
- Public Attributes inherited from atlas::interpreter::overloaded_call
std::string name
 
- Public Attributes inherited from atlas::interpreter::call_base
expression_ptr argument
 
source_location loc
 

Member Typedef Documentation

template<bool variadic>
typedef std::shared_ptr<const builtin_value<variadic> > atlas::interpreter::overloaded_builtin_call< variadic >::ptr_to_builtin

Constructor & Destructor Documentation

template<bool variadic>
atlas::interpreter::overloaded_builtin_call< variadic >::overloaded_builtin_call ( const ptr_to_builtin fun,
const std::string name,
expression_ptr &&  arg,
const source_location loc 
)
inline
template<bool variadic>
atlas::interpreter::overloaded_builtin_call< variadic >::overloaded_builtin_call ( const ptr_to_builtin fun,
expression_ptr &&  arg,
const source_location loc 
)
inline
template<bool variadic>
virtual atlas::interpreter::overloaded_builtin_call< variadic >::~overloaded_builtin_call ( )

Member Function Documentation

void atlas::interpreter::builtin_call::evaluate ( level  l) const
virtual

Member Data Documentation

template<bool variadic>
ptr_to_builtin atlas::interpreter::overloaded_builtin_call< variadic >::f
template<bool variadic>
wrapper_function atlas::interpreter::overloaded_builtin_call< variadic >::f_ptr

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