proto/Source/hash_vector.h File Reference

Declaration and definition of very simple hashing container. More...

#include <algorithm>
#include <functional>
#include <vector>

Namespaces

namespace  ace

Classes

class  ace::HashVector< _StType, _HashFunc >
 Class for storage of. More...
class  ace::HashVector< _StType, _HashFunc >::items_compare
 Function object for equal to comparison of two N-gram pointers (one passed as constructor param, second as unary operator() param). More...
class  ace::HashVector< _StType, _HashFunc >::items_sort
 Function object for less than comparison of two N-gram pointers which is based on frequencies of instances they point to. More...
class  ace::HashVector< _StType, _HashFunc >::iterator
 Iterator class needed (simple - only forward, no random access!). More...


Detailed Description

Declaration and definition of very simple hashing container.

Note: this container is designed on purpose! It's not intended to be used as general (STL-like) container. Not only much of general containers functionality is missing, but (what's serious matter) there is some extra stuff, that's adjusted to storage of pointers to NGram instances!

(C) Ceslav Przywara 2008, MFF UK Prague


Generated on Wed Aug 6 23:25:49 2008 for PACE by  doxygen 1.5.6