Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
art::FileBlock Class Reference

#include <FileBlock.h>

Public Member Functions

 FileBlock ()=default
 
virtual ~FileBlock () noexcept=default
 
 FileBlock (FileFormatVersion const &version, std::string const &fileName)
 
 FileBlock (FileFormatVersion const &version, std::string const &fileName, std::unique_ptr< ResultsPrincipal > &&resp)
 
FileFormatVersion const & fileFormatVersion () const
 
std::string const & fileName () const
 

Private Member Functions

ResultsPrincipal const * resultsPrincipal () const
 

Private Attributes

FileFormatVersion fileFormatVersion_ {}
 
std::string fileName_ {}
 
std::unique_ptr< ResultsPrincipalresp_ {}
 

Friends

class OutputModule
 

Detailed Description

Definition at line 17 of file FileBlock.h.

Constructor & Destructor Documentation

art::FileBlock::FileBlock ( )
default
virtual art::FileBlock::~FileBlock ( )
virtualdefaultnoexcept
art::FileBlock::FileBlock ( FileFormatVersion const &  version,
std::string const &  fileName 
)

Definition at line 11 of file FileBlock.cc.

14  {}
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:34
std::string const & fileName() const
Definition: FileBlock.cc:29
std::string fileName_
Definition: FileBlock.h:35
art::FileBlock::FileBlock ( FileFormatVersion const &  version,
std::string const &  fileName,
std::unique_ptr< ResultsPrincipal > &&  resp 
)

Definition at line 16 of file FileBlock.cc.

20  {}
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:34
std::unique_ptr< ResultsPrincipal > resp_
Definition: FileBlock.h:36
def move(depos, offset)
Definition: depos.py:107
std::string const & fileName() const
Definition: FileBlock.cc:29
std::string fileName_
Definition: FileBlock.h:35

Member Function Documentation

FileFormatVersion const & art::FileBlock::fileFormatVersion ( ) const

Definition at line 23 of file FileBlock.cc.

24  {
25  return fileFormatVersion_;
26  }
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:34
string const & art::FileBlock::fileName ( ) const

Definition at line 29 of file FileBlock.cc.

30  {
31  return fileName_;
32  }
std::string fileName_
Definition: FileBlock.h:35
ResultsPrincipal const * art::FileBlock::resultsPrincipal ( ) const
private

Definition at line 35 of file FileBlock.cc.

36  {
37  return resp_.get();
38  }
std::unique_ptr< ResultsPrincipal > resp_
Definition: FileBlock.h:36

Friends And Related Function Documentation

friend class OutputModule
friend

Definition at line 31 of file FileBlock.h.

Member Data Documentation

FileFormatVersion art::FileBlock::fileFormatVersion_ {}
private

Definition at line 34 of file FileBlock.h.

std::string art::FileBlock::fileName_ {}
private

Definition at line 35 of file FileBlock.h.

std::unique_ptr<ResultsPrincipal> art::FileBlock::resp_ {}
private

Definition at line 36 of file FileBlock.h.


The documentation for this class was generated from the following files: