spot  1.0
Public Member Functions | List of all members
spot::ltl::formula_ptr_hash Struct Reference

Hash Function for const formula*.This is meant to be used as a hash functor for Sgi's hash_map whose key are of type const formula*. More...

#include <ltlast/formula.hh>

Collaboration diagram for spot::ltl::formula_ptr_hash:
Collaboration graph

Public Member Functions

size_t operator() (const formula *that) const

Detailed Description

Hash Function for const formula*.

This is meant to be used as a hash functor for Sgi's hash_map whose key are of type const formula*.

   For instance here is how one could declare
   a map of \c const::formula*.
   @code 

// Remember how many times each formula has been seen. Sgi::hash_map<const spot::ltl::formula*, int, const spot::ltl::formula_ptr_hash> seen;

Member Function Documentation

size_t spot::ltl::formula_ptr_hash::operator() ( const formula that) const
inline

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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Sat Oct 27 2012 09:34:34 for spot by doxygen 1.8.1.2