7 namespace tdc {
namespace io {
23 std::string m_path =
"";
24 std::istream* m_stream =
nullptr;
47 inline std::istream*
stream()
const {
52 inline const std::string&
file()
const {
59 return lhs.m_content == rhs.m_content
60 && lhs.m_view.
data() == rhs.m_view.
data()
61 && lhs.m_view.
size() == rhs.m_view.
size()
62 && lhs.m_path == rhs.m_path
63 && lhs.m_stream == rhs.m_stream;
68 return o <<
"{ view: " << std::hex << size_t(v.
view().
data()) << std::dec
73 return o <<
"{ stream: " << std::hex << size_t(v.
stream()) << std::dec <<
" }";
76 return o <<
"{ file: " << v.
file() <<
" }";
Contains the text compression and encoding framework.
A const view into a slice of memory.
std::ostream & operator<<(std::ostream &o, const InputRestrictions &v)
size_type size() const
Returns size of the View.
const value_type * data() const noexcept
The backing memory location.