2 #include "zipios++/zipios-config.h"
25 ConstEntries cep_vec ;
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() ;
Header file that defines FileCollection.
SimpleSmartPointer is a simple reference counting smart pointer template.
virtual ConstEntries entries() const
virtual int size() const
Returns the number of entries in the FileCollection.
Function object to be used with the STL find_if algorithm to find a FileEntry in a container...
virtual ~FileCollection()
FileCollection destructor.
An object member function may throw this exception, if the operation it normally performs is inapprop...
virtual string getName() const
Returns the name of the FileCollection.
Function object to be used with the STL find_if algorithm to find a FileEntry in a container...
virtual ConstEntryPointer getEntry(const string &name, MatchPath matchpath=MATCH) const