2 #include "zipios++/zipios-config.h" 26 cep_vec.reserve( _entries.size() ) ;
27 Entries::const_iterator cit ;
28 for ( cit = _entries.begin() ; cit != _entries.end() ; ++cit )
29 cep_vec.push_back( *cit ) ;
35 MatchPath matchpath )
const {
39 Entries::const_iterator iter ;
40 if ( matchpath == MATCH )
44 if ( iter == _entries.end() )
60 return _entries.size() ;
virtual int size() const
Returns the number of entries in the FileCollection.
Header file that defines FileCollection.
SimpleSmartPointer is a simple reference counting smart pointer template.
vector< EntryPointer > ConstEntries
ConstEntries is a vector of ConstEntryPointer's.
Function object to be used with the STL find_if algorithm to find a FileEntry in a container...
virtual ~FileCollection()
FileCollection destructor.
virtual string getName() const
Returns the name of the FileCollection.
virtual ConstEntryPointer getEntry(const string &name, MatchPath matchpath=MATCH) const
An object member function may throw this exception, if the operation it normally performs is inapprop...
Function object to be used with the STL find_if algorithm to find a FileEntry in a container...
virtual ConstEntries entries() const