BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
dataset
LocalDataFileSink.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_LOCAL_DATA_FILE_SINK_H__
18
#define __BUSBOY_LOCAL_DATA_FILE_SINK_H__
19
20
namespace
BUSBOY {
21
22
23
class
LocalDataFileSinkImpl;
24
25
class
LocalDataFileSink
:
public
DataFileSink
{
26
27
public
:
28
29
LocalDataFileSink
(
const
std::string& path);
30
31
std::string
getPath
()
const
;
32
33
void
write
(
char
* buf,
size_t
num);
34
35
void
close
();
36
37
bool
isClosed
()
const
;
38
39
~LocalDataFileSink
();
40
41
private
:
42
43
LocalDataFileSinkImpl
* m_impl;
44
45
// prevent calling these
46
LocalDataFileSink
();
47
LocalDataFileSink
(
const
LocalDataFileSink
& src);
48
LocalDataFileSink
& operator=(
const
LocalDataFileSink
& src);
49
50
};
51
52
}
53
#endif
54
55
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.