FileBlock.cc
Go to the documentation of this file.
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 
17  std::string const& fileName,
18  std::unique_ptr<ResultsPrincipal>&& resp)
20  {}
21 
22  FileFormatVersion const&
24  {
25  return fileFormatVersion_;
26  }
27 
28  string const&
30  {
31  return fileName_;
32  }
33 
34  ResultsPrincipal const*
36  {
37  return resp_.get();
38  }
39 
40 } // namespace art
FileFormatVersion const & fileFormatVersion() const
Definition: FileBlock.cc:23
std::string string
Definition: nybbler.cc:12
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:34
STL namespace.
std::unique_ptr< ResultsPrincipal > resp_
Definition: FileBlock.h:36
fileName
Definition: dumpTree.py:9
def move(depos, offset)
Definition: depos.py:107
std::string const & fileName() const
Definition: FileBlock.cc:29
std::string fileName_
Definition: FileBlock.h:35
FileBlock()=default
ResultsPrincipal const * resultsPrincipal() const
Definition: FileBlock.cc:35