acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
text_file.h
1#pragma once
2
3
4#include "file.h"
5
6
7namespace file
8{
9
10
11 class CLASS_DECL_ACME text_file :
12 virtual public ::file::file
13 {
14 public:
15
16
17 text_file();
18 ~text_file() override;
19
20
21 virtual void write_string(const ::scoped_string & scopedstr);
22
23 virtual bool read_string(string & str) override;
24 virtual ::u32 read_full_string(string & str);
25
26 inline text_file & operator << (const ::scoped_string & scopedstr)
27
28 {
29 write_string(scopedstr);
30
31 return *this;
32 }
33
34
35 };
36
37
38 typedef ::pointer<text_file>text_buffer_pointer;
39
40
41} // namespace file
42
43
44
45
Definition filesystem.h:16