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 ( )
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, size(), and swap().

20 {};

Member Function Documentation

void FileBlobCollection::addFileBlob ( FileBlob fileBlob)

Definition at line 3 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

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

Definition at line 7 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

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

Definition at line 9 of file FileBlobCollection.cc.

References fileBlobs.

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

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

Definition at line 11 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

11  {
12  fileBlobs.insert(fileBlobs.end(), other.fileBlobs.begin(), other.fileBlobs.end());
13  return true;
14 }
std::vector< FileBlob > fileBlobs
int FileBlobCollection::size ( void  ) const
void FileBlobCollection::swap ( FileBlobCollection iOther)

Definition at line 16 of file FileBlobCollection.cc.

References fileBlobs.

Referenced by ~FileBlobCollection().

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

Member Data Documentation

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

Definition at line 29 of file FileBlobCollection.h.

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