X-Git-Url: https://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=store%2Fstore.cc;h=76f0586f3fcf6d714114366bfdd4c80bec024d4f;hp=6f44e8525457c8135b7eafc9c773753fc93a545f;hb=067f77e22bace6d17204e3f1f677dd6a5ca6f563;hpb=7c27903f08ee6069172f92415888a825512cba01 diff --git a/store/store.cc b/store/store.cc index 6f44e85..76f0586 100644 --- a/store/store.cc +++ b/store/store.cc @@ -1,30 +1,11 @@ -#include -#include -#include +#include "store/store.h" +#include "reader/reader.h" +#include "visitor/visitor.h" #include - namespace odc { -template T join(const A & begin, const A & end, const T &sep) { - T result; - - if (begin != end) { - A it = begin; - result.append(*it); - for (++it; it != end; ++it) { - result.append(sep).append(*it); - } - } - - return result; -} - -std::string TypePath::toString() const { - return join(begin(), end(), std::string("->")); -} - const std::string Store::TYPENAME("Stores.Store^"); const TopTypeProxy Store::PROXY;