buffer_randomaccessset.hxx
Go to the documentation of this file.00001 #pragma once
00002 #ifndef OPENGM_BUFFER_RANDOM_ACCESS_SET_HXX
00003 #define OPENGM_BUFFER_RANDOM_ACCESS_SET_HXX
00004
00005 #include <vector>
00006 #include <algorithm>
00007 #include <utility>
00008
00009 #include <opengm/datastructures/buffer_vector.hxx>
00010
00011 namespace opengm {
00012 template<class T>
00013 class BufferRandomAccessSet{
00014 public:
00015 void insert(const T & );
00016 private:
00017 BufferVector<T> vector_;
00018 };
00019 }
00020
00021 #endif // #ifndef OPENGM_BUFFER_RANDOM_ACCESS_SET_HXX