This is FilePath.h in view mode; [Download] [Up]
// Copyright (c) 1996 David Engberg All rights reserved // $Id: FilePath.h,v 1.3 1996/05/26 00:15:02 geppetto Exp $ #ifndef _FilePath_h #define _FilePath_h #pragma interface #include <string> #include <deque> // // Class name : CFilePath // Description : Represents a Unix file path // class CFilePath { public: CFilePath(const string& path); CFilePath(const CFilePath& source); ~CFilePath(); CFilePath& operator=(const CFilePath& source); bool operator==(const CFilePath& other) const; bool Exists() const; bool IsFile() const; bool IsDirectory() const; bool NoUpDirectory() const; bool IsWritable() const; bool IsReadable() const; bool IsExecutable() const; bool ContainsLinks() const; int ListDirectoryContents(deque<string>& listToFill) const; string GetString() const; void SetFromString(const string& path); private: string fPathString; }; #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.