diff --git a/modules/base/src/CMakeLists.txt b/modules/base/src/CMakeLists.txt index 796052d610b50a5335eb2a803600c315bb324c97..2ad8088a217df565ea8ec83e52fbc0b53e7c5c68 100644 --- a/modules/base/src/CMakeLists.txt +++ b/modules/base/src/CMakeLists.txt @@ -32,6 +32,7 @@ pod_vector.hh fixed_string.hh tri_matrix.hh boost_filesystem_helper.hh +paged_array.hh ) set(OST_EXPORT_HELPERS diff --git a/modules/db/src/paged_array.hh b/modules/base/src/paged_array.hh similarity index 96% rename from modules/db/src/paged_array.hh rename to modules/base/src/paged_array.hh index 3ce76378b9fe4209364fe77697822c43510da165..7bfae89ad842c7e316cb80e506adbc2417e5a55e 100644 --- a/modules/db/src/paged_array.hh +++ b/modules/base/src/paged_array.hh @@ -18,8 +18,8 @@ //------------------------------------------------------------------------------ -#ifndef OST_DB_PAGED_ARRAY_HH -#define OST_DB_PAGED_ARRAY_HH +#ifndef OST_PAGED_ARRAY_HH +#define OST_PAGED_ARRAY_HH /* Author: Marco Biasini, Gabriel Studer @@ -32,6 +32,9 @@ 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> class PagedArray { private: diff --git a/modules/db/src/CMakeLists.txt b/modules/db/src/CMakeLists.txt index 8b59de092c830779d896e3a84a6cae83e43646a2..8d40b089c57e71830d3e109a1599e7ab4c6b84e3 100644 --- a/modules/db/src/CMakeLists.txt +++ b/modules/db/src/CMakeLists.txt @@ -3,7 +3,6 @@ sqlite_wrap.hh sqlite_conv.hh module_config.hh linear_indexer.hh -paged_array.hh binary_container.hh extract_data_helper.hh ) diff --git a/modules/db/src/binary_container.hh b/modules/db/src/binary_container.hh index 6477e7452bcbd2c0867c5d4d55779e6b54ead351..9b012d5664cd7a0607208b4bcbeb30a37227cf48 100644 --- a/modules/db/src/binary_container.hh +++ b/modules/db/src/binary_container.hh @@ -26,7 +26,7 @@ #include <ost/base.hh> #include <ost/stdint.hh> #include <ost/geom/vec3.hh> -#include <ost/db/paged_array.hh> +#include <ost/paged_array.hh> namespace ost { namespace db {