Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:54

0001 #include "CondFormats/Common/interface/FileBlobCollection.h"
0002 
0003 void FileBlobCollection::addFileBlob(FileBlob &fileBlob) { fileBlobs.push_back(fileBlob); }
0004 
0005 int FileBlobCollection::size() const { return fileBlobs.size(); }
0006 
0007 std::vector<FileBlob>::const_iterator FileBlobCollection::begin() const { return fileBlobs.begin(); }
0008 
0009 std::vector<FileBlob>::const_iterator FileBlobCollection::end() const { return fileBlobs.end(); }
0010 
0011 bool FileBlobCollection::mergeProduct(FileBlobCollection const &other) {
0012   fileBlobs.insert(fileBlobs.end(), other.fileBlobs.begin(), other.fileBlobs.end());
0013   return true;
0014 }
0015 
0016 void FileBlobCollection::swap(FileBlobCollection &iOther) { fileBlobs.swap(iOther.fileBlobs); }