DeSR Dependency Parser

IXE::PatternMap< T > Class Template Reference
[Configuration]

A PatternMap maps a shell wildcard pattern to an object of type T. More...

#include <PatternMap.h>

List of all members.

Classes

class  pattern_match

Public Types

typedef std::map< char const *, T > Map
typedef Map::key_type key_type
typedef Map::value_type value_type
typedef Map::iterator iterator
typedef Map::const_iterator const_iterator

Public Member Functions

iterator find (char const *name)
const_iterator find (char const *name) const
bool matches (char const *name) const
void insert (char const *pattern, T const &t)
void insert (value_type const &n)


Detailed Description

template<class T>
class IXE::PatternMap< T >

A PatternMap maps a shell wildcard pattern to an object of type T.

SEE ALSO

International Standards Organization. "ISO/IEC 9945-2: Information Technology -- Portable Operating System Interface (POSIX) -- Part 2: Shell and Utilities," 1993.

NOTE

Note that the declaration of std::map has a default "Compare" template parameter of "less<key_type>" and, since we've included less.h above that defines "less<char const*>", C-style string comparisons work properly.

Definition at line 62 of file PatternMap.h.


The documentation for this class was generated from the following file:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.