susumu.yata
null+****@clear*****
Mon Feb 18 12:02:38 JST 2013
susumu.yata 2013-02-18 12:02:38 +0900 (Mon, 18 Feb 2013) New Revision: 4cfc387534e75cab048f8264de8e4a5dbb4d67d8 https://github.com/groonga/grnxx/commit/4cfc387534e75cab048f8264de8e4a5dbb4d67d8 Log: Implement grnxx::map::da::Trie::create/open(). Modified files: lib/map/da/trie.cpp lib/map/da/trie.hpp Modified: lib/map/da/trie.cpp (+2 -4) =================================================================== --- lib/map/da/trie.cpp 2013-02-14 16:22:25 +0900 (99da9cc) +++ lib/map/da/trie.cpp 2013-02-18 12:02:38 +0900 (401a3bf) @@ -14,13 +14,11 @@ Trie::Trie() {} Trie::~Trie() {} Trie *Trie::create(const TrieOptions &options, io::Pool pool) { - // TODO - return nullptr; + return basic::Trie::create(options, pool); } Trie *Trie::open(io::Pool pool, uint32_t block_id) { - // TODO - return nullptr; + return basic::Trie::open(pool, block_id); } } // namespace da Modified: lib/map/da/trie.hpp (+2 -1) =================================================================== --- lib/map/da/trie.hpp 2013-02-14 16:22:25 +0900 (993a862) +++ lib/map/da/trie.hpp 2013-02-18 12:02:38 +0900 (343d9e4) @@ -18,7 +18,8 @@ #ifndef GRNXX_MAP_DA_TRIE_HPP #define GRNXX_MAP_DA_TRIE_HPP -#include "../double_array.hpp" +#include "../../exception.hpp" +#include "../../map.hpp" namespace grnxx { namespace map { -------------- next part -------------- HTML����������������������������... Download