Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

utility::unique::unique_map Struct Reference

Canonical type map. More...

List of all members.

Public Types

typedef std::map< ti_slot,
uniquelist_base * > 
map_t
 The map type used.


Static Public Methods

map_tinstance ()
 Access to the unique instance of this structure.


Protected Methods

 unique_map ()
 Constructor for the class. More...

 ~unique_map ()
 Destructor for the class. More...


Detailed Description

Canonical type map.

This structure is a helper for the get operator, that retains associations between static types (represented by the std::type_info structure) and a hash map of dynamic values.

This structure is used for dynamic type instances canonicalization, i.e. storage and retrieval of unique instances of structural elements in Vaucanson.

See also:
vcsn::Structure


Constructor & Destructor Documentation

unique_map   [protected]
 

Constructor for the class.

It is protected so that no secondary instances may be created.

~unique_map   [protected]
 

Destructor for the class.

This destructor actually destroys all stored canonical instances. Any further reference to the canonical values is invalid.


Generated on Wed Jul 2 19:09:10 2003 for Vaucanson by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002