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.

3 { fileBlobs.push_back(fileBlob); }

References fileBlobs.

◆ begin()

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

Definition at line 7 of file FileBlobCollection.cc.

7 { return fileBlobs.begin(); }

References fileBlobs.

◆ end()

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

Definition at line 9 of file FileBlobCollection.cc.

9 { return fileBlobs.end(); }

References fileBlobs.

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

◆ mergeProduct()

bool FileBlobCollection::mergeProduct ( FileBlobCollection const &  other)

Definition at line 11 of file FileBlobCollection.cc.

11  {
12  fileBlobs.insert(fileBlobs.end(), other.fileBlobs.begin(), other.fileBlobs.end());
13  return true;
14 }

References fileBlobs, and trackingPlots::other.

◆ size()

int FileBlobCollection::size ( void  ) const

◆ swap()

void FileBlobCollection::swap ( FileBlobCollection iOther)

Definition at line 16 of file FileBlobCollection.cc.

16 { fileBlobs.swap(iOther.fileBlobs); }

References 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().

FileBlobCollection::fileBlobs
std::vector< FileBlob > fileBlobs
Definition: FileBlobCollection.h:29
trackingPlots.other
other
Definition: trackingPlots.py:1467