Skip to content

Commit

Permalink
Include a header for Datum from types.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Sep 11, 2014
1 parent eebf393 commit 76d9842
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 16 deletions.
1 change: 0 additions & 1 deletion benchmark/benchmark_adjuster.cpp
Expand Up @@ -22,7 +22,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/expression.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/grnxx/Makefile.am
Expand Up @@ -6,7 +6,6 @@ pkginclude_HEADERS = \
array.hpp \
column.hpp \
cursor.hpp \
datum.hpp \
db.hpp \
error.hpp \
expression.hpp \
Expand Down
1 change: 0 additions & 1 deletion include/grnxx/index.hpp
@@ -1,7 +1,6 @@
#ifndef GRNXX_INDEX_HPP
#define GRNXX_INDEX_HPP

#include "grnxx/datum.hpp"
#include "grnxx/name.hpp"
#include "grnxx/types.hpp"

Expand Down
1 change: 1 addition & 0 deletions include/grnxx/types.hpp
Expand Up @@ -4,6 +4,7 @@
#include "grnxx/types/base_types.hpp"
#include "grnxx/types/constants.hpp"
#include "grnxx/types/data_types.hpp"
#include "grnxx/types/datum.hpp"
#include "grnxx/types/forward.hpp"
#include "grnxx/types/geo_point.hpp"
#include "grnxx/types/options.hpp"
Expand Down
1 change: 1 addition & 0 deletions include/grnxx/types/Makefile.am
Expand Up @@ -2,6 +2,7 @@ pkgincludedir = ${includedir}/${PACKAGE}/types
pkginclude_HEADERS = \
base_types.hpp \
constants.hpp \
datum.hpp \
data_types.hpp \
forward.hpp \
geo_point.hpp \
Expand Down
13 changes: 9 additions & 4 deletions include/grnxx/datum.hpp → include/grnxx/types/datum.hpp
@@ -1,7 +1,12 @@
#ifndef GRNXX_DATUM_HPP
#define GRNXX_DATUM_HPP
#ifndef GRNXX_TYPES_DATUM_HPP
#define GRNXX_TYPES_DATUM_HPP

#include "grnxx/types.hpp"
#include "grnxx/types/base_types.hpp"
#include "grnxx/types/constants.hpp"
#include "grnxx/types/data_types.hpp"
#include "grnxx/types/geo_point.hpp"
#include "grnxx/types/string.hpp"
#include "grnxx/types/vector.hpp"

namespace grnxx {

Expand Down Expand Up @@ -128,4 +133,4 @@ class Datum {

} // namespace grnxx

#endif // GRNXX_DATUM_HPP
#endif // GRNXX_TYPES_DATUM_HPP
1 change: 0 additions & 1 deletion lib/grnxx/column.cpp
Expand Up @@ -2,7 +2,6 @@

#include "grnxx/column_impl.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/index.hpp"
Expand Down
1 change: 0 additions & 1 deletion lib/grnxx/expression.cpp
@@ -1,7 +1,6 @@
#include "grnxx/expression.hpp"

#include "grnxx/column_impl.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/error.hpp"
#include "grnxx/table.hpp"

Expand Down
1 change: 0 additions & 1 deletion lib/grnxx/index.cpp
Expand Up @@ -3,7 +3,6 @@
#include "grnxx/column.hpp"
#include "grnxx/column_impl.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/table.hpp"
#include "grnxx/tree_index.hpp"

Expand Down
1 change: 0 additions & 1 deletion test/test_column.cpp
Expand Up @@ -20,7 +20,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/table.hpp"
Expand Down
1 change: 0 additions & 1 deletion test/test_expression.cpp
Expand Up @@ -21,7 +21,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/expression.hpp"
Expand Down
1 change: 0 additions & 1 deletion test/test_index.cpp
Expand Up @@ -21,7 +21,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/index.hpp"
Expand Down
1 change: 0 additions & 1 deletion test/test_pipeline.cpp
Expand Up @@ -21,7 +21,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/expression.hpp"
Expand Down
1 change: 0 additions & 1 deletion test/test_sorter.cpp
Expand Up @@ -21,7 +21,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/expression.hpp"
Expand Down
1 change: 0 additions & 1 deletion test/test_table.cpp
Expand Up @@ -20,7 +20,6 @@

#include "grnxx/column.hpp"
#include "grnxx/cursor.hpp"
#include "grnxx/datum.hpp"
#include "grnxx/db.hpp"
#include "grnxx/error.hpp"
#include "grnxx/table.hpp"
Expand Down

0 comments on commit 76d9842

Please sign in to comment.