atlas  0.6
Public Types | Public Member Functions | Private Attributes | List of all members
atlas::interpreter::overload_table Class Reference

#include <global.h>

Public Types

typedef std::vector< overload_datavariant_list
 
typedef std::map< id_type, variant_listmap_type
 

Public Member Functions

 overload_table (const Id_table &)=delete
 
overload_tableoperator= (const Id_table &)=delete
 
 overload_table ()
 
const variant_listvariants (id_type id) const
 
size_t size () const
 
void print (std::ostream &) const
 
void add (id_type id, shared_function v, type_expr &&t)
 
bool remove (id_type id, const type_expr &arg_t)
 

Private Attributes

map_type table
 

Member Typedef Documentation

Constructor & Destructor Documentation

atlas::interpreter::overload_table::overload_table ( const Id_table )
delete
atlas::interpreter::overload_table::overload_table ( )
inline

Member Function Documentation

void atlas::interpreter::overload_table::add ( id_type  id,
shared_function  v,
type_expr &&  t 
)
void atlas::interpreter::overload_table::print ( std::ostream &  out) const
bool atlas::interpreter::overload_table::remove ( id_type  id,
const type_expr arg_t 
)
size_t atlas::interpreter::overload_table::size ( ) const
inline
const overload_table::variant_list & atlas::interpreter::overload_table::variants ( id_type  id) const

Member Data Documentation

map_type atlas::interpreter::overload_table::table
private

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