2022-11-28 19:21:26 +08:00
|
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.4" xml:lang="en-US">
|
|
|
|
<compounddef id="FileStreamImpl_8h" kind="file" language="C++">
|
|
|
|
<compoundname>FileStreamImpl.h</compoundname>
|
|
|
|
<includes refid="FileStream_8h" local="yes">trio/streams/FileStream.h</includes>
|
|
|
|
<includes refid="StreamStatus_8h" local="yes">trio/streams/StreamStatus.h</includes>
|
|
|
|
<includes refid="trio_2types_2Aliases_8h" local="yes">trio/types/Aliases.h</includes>
|
|
|
|
<includes refid="NativeString_8h" local="yes">trio/utils/NativeString.h</includes>
|
|
|
|
<includes refid="include_2pma_2TypeDefs_8h" local="no">pma/TypeDefs.h</includes>
|
|
|
|
<includes local="no">cstddef</includes>
|
|
|
|
<includes local="no">cstdint</includes>
|
|
|
|
<includes local="no">fstream</includes>
|
|
|
|
<includes local="no">ios</includes>
|
|
|
|
<includedby refid="FileStreamImpl_8cpp" local="yes">FileStreamImpl.cpp</includedby>
|
|
|
|
<incdepgraph>
|
|
|
|
<node id="10">
|
|
|
|
<label>pma/Defs.h</label>
|
|
|
|
<link refid="pma_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="9">
|
|
|
|
<label>pma/MemoryResource.h</label>
|
|
|
|
<link refid="MemoryResource_8h"/>
|
|
|
|
<childnode refid="10" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="24">
|
|
|
|
<label>pma/PolyAllocator.h</label>
|
|
|
|
<link refid="PolyAllocator_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="25" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="26" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="27" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="28" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="12" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="11">
|
|
|
|
<label>pma/ScopedPtr.h</label>
|
|
|
|
<link refid="ScopedPtr_8h"/>
|
|
|
|
<childnode refid="12" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="23">
|
|
|
|
<label>pma/TypeDefs.h</label>
|
|
|
|
<link refid="include_2pma_2TypeDefs_8h"/>
|
|
|
|
<childnode refid="24" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="30" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="33" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="34" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="35" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="36" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="25">
|
|
|
|
<label>pma/resources/DefaultMemoryResource.h</label>
|
|
|
|
<link refid="DefaultMemoryResource_8h"/>
|
|
|
|
<childnode refid="10" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="14">
|
|
|
|
<label>status/Defs.h</label>
|
|
|
|
<link refid="status_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="18">
|
|
|
|
<label>status/Provider.h</label>
|
|
|
|
<link refid="Provider_8h"/>
|
|
|
|
<childnode refid="14" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="15" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="19" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="21" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="13">
|
|
|
|
<label>status/Status.h</label>
|
|
|
|
<link refid="Status_8h"/>
|
|
|
|
<childnode refid="14" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="15" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="15">
|
|
|
|
<label>status/StatusCode.h</label>
|
|
|
|
<link refid="StatusCode_8h"/>
|
|
|
|
<childnode refid="14" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="5">
|
|
|
|
<label>trio/Concepts.h</label>
|
|
|
|
<link refid="Concepts_8h"/>
|
|
|
|
<childnode refid="3" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="3">
|
|
|
|
<label>trio/Defs.h</label>
|
|
|
|
<link refid="trio_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="4">
|
|
|
|
<label>trio/Stream.h</label>
|
|
|
|
<link refid="Stream_8h"/>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="3" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="8" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="2">
|
|
|
|
<label>trio/streams/FileStream.h</label>
|
|
|
|
<link refid="FileStream_8h"/>
|
|
|
|
<childnode refid="3" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="8">
|
|
|
|
<label>trio/types/Aliases.h</label>
|
|
|
|
<link refid="trio_2types_2Aliases_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="11" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="13" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="15" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="16">
|
|
|
|
<label>trio/types/Parameters.h</label>
|
|
|
|
<link refid="Parameters_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="1">
|
|
|
|
<label>FileStreamImpl.h</label>
|
|
|
|
<link refid="FileStreamImpl_8h"/>
|
|
|
|
<childnode refid="2" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="17" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="8" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="40" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="41" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="17">
|
|
|
|
<label>trio/streams/StreamStatus.h</label>
|
|
|
|
<link refid="StreamStatus_8h"/>
|
|
|
|
<childnode refid="8" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="18" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="22">
|
|
|
|
<label>trio/utils/NativeString.h</label>
|
|
|
|
<link refid="NativeString_8h"/>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="37" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="38" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="39" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="20">
|
|
|
|
<label>algorithm</label>
|
|
|
|
</node>
|
|
|
|
<node id="21">
|
|
|
|
<label>array</label>
|
|
|
|
</node>
|
|
|
|
<node id="26">
|
|
|
|
<label>cassert</label>
|
|
|
|
</node>
|
|
|
|
<node id="37">
|
|
|
|
<label>clocale</label>
|
|
|
|
</node>
|
|
|
|
<node id="6">
|
|
|
|
<label>cstddef</label>
|
|
|
|
</node>
|
|
|
|
<node id="7">
|
|
|
|
<label>cstdint</label>
|
|
|
|
</node>
|
|
|
|
<node id="38">
|
|
|
|
<label>cstring</label>
|
|
|
|
</node>
|
|
|
|
<node id="39">
|
|
|
|
<label>cwchar</label>
|
|
|
|
</node>
|
|
|
|
<node id="40">
|
|
|
|
<label>fstream</label>
|
|
|
|
</node>
|
|
|
|
<node id="41">
|
|
|
|
<label>ios</label>
|
|
|
|
</node>
|
|
|
|
<node id="30">
|
|
|
|
<label>list</label>
|
|
|
|
</node>
|
|
|
|
<node id="31">
|
|
|
|
<label>map</label>
|
|
|
|
</node>
|
|
|
|
<node id="27">
|
|
|
|
<label>memory</label>
|
|
|
|
</node>
|
|
|
|
<node id="28">
|
|
|
|
<label>scoped_allocator</label>
|
|
|
|
</node>
|
|
|
|
<node id="32">
|
|
|
|
<label>set</label>
|
|
|
|
</node>
|
|
|
|
<node id="19">
|
|
|
|
<label>stdio.h</label>
|
|
|
|
</node>
|
|
|
|
<node id="33">
|
|
|
|
<label>string</label>
|
|
|
|
</node>
|
|
|
|
<node id="29">
|
|
|
|
<label>type_traits</label>
|
|
|
|
</node>
|
|
|
|
<node id="34">
|
|
|
|
<label>unordered_map</label>
|
|
|
|
</node>
|
|
|
|
<node id="35">
|
|
|
|
<label>unordered_set</label>
|
|
|
|
</node>
|
|
|
|
<node id="12">
|
|
|
|
<label>utility</label>
|
|
|
|
</node>
|
|
|
|
<node id="36">
|
|
|
|
<label>vector</label>
|
|
|
|
</node>
|
|
|
|
</incdepgraph>
|
|
|
|
<invincdepgraph>
|
|
|
|
<node id="2">
|
|
|
|
<label>FileStreamImpl.cpp</label>
|
|
|
|
<link refid="FileStreamImpl_8cpp"/>
|
|
|
|
</node>
|
|
|
|
<node id="1">
|
|
|
|
<label>FileStreamImpl.h</label>
|
|
|
|
<link refid="FileStreamImpl_8h"/>
|
|
|
|
<childnode refid="2" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
</invincdepgraph>
|
|
|
|
<innerclass refid="classtrio_1_1FileStreamImpl" prot="public">trio::FileStreamImpl</innerclass>
|
|
|
|
<innernamespace refid="namespacetrio">trio</innernamespace>
|
|
|
|
<briefdescription>
|
|
|
|
</briefdescription>
|
|
|
|
<detaileddescription>
|
|
|
|
</detaileddescription>
|
|
|
|
<programlisting>
|
|
|
|
<codeline lineno="1"><highlight class="comment">//<sp/>Copyright<sp/>Epic<sp/>Games,<sp/>Inc.<sp/>All<sp/>Rights<sp/>Reserved.</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="2"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="4"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="FileStream_8h" kindref="compound">trio/streams/FileStream.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="StreamStatus_8h" kindref="compound">trio/streams/StreamStatus.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="trio_2types_2Aliases_8h" kindref="compound">trio/types/Aliases.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="NativeString_8h" kindref="compound">trio/utils/NativeString.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2pma_2TypeDefs_8h" kindref="compound">pma/TypeDefs.h</ref>></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>_MSC_VER</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/><sp/><sp/><sp/>#pragma<sp/>warning(push)</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/><sp/><sp/><sp/>#pragma<sp/>warning(disable<sp/>:<sp/>4365<sp/>4987)</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cstddef></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cstdint></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="18"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><fstream></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><ios></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>_MSC_VER</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/><sp/><sp/><sp/>#pragma<sp/>warning(pop)</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespacetrio" kindref="compound">trio</ref><sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="25"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="26" refid="classtrio_1_1FileStreamImpl" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classtrio_1_1FileStreamImpl" kindref="compound">FileStreamImpl</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classtrio_1_1FileStream" kindref="compound">FileStream</ref><sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
|
|
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classtrio_1_1FileStreamImpl_1ad37cbd195d33a5f2cd40f035ab3d3d47" kindref="member">FileStreamImpl</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>path_,<sp/><ref refid="namespacetrio_1a4b77aebe484e434a3112e66b70acd116" kindref="member">AccessMode</ref><sp/>accessMode_,<sp/><ref refid="namespacetrio_1a6020d2cf223a27e6f0c208754c379dce" kindref="member">OpenMode</ref><sp/>openMode_,<sp/><ref refid="classpma_1_1MemoryResource" kindref="compound">MemoryResource</ref>*<sp/>memRes_);</highlight></codeline>
|
|
|
|
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classtrio_1_1FileStreamImpl_1af5145015e4f7c55662aa7a248dc29c0d" kindref="member">open</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classtrio_1_1FileStreamImpl_1a42f32344da4b9686abee8a71d4730ccb" kindref="member">close</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::uint64_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a35066ab7b50de21eeca6a592c11a4cd1" kindref="member">tell</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classtrio_1_1FileStreamImpl_1a6f2a2ac467cec1b636300d6ed9ab9f48" kindref="member">seek</ref>(std::uint64_t<sp/>position)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::uint64_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a886f87940390609350ebac7d3e34e225" kindref="member">size</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1abf0a546ad27b383f94b94e58a9210845" kindref="member">read</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>destination,<sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a886f87940390609350ebac7d3e34e225" kindref="member">size</ref>)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1abf0a546ad27b383f94b94e58a9210845" kindref="member">read</ref>(<ref refid="classtrio_1_1Writable" kindref="compound">Writable</ref>*<sp/>destination,<sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a886f87940390609350ebac7d3e34e225" kindref="member">size</ref>)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a21553243d67bcf7b017a24d71820c9fb" kindref="member">write</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>source,<sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a886f87940390609350ebac7d3e34e225" kindref="member">size</ref>)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a21553243d67bcf7b017a24d71820c9fb" kindref="member">write</ref>(<ref refid="classtrio_1_1Readable" kindref="compound">Readable</ref>*<sp/>source,<sp/>std::size_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a886f87940390609350ebac7d3e34e225" kindref="member">size</ref>)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classpma_1_1MemoryResource" kindref="compound">MemoryResource</ref>*<sp/><ref refid="classtrio_1_1FileStreamImpl_1a3e2cde283da92d981e698b4bd362ddea" kindref="member">getMemoryResource</ref>();</highlight></codeline>
|
|
|
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
|
|
<codeline lineno="43" refid="classtrio_1_1FileStreamImpl_1a1eae9ba35342b17b9653961060afcd3f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::fstream<sp/><ref refid="classtrio_1_1FileStreamImpl_1a1eae9ba35342b17b9653961060afcd3f" kindref="member">file</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="44" refid="classtrio_1_1FileStreamImpl_1a0d550c09b548f308da42424c369b477d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespacetrio_1add2affebde5ca4fa798a3855cadd339b" kindref="member">NativeString</ref><sp/><ref refid="classtrio_1_1FileStreamImpl_1a0d550c09b548f308da42424c369b477d" kindref="member">filePath</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="45" refid="classtrio_1_1FileStreamImpl_1af591e812e9dad5600be7c132c9f7abeb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespacetrio_1a4b77aebe484e434a3112e66b70acd116" kindref="member">AccessMode</ref><sp/><ref refid="classtrio_1_1FileStreamImpl_1af591e812e9dad5600be7c132c9f7abeb" kindref="member">fileAccessMode</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="46" refid="classtrio_1_1FileStreamImpl_1a3d005b224c0cbed66889a4f4f8c69902" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespacetrio_1a6020d2cf223a27e6f0c208754c379dce" kindref="member">OpenMode</ref><sp/><ref refid="classtrio_1_1FileStreamImpl_1a3d005b224c0cbed66889a4f4f8c69902" kindref="member">fileOpenMode</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="47" refid="classtrio_1_1FileStreamImpl_1a80e65d12e393b02062f876f2f203841f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::uint64_t<sp/><ref refid="classtrio_1_1FileStreamImpl_1a80e65d12e393b02062f876f2f203841f" kindref="member">fileSize</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="48" refid="classtrio_1_1FileStreamImpl_1a18054e12a142178b3e27568e1423e29e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classpma_1_1MemoryResource" kindref="compound">MemoryResource</ref>*<sp/><ref refid="classtrio_1_1FileStreamImpl_1a18054e12a142178b3e27568e1423e29e" kindref="member">memRes</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="49" refid="classtrio_1_1FileStreamImpl_1aef2982a7c16c85b76f49b5b6daabebae" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classtrio_1_1StreamStatus" kindref="compound">StreamStatus</ref><sp/><ref refid="classtrio_1_1FileStreamImpl_1aef2982a7c16c85b76f49b5b6daabebae" kindref="member">status</ref>;</highlight></codeline>
|
|
|
|
<codeline lineno="50"><highlight class="normal">};</highlight></codeline>
|
|
|
|
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="52"><highlight class="normal">}<sp/><sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>trio</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
</programlisting>
|
2022-12-02 21:35:01 +08:00
|
|
|
<location file="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/src/trio/streams/FileStreamImpl.h"/>
|
2022-11-28 19:21:26 +08:00
|
|
|
</compounddef>
|
|
|
|
</doxygen>
|