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
 
void swap (FileBlobCollection &iOther)
 
 ~FileBlobCollection ()
 

Private Attributes

std::vector< FileBlobfileBlobs
 

Detailed Description

Definition at line 17 of file FileBlobCollection.h.

Constructor & Destructor Documentation

◆ FileBlobCollection()

FileBlobCollection::FileBlobCollection ( )
inline

Definition at line 19 of file FileBlobCollection.h.

19 {}

◆ ~FileBlobCollection()

FileBlobCollection::~FileBlobCollection ( )
inline

Definition at line 20 of file FileBlobCollection.h.

20 {}

Member Function Documentation

◆ addFileBlob()

void FileBlobCollection::addFileBlob ( FileBlob fileBlob)

Definition at line 3 of file FileBlobCollection.cc.

References fileBlobs.

3 { fileBlobs.push_back(fileBlob); }
std::vector< FileBlob > fileBlobs

◆ begin()

std::vector< FileBlob >::const_iterator FileBlobCollection::begin ( void  ) const

Definition at line 7 of file FileBlobCollection.cc.

References fileBlobs.

7 { return fileBlobs.begin(); }
std::vector< FileBlob > fileBlobs

◆ end()

std::vector< FileBlob >::const_iterator FileBlobCollection::end ( void  ) const

Definition at line 9 of file FileBlobCollection.cc.

References fileBlobs.

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

9 { return fileBlobs.end(); }
std::vector< FileBlob > fileBlobs

◆ mergeProduct()

bool FileBlobCollection::mergeProduct ( FileBlobCollection const &  other)

Definition at line 11 of file FileBlobCollection.cc.

References fileBlobs, and trackingPlots::other.

11  {
12  fileBlobs.insert(fileBlobs.end(), other.fileBlobs.begin(), other.fileBlobs.end());
13  return true;
14 }
std::vector< FileBlob > fileBlobs

◆ size()

int FileBlobCollection::size ( void  ) const

◆ swap()

void FileBlobCollection::swap ( FileBlobCollection iOther)

Definition at line 16 of file FileBlobCollection.cc.

References fileBlobs.

16 { fileBlobs.swap(iOther.fileBlobs); }
std::vector< FileBlob > fileBlobs

Member Data Documentation

◆ fileBlobs

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

Definition at line 29 of file FileBlobCollection.h.

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