LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::detail::FileNamesHandler< false > Class Template Reference

#include "FileNamesHandler.h"

Public Member Functions

 FileNamesHandler (std::vector< std::string > &&fileNames, size_t=0)
 
std::string next ()
 
void finish ()
 

Private Attributes

std::vector< std::string > fileNames_
 
std::vector< std::string >::const_iterator currentFile_
 
std::vector< std::string >::const_iterator end_
 

Detailed Description

template<>
class art::detail::FileNamesHandler< false >

Definition at line 32 of file FileNamesHandler.h.

Constructor & Destructor Documentation

art::detail::FileNamesHandler< false >::FileNamesHandler ( std::vector< std::string > &&  fileNames,
size_t  = 0 
)
explicit

Definition at line 67 of file FileNamesHandler.h.

70  : fileNames_(std::move(fileNames))
71  , currentFile_(fileNames_.begin())
72  , end_(fileNames_.end())
73 {}
std::vector< std::string > fileNames_
std::vector< std::string >::const_iterator end_
std::vector< std::string >::const_iterator currentFile_

Member Function Documentation

void art::detail::FileNamesHandler< false >::finish ( )
inline

Definition at line 82 of file FileNamesHandler.h.

83 {
85 }
std::vector< std::string >::const_iterator end_
std::vector< std::string >::const_iterator currentFile_
std::string art::detail::FileNamesHandler< false >::next ( )
inline

Definition at line 76 of file FileNamesHandler.h.

77 {
78  return (currentFile_ == end_) ? std::string() : *(currentFile_++);
79 }
std::vector< std::string >::const_iterator end_
std::vector< std::string >::const_iterator currentFile_

Member Data Documentation

std::vector<std::string>::const_iterator art::detail::FileNamesHandler< false >::currentFile_
private

Definition at line 42 of file FileNamesHandler.h.

std::vector<std::string>::const_iterator art::detail::FileNamesHandler< false >::end_
private

Definition at line 43 of file FileNamesHandler.h.

std::vector<std::string> art::detail::FileNamesHandler< false >::fileNames_
private

Definition at line 41 of file FileNamesHandler.h.


The documentation for this class was generated from the following file: