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

#include <global.h>

Public Member Functions

 Id_table (const Id_table &)=delete
Id_tableoperator= (const Id_table &)=delete
 Id_table ()
void add (id_type id, shared_value v, type_expr &&t, bool is_const)
void add_type_def (id_type id, type_expr &&t)
bool remove (id_type id)
shared_share address_of (id_type id)
bool present (id_type id) const
bool is_defined_type (id_type id) const
const_type_p type_of (id_type id, bool &is_const) const
void specialise (id_type id, const type_expr &type)
shared_value value_of (id_type id) const
size_t size () const
void print (std::ostream &) const

Private Types

typedef std::map< id_type, id_datamap_type

Private Attributes

map_type table

Member Typedef Documentation

Constructor & Destructor Documentation

atlas::interpreter::Id_table::Id_table ( const Id_table )
atlas::interpreter::Id_table::Id_table ( )

Member Function Documentation

void atlas::interpreter::Id_table::add ( id_type  id,
shared_value  v,
type_expr &&  t,
bool  is_const 
void atlas::interpreter::Id_table::add_type_def ( id_type  id,
type_expr &&  t 
shared_share atlas::interpreter::Id_table::address_of ( id_type  id)
bool atlas::interpreter::Id_table::is_defined_type ( id_type  id) const
bool atlas::interpreter::Id_table::present ( id_type  id) const
void atlas::interpreter::Id_table::print ( std::ostream &  out) const
bool atlas::interpreter::Id_table::remove ( id_type  id)
size_t atlas::interpreter::Id_table::size ( ) const
void atlas::interpreter::Id_table::specialise ( id_type  id,
const type_expr type 
const_type_p atlas::interpreter::Id_table::type_of ( id_type  id,
bool &  is_const 
) const
shared_value atlas::interpreter::Id_table::value_of ( id_type  id) const

Member Data Documentation

map_type atlas::interpreter::Id_table::table

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