susumu.yata
null+****@clear*****
Mon Jul 7 11:59:41 JST 2014
susumu.yata 2014-07-07 11:59:41 +0900 (Mon, 07 Jul 2014) New Revision: d2c8c0b2bee4a08bb9e01678f54fb21391c917bf https://github.com/groonga/grnxx/commit/d2c8c0b2bee4a08bb9e01678f54fb21391c917bf Message: Add comments and change the order of definitions. Modified files: include/grnxx/types.hpp Modified: include/grnxx/types.hpp (+9 -8) =================================================================== --- include/grnxx/types.hpp 2014-07-04 18:41:39 +0900 (8ba2e08) +++ include/grnxx/types.hpp 2014-07-07 11:59:41 +0900 (c807257) @@ -97,13 +97,13 @@ inline bool operator>=(String lhs, String rhs) { // Error information. class Error; -// Database object types. +// Database persistent object types. class DB; class Table; class Column; class Index; -// Database option types. +// Database persistent object option types. struct DBOptions; struct TableOptions; struct ColumnOptions; @@ -295,17 +295,18 @@ constexpr Int NULL_ROW_ID = 0; constexpr Int MIN_ROW_ID = 1; constexpr Int MAX_ROW_ID = (Int(1) << 40) - 1; -// TODO -struct CursorOptions; +enum IndexType { + TREE_INDEX, + HASH_INDEX +}; +// Database temporary object types. class Datum; class Cursor; class RecordSet; -enum IndexType { - TREE_INDEX, - HASH_INDEX -}; +// Database temporary object option types. +struct CursorOptions; } // namespace grnxx -------------- next part -------------- HTML����������������������������...Download