Changeset 8332 in orxonox.OLD for trunk/src/lib/util/filesys/file.h
- Timestamp:
- Jun 12, 2006, 10:51:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/filesys/file.h
r8330 r8332 29 29 File(const File& file); 30 30 virtual ~File(); 31 32 /// Set-Up 31 33 void setFileName(const std::string& fileName); 32 34 File& operator=(const std::string& fileName); 33 35 File& operator=(const File& file); 36 37 /// Comparison 34 38 bool operator==(const std::string& fileName) const; 35 39 bool operator==(const File& file) const; … … 42 46 const std::string& name() const { return this->_name; }; 43 47 48 /// Testing 44 49 bool exists() const; 45 50 bool isLink() const; 46 bool isFile() const 51 bool isFile() const; 47 52 bool isDirectory() const; 48 53 bool isReadeable() const; … … 51 56 52 57 58 /// Operate on the FileSystem 53 59 bool copy(const File& destination); 54 60 bool rename(const File& destination); … … 56 62 bool remove(); 57 63 64 /// Transformations 58 65 static void relToAbs(std::string& relFileName); 59 66 static void absToRel(std::string& absFileName);
Note: See TracChangeset
for help on using the changeset viewer.