spot  0.8.3
Public Member Functions
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>

List of all members.

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 const::formula*.

   // 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 Fri Mar 9 2012 13:52:12 for spot by doxygen 1.7.6.1