Public Member Functions | Private Attributes | List of all members
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::stringfileNames_
 
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 31 of file FileNamesHandler.h.

Constructor & Destructor Documentation

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

Definition at line 64 of file FileNamesHandler.h.

67  : fileNames_(std::move(fileNames))
68  , currentFile_(fileNames_.begin())
69  , end_(fileNames_.end())
70 {}
std::vector< std::string > fileNames_
std::vector< std::string >::const_iterator end_
def move(depos, offset)
Definition: depos.py:107
std::vector< std::string >::const_iterator currentFile_

Member Function Documentation

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

Definition at line 79 of file FileNamesHandler.h.

80 {
82 }
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 73 of file FileNamesHandler.h.

74 {
75  return (currentFile_ == end_) ? std::string() : *(currentFile_++);
76 }
std::string string
Definition: nybbler.cc:12
std::vector< std::string >::const_iterator end_
std::vector< std::string >::const_iterator currentFile_

Member Data Documentation

Definition at line 40 of file FileNamesHandler.h.

Definition at line 41 of file FileNamesHandler.h.

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

Definition at line 39 of file FileNamesHandler.h.


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