src/hugo/array_map_factory.h
changeset 785 a9b0863c2265
parent 783 81bf2d766164
child 786 d7b3b13b9df6
equal deleted inserted replaced
1:ff959110dc29 2:24182881d4d0
     4 
     4 
     5 #include <memory>
     5 #include <memory>
     6 
     6 
     7 #include <hugo/extended_pair.h>
     7 #include <hugo/extended_pair.h>
     8 
     8 
       
     9 ///\ingroup graphmapfactory
       
    10 ///\file
       
    11 ///\brief Graph maps that construates and destruates
       
    12 ///their elements dynamically.
       
    13 
     9 namespace hugo {
    14 namespace hugo {
    10 	
    15 	
       
    16 /// \addtogroup graphmapfactory
       
    17 /// @{
       
    18 
       
    19   ///.
    11   template <typename MapRegistry> class ArrayMapFactory {
    20   template <typename MapRegistry> class ArrayMapFactory {
    12 		
    21 		
    13   public:
    22   public:
    14 		
    23 		
    15     typedef typename MapRegistry::Graph Graph;
    24     typedef typename MapRegistry::Graph Graph;
   360       int capacity;
   369       int capacity;
   361       Value* values;
   370       Value* values;
   362       Allocator allocator;
   371       Allocator allocator;
   363     };		
   372     };		
   364   };
   373   };
       
   374   
       
   375 /// @}
       
   376   
       
   377 
   365 }
   378 }
   366 
   379 
   367 #endif
   380 #endif