Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8332 in orxonox.OLD for trunk/src/lib/util/filesys/file.h


Ignore:
Timestamp:
Jun 12, 2006, 10:51:14 PM (18 years ago)
Author:
bensch
Message:

trunk: some more functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/filesys/file.h

    r8330 r8332  
    2929  File(const File& file);
    3030  virtual ~File();
     31
     32  /// Set-Up
    3133  void setFileName(const std::string& fileName);
    3234  File& operator=(const std::string& fileName);
    3335  File& operator=(const File& file);
     36
     37  /// Comparison
    3438  bool operator==(const std::string& fileName) const;
    3539  bool operator==(const File& file) const;
     
    4246  const std::string& name() const { return this->_name; };
    4347
     48  /// Testing
    4449  bool exists() const;
    4550  bool isLink() const;
    46   bool isFile() const ;
     51  bool isFile() const;
    4752  bool isDirectory() const;
    4853  bool isReadeable() const;
     
    5156
    5257
     58  /// Operate on the FileSystem
    5359  bool copy(const File& destination);
    5460  bool rename(const File& destination);
     
    5662  bool remove();
    5763
     64  /// Transformations
    5865  static void relToAbs(std::string& relFileName);
    5966  static void absToRel(std::string& absFileName);
Note: See TracChangeset for help on using the changeset viewer.