2021-06-27 21:25:29 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: IStreamWriter.hpp
|
|
|
|
Date: 2021-6-10
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::IO
|
|
|
|
{
|
2022-05-28 11:18:00 +00:00
|
|
|
AUKN_INTERFACE(IStreamWriter,
|
|
|
|
AUI_METHOD(EStreamError, IsOpen, ()),
|
|
|
|
AUI_METHOD(EStreamError, Write, (const Memory::MemoryViewStreamRead&, parameters)),
|
|
|
|
AUI_METHOD(void, Flush, ()),
|
|
|
|
AUI_METHOD(void, Close, ())
|
|
|
|
);
|
|
|
|
|
|
|
|
inline EStreamError WriteAll(IStreamWriter* that, const Memory::MemoryViewStreamRead& parameters);
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "IStreamWriter.inl"
|