Public Member Functions | Private Attributes | List of all members
art::RootSizeOnDisk::Record Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/IO/Root/RootSizeOnDisk.h"

Public Member Functions

 Record (std::string const &aname, std::string const &aclassName, Long64_t asize=0, double afraction=0.)
 
bool operator< (Record const &rhs) const
 
bool isTree () const
 
bool isTKey () const
 
std::string const & name () const
 
std::string const & className () const
 
Long64_t size () const
 
double fraction () const
 
std::vector< Record > const & contents () const
 
void size (Long64_t const s)
 
void fraction (double const f)
 
void contents (std::vector< Record > &c)
 

Private Attributes

std::string name_
 
std::string className_
 
Long64_t size_
 
double fraction_
 
std::vector< Recordcontents_
 

Detailed Description

Definition at line 36 of file RootSizeOnDisk.h.

Constructor & Destructor Documentation

art::RootSizeOnDisk::Record::Record ( std::string const &  aname,
std::string const &  aclassName,
Long64_t  asize = 0,
double  afraction = 0. 
)

Member Function Documentation

std::string const& art::RootSizeOnDisk::Record::className ( ) const
inline

Definition at line 65 of file RootSizeOnDisk.h.

References className_.

66  {
67  return className_;
68  }
std::vector<Record> const& art::RootSizeOnDisk::Record::contents ( ) const
inline

Definition at line 80 of file RootSizeOnDisk.h.

References contents_.

81  {
82  return contents_;
83  }
std::vector< Record > contents_
void art::RootSizeOnDisk::Record::contents ( std::vector< Record > &  c)
inline

Definition at line 97 of file RootSizeOnDisk.h.

References contents_.

98  {
99  contents_.swap(c);
100  }
std::vector< Record > contents_
double art::RootSizeOnDisk::Record::fraction ( ) const
inline

Definition at line 75 of file RootSizeOnDisk.h.

References fraction_.

76  {
77  return fraction_;
78  }
void art::RootSizeOnDisk::Record::fraction ( double const  f)
inline
bool art::RootSizeOnDisk::Record::isTKey ( ) const
inline

Definition at line 54 of file RootSizeOnDisk.h.

References className_, and string.

55  {
56  return className_ == "TKey";
57  }
bool art::RootSizeOnDisk::Record::isTree ( ) const
inline

Definition at line 49 of file RootSizeOnDisk.h.

References className_.

50  {
51  return className_ == "TTree";
52  }
std::string const& art::RootSizeOnDisk::Record::name ( ) const
inline
bool art::RootSizeOnDisk::Record::operator< ( Record const &  rhs) const
inline

Definition at line 44 of file RootSizeOnDisk.h.

References name().

45  {
46  return name() < rhs.name();
47  }
std::string const & name() const
Long64_t art::RootSizeOnDisk::Record::size ( void  ) const
inline

Definition at line 70 of file RootSizeOnDisk.h.

References size_.

71  {
72  return size_;
73  }
void art::RootSizeOnDisk::Record::size ( Long64_t const  s)
inline

Definition at line 87 of file RootSizeOnDisk.h.

References size_.

88  {
89  size_ = s;
90  }
const XML_Char * s
Definition: expat.h:262

Member Data Documentation

std::string art::RootSizeOnDisk::Record::className_
private

Definition at line 104 of file RootSizeOnDisk.h.

Referenced by className(), isTKey(), and isTree().

std::vector<Record> art::RootSizeOnDisk::Record::contents_
private

Definition at line 108 of file RootSizeOnDisk.h.

Referenced by contents(), and art::RootSizeOnDisk::contents().

double art::RootSizeOnDisk::Record::fraction_
private

Definition at line 106 of file RootSizeOnDisk.h.

Referenced by fraction(), and art::RootSizeOnDisk::fraction().

std::string art::RootSizeOnDisk::Record::name_
private

Definition at line 103 of file RootSizeOnDisk.h.

Referenced by name().

Long64_t art::RootSizeOnDisk::Record::size_
private

Definition at line 105 of file RootSizeOnDisk.h.

Referenced by size(), and art::RootSizeOnDisk::size().


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