IoFileInputHelper Class Reference

#include <iostreams_helper.h>

Inheritance diagram for IoFileInputHelper:

Public Member Functions

Result< void > Init (const Url &url, BYTEORDER byteOrder)
 
Result< void > Init (const InputStreamRef &stream, BYTEORDER byteOrder)
 
void SetByteOrder (BYTEORDER byteOrder)
 
BYTEORDER GetByteOrder () const
 
Url GetUrl () const
 
Result< void > ReadChar (Char *v)
 
Result< void > ReadUChar (UChar *v)
 
Result< void > ReadInt16 (Int16 *v)
 
Result< void > ReadUInt16 (UInt16 *v)
 
Result< void > ReadInt32 (Int32 *v)
 
Result< void > ReadUInt32 (UInt32 *v)
 
Result< void > ReadInt64 (Int64 *v)
 
Result< void > ReadUInt64 (UInt64 *v)
 
Result< void > ReadFloat32 (Float32 *v)
 
Result< void > ReadFloat64 (Float64 *v)
 
Result< CharReadChar ()
 
Result< UCharReadUChar ()
 
Result< Int16ReadInt16 ()
 
Result< UInt16ReadUInt16 ()
 
Result< Int32ReadInt32 ()
 
Result< UInt32ReadUInt32 ()
 
Result< Int64ReadInt64 ()
 
Result< UInt64ReadUInt64 ()
 
Result< Float32ReadFloat32 ()
 
Result< Float64ReadFloat64 ()
 

Private Attributes

BYTEORDER _byteOrder
 
Url _url
 

Member Function Documentation

◆ Init() [1/2]

Result<void> Init ( const Url url,
BYTEORDER  byteOrder 
)

◆ Init() [2/2]

Result<void> Init ( const InputStreamRef &  stream,
BYTEORDER  byteOrder 
)

◆ SetByteOrder()

void SetByteOrder ( BYTEORDER  byteOrder)

◆ GetByteOrder()

BYTEORDER GetByteOrder ( ) const

◆ GetUrl()

Url GetUrl ( ) const

◆ ReadChar() [1/2]

Result<void> ReadChar ( Char v)

◆ ReadUChar() [1/2]

Result<void> ReadUChar ( UChar v)

◆ ReadInt16() [1/2]

Result<void> ReadInt16 ( Int16 v)

◆ ReadUInt16() [1/2]

Result<void> ReadUInt16 ( UInt16 v)

◆ ReadInt32() [1/2]

Result<void> ReadInt32 ( Int32 v)

◆ ReadUInt32() [1/2]

Result<void> ReadUInt32 ( UInt32 v)

◆ ReadInt64() [1/2]

Result<void> ReadInt64 ( Int64 v)

◆ ReadUInt64() [1/2]

Result<void> ReadUInt64 ( UInt64 v)

◆ ReadFloat32() [1/2]

Result<void> ReadFloat32 ( Float32 v)

◆ ReadFloat64() [1/2]

Result<void> ReadFloat64 ( Float64 v)

◆ ReadChar() [2/2]

Result<Char> ReadChar ( )

◆ ReadUChar() [2/2]

Result<UChar> ReadUChar ( )

◆ ReadInt16() [2/2]

Result<Int16> ReadInt16 ( )

◆ ReadUInt16() [2/2]

Result<UInt16> ReadUInt16 ( )

◆ ReadInt32() [2/2]

Result<Int32> ReadInt32 ( )

◆ ReadUInt32() [2/2]

Result<UInt32> ReadUInt32 ( )

◆ ReadInt64() [2/2]

Result<Int64> ReadInt64 ( )

◆ ReadUInt64() [2/2]

Result<UInt64> ReadUInt64 ( )

◆ ReadFloat32() [2/2]

Result<Float32> ReadFloat32 ( )

◆ ReadFloat64() [2/2]

Result<Float64> ReadFloat64 ( )

Member Data Documentation

◆ _byteOrder

BYTEORDER _byteOrder
private

◆ _url

Url _url
private