diff --git a/emory/chunk/ostream.cpp b/emory/chunk/ostream.cpp index 1856fb4..eed6201 100644 --- a/emory/chunk/ostream.cpp +++ b/emory/chunk/ostream.cpp @@ -3,17 +3,30 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * Copyright 2019, Danny Robson + * Copyright 2019-2020, Danny Robson */ #include "ostream.hpp" +#include "params.hpp" #include "region.hpp" #include "match.hpp" #include #include + +/////////////////////////////////////////////////////////////////////////////// +std::ostream& +emory::chunk::operator<< (std::ostream &os, params const &val) +{ + return os << "{ bits: " << val.bits + << ", window: " << val.window + << ", minimum: " << val.minimum + << " }"; +} + + /////////////////////////////////////////////////////////////////////////////// std::ostream& emory::chunk::operator<< (std::ostream &os, region const &val) diff --git a/emory/chunk/ostream.hpp b/emory/chunk/ostream.hpp index 93f5316..84711c4 100644 --- a/emory/chunk/ostream.hpp +++ b/emory/chunk/ostream.hpp @@ -3,7 +3,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * Copyright 2019, Danny Robson + * Copyright 2019-2020, Danny Robson */ #pragma once @@ -14,6 +14,8 @@ namespace emory::chunk { + std::ostream& operator<< (std::ostream&, params const&); + std::ostream& operator<< (std::ostream &, region const &);