IoFileOutputHelper Class Reference

#include <iostreams_helper.h>

Inheritance diagram for IoFileOutputHelper:

Public Member Functions

Result< void > Init (const Url &url, BYTEORDER byteOrder)
 
Result< void > Init (const OutputStreamRef &stream, BYTEORDER byteOrder)
 
BYTEORDER GetByteOrder () const
 
Url GetUrl () const
 
Result< void > WriteBytes (const Block< const Byte > &data)
 
Result< void > WriteChar (Char v)
 
Result< void > WriteUChar (UChar v)
 
Result< void > WriteInt16 (Int16 v)
 
Result< void > WriteUInt16 (UInt16 v)
 
Result< void > WriteInt32 (Int32 v)
 
Result< void > WriteUInt32 (UInt32 v)
 
Result< void > WriteInt64 (Int64 v)
 
Result< void > WriteUInt64 (UInt64 v)
 
Result< void > WriteFloat32 (Float32 v)
 
Result< void > WriteFloat64 (Float64 v)
 

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 OutputStreamRef &  stream,
BYTEORDER  byteOrder 
)

◆ GetByteOrder()

BYTEORDER GetByteOrder ( ) const

◆ GetUrl()

Url GetUrl ( ) const

◆ WriteBytes()

Result<void> WriteBytes ( const Block< const Byte > &  data)

◆ WriteChar()

Result<void> WriteChar ( Char  v)

◆ WriteUChar()

Result<void> WriteUChar ( UChar  v)

◆ WriteInt16()

Result<void> WriteInt16 ( Int16  v)

◆ WriteUInt16()

Result<void> WriteUInt16 ( UInt16  v)

◆ WriteInt32()

Result<void> WriteInt32 ( Int32  v)

◆ WriteUInt32()

Result<void> WriteUInt32 ( UInt32  v)

◆ WriteInt64()

Result<void> WriteInt64 ( Int64  v)

◆ WriteUInt64()

Result<void> WriteUInt64 ( UInt64  v)

◆ WriteFloat32()

Result<void> WriteFloat32 ( Float32  v)

◆ WriteFloat64()

Result<void> WriteFloat64 ( Float64  v)

Member Data Documentation

◆ _byteOrder

BYTEORDER _byteOrder
private

◆ _url

Url _url
private