Logo Search packages:      
Sourcecode: paco version File versions  Download package

dir.h

//=======================================================================
// dir.h
//-----------------------------------------------------------------------
// This file is part of the package paco
// Copyright (C) 2004-2009 David Rosal
// For more information visit http://paco.sourceforge.net
//=======================================================================

#ifndef PACO_DIR_H
#define PACO_DIR_H

#include <dirent.h>
#include <iosfwd>


namespace Paco {

class Dir
{
      public:

      Dir(std::string const&);
      ~Dir();

      bool read(std::string&);
      void rewind();

      private:

      DIR* mDir;
      struct dirent* mDirent;

      Dir(Dir const&);
      Dir& operator=(Dir const&);
      
};    // class Dir

}     // namespace Paco


#endif      // PACO_DIR_H

Generated by  Doxygen 1.6.0   Back to index