bpf::io::IDataInputStream class

Represents an arbitary stream with deserialization capability

Base classes

class IInputStream

Derived classes

class BinaryReader final
class ConsoleReader final
class TextReader final

Constructors, destructors, conversion operators

~IDataInputStream() override

Public functions

auto operator>>(uint8& u) -> IDataInputStream& pure virtual
auto operator>>(uint16& u) -> IDataInputStream& pure virtual
auto operator>>(uint32& u) -> IDataInputStream& pure virtual
auto operator>>(uint64& u) -> IDataInputStream& pure virtual
auto operator>>(int8& i) -> IDataInputStream& pure virtual
auto operator>>(int16& i) -> IDataInputStream& pure virtual
auto operator>>(fint& i) -> IDataInputStream& pure virtual
auto operator>>(int64& i) -> IDataInputStream& pure virtual
auto operator>>(float& f) -> IDataInputStream& pure virtual
auto operator>>(double& d) -> IDataInputStream& pure virtual
auto operator>>(bool& b) -> IDataInputStream& pure virtual
auto operator>>(bpf::String& str) -> IDataInputStream& pure virtual

Function documentation

IDataInputStream& bpf::io::IDataInputStream::operator>>(uint8& u) pure virtual

Parameters
u deserialized uint8
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(uint16& u) pure virtual

Parameters
u deserialized uint16
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(uint32& u) pure virtual

Parameters
u deserialized uint21
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(uint64& u) pure virtual

Parameters
u deserialized uint64
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(int8& i) pure virtual

Parameters
i deserialized int8
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(int16& i) pure virtual

Parameters
i deserialized int16
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(fint& i) pure virtual

Parameters
i deserialized int32
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(int64& i) pure virtual

Parameters
i deserialized int64
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(float& f) pure virtual

Parameters
f deserialized float
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(double& d) pure virtual

Parameters
d deserialized double
Returns IDataInputStream&

Deserialize a number

IDataInputStream& bpf::io::IDataInputStream::operator>>(bool& b) pure virtual

Parameters
b deserialized bool
Returns IDataInputStream&

Deserialize a boolean

IDataInputStream& bpf::io::IDataInputStream::operator>>(bpf::String& str) pure virtual

Parameters
str deserialized high-level string
Returns IDataInputStream&

Deserialize a string