sequence_map.h File Reference

This header file defines the Sequence_Map class. A Sequence_Map is a collection of related sequences of object. A Sequence_Map helps you determine whether you have a sequence which matches one of the patterns in the tree. See Sequence_Map. More...

#include <cxxtls/hash_list.h>
#include <iostream>
#include <stdlib.h>
Include dependency graph for sequence_map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Sequence_Map< T, ID, H >
 A Sequence_Map is a collection of related sequences of T objects. Sequences supported by a Sequence_Map can not contain optional members. The template argument, H is the name of a class object with an operator()(T) that produces and integer value which is a 'hash' of T. More...
struct  H1
struct  node
class  search
 A 'search' is a context for comparing an arbitrary sequence with those stored in the Sequence_Map. The idea of course is to determine whether or not a given sequence exactly matches one found in the map -- and also what the ID of that sequence is. A search is a kind of iterator that scans through the structure of the Sequence_Map. You have to call operator++ to get to the next location in the sequence. If you want to know if you are sitting at the end of the sequence, call finished. A search does not exactly model an iterator so it has no comparison functions, and the Sequence_Map has no begin or end methods. More...
class  sequence
 A sequence is a handle object that lets you create patterns in the tree You construct a sequence object given a Sequence_Map object. You then add members to the sequence. When you are done, you call the complete() function to see if this is a valid (complete) sequence or if you have mistakenly create a subsequence of an existing sequence. More...

Namespaces

namespace  cxxtls
 

The namespace that encapsulates most of the functionality in the CXX toolkit.



Detailed Description

This header file defines the Sequence_Map class. A Sequence_Map is a collection of related sequences of object. A Sequence_Map helps you determine whether you have a sequence which matches one of the patterns in the tree. See Sequence_Map.

Definition in file sequence_map.h.

Generated on Wed Feb 29 22:51:08 2012 for CXXUtilities by  doxygen 1.6.3