Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Core
FileBlock.cc
Go to the documentation of this file.
1
#include "
art/Framework/Core/FileBlock.h
"
2
// vim: set sw=2 expandtab :
3
4
#include <memory>
5
#include <string>
6
7
using namespace
std
;
8
9
namespace
art
{
10
11
FileBlock::FileBlock(
FileFormatVersion
const
&
version
,
12
std::string
const
&
fileName
)
13
: fileFormatVersion_{version},
fileName_
{
fileName
}
14
{}
15
16
FileBlock::FileBlock
(
FileFormatVersion
const
&
version
,
17
std::string
const
&
fileName
,
18
std::unique_ptr<ResultsPrincipal>&& resp)
19
:
fileFormatVersion_
{version},
fileName_
{
fileName
},
resp_
{
std::move
(resp)}
20
{}
21
22
FileFormatVersion
const
&
23
FileBlock::fileFormatVersion
()
const
24
{
25
return
fileFormatVersion_
;
26
}
27
28
string
const
&
29
FileBlock::fileName
()
const
30
{
31
return
fileName_
;
32
}
33
34
ResultsPrincipal
const
*
35
FileBlock::resultsPrincipal
()
const
36
{
37
return
resp_
.get();
38
}
39
40
}
// namespace art
SortModuleTimes.version
version
Definition:
SortModuleTimes.py:878
art::FileBlock::fileFormatVersion
FileFormatVersion const & fileFormatVersion() const
Definition:
FileBlock.cc:23
string
std::string string
Definition:
nybbler.cc:12
art::FileBlock::fileFormatVersion_
FileFormatVersion fileFormatVersion_
Definition:
FileBlock.h:34
std
STL namespace.
art::FileBlock::resp_
std::unique_ptr< ResultsPrincipal > resp_
Definition:
FileBlock.h:36
dumpTree.fileName
fileName
Definition:
dumpTree.py:9
wirecell.gen.depos.move
def move(depos, offset)
Definition:
depos.py:107
art::FileBlock::fileName
std::string const & fileName() const
Definition:
FileBlock.cc:29
art::FileBlock::fileName_
std::string fileName_
Definition:
FileBlock.h:35
art::FileBlock::FileBlock
FileBlock()=default
art::FileFormatVersion
Definition:
FileFormatVersion.h:9
art::FileBlock::resultsPrincipal
ResultsPrincipal const * resultsPrincipal() const
Definition:
FileBlock.cc:35
art
Definition:
BasicOptionsHandler.h:9
art::ResultsPrincipal
Definition:
ResultsPrincipal.h:26
FileBlock.h
Generated by
1.8.11