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

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/FileBlock.h"

Inheritance diagram for art::FileBlock:
art::RootFileBlock

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 
)
inline

Definition at line 22 of file FileBlock.h.

References fileName(), and fileName_.

24  {}
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:48
std::string const & fileName() const
Definition: FileBlock.h:38
std::string fileName_
Definition: FileBlock.h:49
const XML_Char * version
Definition: expat.h:187
art::FileBlock::FileBlock ( FileFormatVersion const &  version,
std::string const &  fileName,
std::unique_ptr< ResultsPrincipal > &&  resp 
)
inline

Definition at line 26 of file FileBlock.h.

References fileName(), fileName_, and resp_.

29  : fileFormatVersion_{version}, fileName_{fileName}, resp_{std::move(resp)}
30  {}
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:48
std::string const & fileName() const
Definition: FileBlock.h:38
std::unique_ptr< ResultsPrincipal > resp_
Definition: FileBlock.h:50
std::string fileName_
Definition: FileBlock.h:49
const XML_Char * version
Definition: expat.h:187

Member Function Documentation

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

Definition at line 33 of file FileBlock.h.

References fileFormatVersion_, and string.

34  {
35  return fileFormatVersion_;
36  }
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:48
std::string const& art::FileBlock::fileName ( ) const
inline
art::ResultsPrincipal const * art::FileBlock::resultsPrincipal ( ) const
inlineprivate

Definition at line 55 of file FileBlock.h.

References resp_.

56 {
57  return resp_.get();
58 }
std::unique_ptr< ResultsPrincipal > resp_
Definition: FileBlock.h:50

Friends And Related Function Documentation

friend class OutputModule
friend

Definition at line 45 of file FileBlock.h.

Member Data Documentation

FileFormatVersion art::FileBlock::fileFormatVersion_ {}
private

Definition at line 48 of file FileBlock.h.

Referenced by fileFormatVersion().

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

Definition at line 49 of file FileBlock.h.

Referenced by FileBlock(), and fileName().

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

Definition at line 50 of file FileBlock.h.

Referenced by FileBlock(), and resultsPrincipal().


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