MCPcopy Create free account
hub / github.com/apache/madlib / rdstate

Method rdstate

src/dbal/ByteStream_impl.hpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116template <class StreamBuf, template <class T> class TypeTraits, bool IsMutable>
117inline
118std::ios_base::iostate
119ByteStream<StreamBuf, TypeTraits, IsMutable>::rdstate() const {
120 return (this->tell() <= this->size()
121 ? std::ios_base::goodbit
122 : std::ios_base::eofbit);
123}
124
125template <class StreamBuf, template <class T> class TypeTraits, bool IsMutable>
126inline

Callers

nothing calls this directly

Calls 2

tellMethod · 0.95
sizeMethod · 0.95

Tested by

no test coverage detected