MICO Platform
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Friends
persistence
FileStream.hpp
1
#ifndef HAVE_FILE_STREAM_H
2
#define HAVE_FILE_STREAM_H 1
3
4
#include <fstream>
5
6
namespace
mico
{
7
namespace
io {
8
9
/*
10
* Provides stream for reading local files.
11
*/
12
class
FileIStream
:
public
std::filebuf {
13
public
:
14
FileIStream
(
const
char
* path);
15
};
16
17
/*
18
* Provides stream for writing local files.
19
*/
20
class
FileOStream
:
public
std::filebuf {
21
public
:
22
FileOStream
(
const
char
* path);
23
};
24
25
/*
26
* Remove local file.
27
*/
28
int
removeLocalFile(
const
char
* path);
29
30
/*
31
* Internal helper functions.
32
*/
33
namespace
{
34
static
void
mkdirs(
const
char
*_path);
35
}
36
}
37
}
38
39
#endif
mico
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition:
http_client.cpp:23
mico::io::FileOStream
Definition:
FileStream.hpp:20
mico::io::FileIStream
Definition:
FileStream.hpp:12
Generated on Wed Nov 4 2015 19:11:42 for MICO Platform by
1.8.8