edge_map.h

00001 //==========================================================================
00002 //
00003 //   edge_map.h
00004 //
00005 //==========================================================================
00006 // $Id: edge_map.h,v 1.8 2005/06/14 12:22:12 raitner Exp $
00007 
00008 #ifndef GTL_EDGE_MAP_H
00009 #define GTL_EDGE_MAP_H
00010 
00011 #include <GTL/GTL.h>
00012 #include <GTL/edge.h>
00013 #include <GTL/ne_map.h>
00014 
00015 __GTL_BEGIN_NAMESPACE
00016 
00017 class graph; 
00018 
00052 template <class T, class Alloc = allocator<T> >
00053 class edge_map : public ne_map<edge, T, graph, Alloc>
00054 {
00055 public:
00056 
00063     edge_map() : ne_map<edge, T, graph, Alloc>() {};
00064     
00071      explicit edge_map(const graph &g, T t=T()) : 
00072         ne_map<edge, T, graph, Alloc>(g,t) {};
00073 };
00074 
00075 __GTL_END_NAMESPACE
00076 
00077 #endif // GTL_EDGE_MAP_H
00078 
00079 //--------------------------------------------------------------------------
00080 //   end of file
00081 //--------------------------------------------------------------------------