Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
FileOutput.h
1
/*
2
* FileOutput class interface
3
*
4
* This file is part of OTAWA
5
* Copyright (c) 2018, IRIT UPS.
6
*
7
* OTAWA is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* OTAWA is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with OTAWA; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
#ifndef ELM_IO_FILE_OUTPUT_H_
22
#define ELM_IO_FILE_OUTPUT_H_
23
24
#include <elm/io/Output.h>
25
#include <elm/sys/Path.h>
26
27
namespace
elm
{
namespace
io {
28
29
class
FileOutput
:
public
Output
{
30
public
:
31
FileOutput
(
const
char
*path,
bool
append
=
false
);
32
FileOutput
(
cstring
path,
bool
append
=
false
);
33
FileOutput
(
string
path,
bool
append
=
false
);
34
FileOutput
(
sys::Path
path,
bool
append
=
false
);
35
FileOutput
(
FileOutput
&& fo);
36
~FileOutput
(
void
);
37
private
:
38
OutStream
*_out;
39
};
40
41
} }
// elm::io
42
43
#endif
/* ELM_IO_FILE_OUTPUT_H_ */
elm::sys::Path
Definition:
Path.h:33
elm::io::FileOutput::~FileOutput
~FileOutput(void)
Definition:
io_Output.cpp:1173
elm::CString
Definition:
CString.h:17
elm::io::append
FileOutput append(sys::Path path)
Definition:
io.h:31
elm
Definition:
adapter.h:26
elm::io::OutStream
Definition:
OutStream.h:30
elm::io::FileOutput
Definition:
FileOutput.h:29
elm::io::FileOutput::FileOutput
FileOutput(const char *path, bool append=false)
Definition:
io_Output.cpp:1119
elm::io::Output
Definition:
Output.h:179
include
elm
io
FileOutput.h
Generated on Fri Jul 23 2021 11:32:45 for Elm by
1.8.17