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
ExternalDatasetSerializer.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_EXTERNAL_DATASET_SERIALIZER_H__
18
#define __BUSBOY_EXTERNAL_DATASET_SERIALIZER_H__
19
20
#include <string>
21
#include "
dataset/dataset_api.h
"
22
#include "
external/external_api.h
"
23
#include "
serialize/serialize_api.h
"
24
25
namespace
BUSBOY {
26
27
class
ExternalDatasetSerializerImpl;
28
29
class
ExternalDatasetSerializer
{
30
31
public
:
32
33
ExternalDatasetSerializer
(
const
SerializerFactory
& factory);
34
35
~ExternalDatasetSerializer
();
36
37
void
serializeDataset
(
ExternalDataset
* extDataset,
const
Dataset
& dataset)
const
;
38
39
ExternalDataFile
*
serializeDataFile
(
const
DataKey
& key,
DataFile
& file)
const
;
40
41
std::string
serializeDataKey
(
const
DataKey
& key)
const
;
42
43
Dataset
*
deserializeDataset
(
const
ExternalDataset
& extDataset,
bool
output)
const
;
44
45
DataFile
*
deserializeDataFile
(
const
ExternalDataFile
& extDataFile)
const
;
46
47
DataKey
deserializeDataKey
(
const
std::string& serializedKey)
const
;
48
49
private
:
50
51
ExternalDatasetSerializerImpl
* m_impl;
52
53
54
};
55
56
}
57
#endif
58
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.