Skip to content
Snippets Groups Projects
Commit 5e212cb6 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

move PagedArray datastructure to base module

makes it easier to re-use elsewhere
parent 24ea7a8c
Branches
Tags
No related merge requests found
...@@ -32,6 +32,7 @@ pod_vector.hh ...@@ -32,6 +32,7 @@ pod_vector.hh
fixed_string.hh fixed_string.hh
tri_matrix.hh tri_matrix.hh
boost_filesystem_helper.hh boost_filesystem_helper.hh
paged_array.hh
) )
set(OST_EXPORT_HELPERS set(OST_EXPORT_HELPERS
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
#ifndef OST_DB_PAGED_ARRAY_HH #ifndef OST_PAGED_ARRAY_HH
#define OST_DB_PAGED_ARRAY_HH #define OST_PAGED_ARRAY_HH
/* /*
Author: Marco Biasini, Gabriel Studer Author: Marco Biasini, Gabriel Studer
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
namespace ost{ namespace db{ namespace ost{ namespace db{
/// \brief Vector style container that splits content in pages, suited for large
/// amounts of data. Comes with serialization functionality.
template <typename T, uint64_t P> template <typename T, uint64_t P>
class PagedArray { class PagedArray {
private: private:
......
...@@ -3,7 +3,6 @@ sqlite_wrap.hh ...@@ -3,7 +3,6 @@ sqlite_wrap.hh
sqlite_conv.hh sqlite_conv.hh
module_config.hh module_config.hh
linear_indexer.hh linear_indexer.hh
paged_array.hh
binary_container.hh binary_container.hh
extract_data_helper.hh extract_data_helper.hh
) )
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <ost/base.hh> #include <ost/base.hh>
#include <ost/stdint.hh> #include <ost/stdint.hh>
#include <ost/geom/vec3.hh> #include <ost/geom/vec3.hh>
#include <ost/db/paged_array.hh> #include <ost/paged_array.hh>
namespace ost { namespace db { namespace ost { namespace db {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment