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
external
ExternalDataFileSource.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_EXTERNAL_DATA_FILE_SOURCE_H__
18
#define __BUSBOY_EXTERNAL_DATA_FILE_SOURCE_H__
19
20
#include "
dataset/dataset_api.h
"
21
22
namespace
BUSBOY {
23
24
class
ExternalDataFileSource
{
25
26
27
public
:
28
29
ExternalDataFileSource
(
const
CExternalDataSourceCallbacks
& callbacks);
30
31
ExternalDataFileSource
(std::shared_ptr<DataFileSource> src);
32
33
std::shared_ptr<DataFileSource>
getFileSource
()
const
;
34
35
~ExternalDataFileSource
();
36
37
const
char
*
getBytes
()
const
;
38
39
size_t
getSize
()
const
;
40
41
private
:
42
43
std::shared_ptr<DataFileSource> m_impl;
44
45
// prevent calling these
46
ExternalDataFileSource
(
const
ExternalDataFileSource
& src);
47
ExternalDataFileSource
& operator=(
const
ExternalDataFileSource
& src);
48
49
};
50
51
}
52
#endif
53
54
55
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.