CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FileBlobCollection Class Reference

#include <FileBlobCollection.h>

Public Member Functions

void addFileBlob (FileBlob &fileBlob)
 
std::vector< FileBlob >::const_iterator begin () const
 
std::vector< FileBlob >::const_iterator end () const
 
 FileBlobCollection ()
 
bool mergeProduct (FileBlobCollection const &other)
 
int size () const
 
 ~FileBlobCollection ()
 

Private Attributes

std::vector< FileBlobfileBlobs
 

Detailed Description

Definition at line 17 of file FileBlobCollection.h.

Constructor & Destructor Documentation

FileBlobCollection::FileBlobCollection ( )
inline

Definition at line 19 of file FileBlobCollection.h.

19 {};
FileBlobCollection::~FileBlobCollection ( )
inline

Definition at line 20 of file FileBlobCollection.h.

References addFileBlob(), begin(), end(), mergeProduct(), trackingPlots::other, and size().

20 {};

Member Function Documentation

void FileBlobCollection::addFileBlob ( FileBlob fileBlob)

Definition at line 3 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

3  {
4  fileBlobs.push_back(fileBlob);
5 }
std::vector< FileBlob > fileBlobs
std::vector< FileBlob >::const_iterator FileBlobCollection::begin ( void  ) const

Definition at line 11 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

11  {
12  return fileBlobs.begin();
13 }
std::vector< FileBlob > fileBlobs
std::vector< FileBlob >::const_iterator FileBlobCollection::end ( void  ) const

Definition at line 15 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and ~FileBlobCollection().

15  {
16  return fileBlobs.end();
17 }
std::vector< FileBlob > fileBlobs
bool FileBlobCollection::mergeProduct ( FileBlobCollection const &  other)

Definition at line 19 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

19  {
20  fileBlobs.insert(fileBlobs.end(), other.fileBlobs.begin(),
21  other.fileBlobs.end());
22  return true;
23 }
std::vector< FileBlob > fileBlobs
int FileBlobCollection::size ( void  ) const

Definition at line 7 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), MillePedeFileExtractor::endLuminosityBlock(), and ~FileBlobCollection().

7  {
8  return fileBlobs.size();
9 }
std::vector< FileBlob > fileBlobs

Member Data Documentation

std::vector<FileBlob> FileBlobCollection::fileBlobs
private

Definition at line 28 of file FileBlobCollection.h.

Referenced by addFileBlob(), begin(), end(), mergeProduct(), and size().