A class for 'File' and 'Directory' grouping common methods (file/directory manipulation tools). The "file oriented" name means files or directories which are in fact hard coded as files.  
 More...
#include <OSD_FileNode.hxx>
|  | 
|  | OSD_FileNode () | 
|  | Creates FileNode object This is to be used with SetPath . Allocate space for the file name and initializes this name to an empty name.  More... 
 | 
|  | 
|  | OSD_FileNode (const OSD_Path &Name) | 
|  | Instantiates the object FileNode storing its name. If a name is not found, it raises a program error.  More... 
 | 
|  | 
|  | ~OSD_FileNode () | 
|  | Destructor is protected for safer inheritance.  More... 
 | 
|  | 
A class for 'File' and 'Directory' grouping common methods (file/directory manipulation tools). The "file oriented" name means files or directories which are in fact hard coded as files. 
  
  | 
        
          | OSD_FileNode::OSD_FileNode | ( |  | ) |  |  | protected | 
 
Creates FileNode object This is to be used with SetPath . Allocate space for the file name and initializes this name to an empty name. 
 
 
  
  | 
        
          | OSD_FileNode::OSD_FileNode | ( | const OSD_Path & | Name | ) |  |  | protected | 
 
Instantiates the object FileNode storing its name. If a name is not found, it raises a program error. 
 
 
  
  | 
        
          | OSD_FileNode::~OSD_FileNode | ( |  | ) |  |  | inlineprotected | 
 
Destructor is protected for safer inheritance. 
 
 
Returns last write access. On UNIX, AccessMoment and CreationMoment return the same value. 
 
 
      
        
          | void OSD_FileNode::Copy | ( | const OSD_Path & | ToPath | ) |  | 
      
 
Copies <me> to another FileNode. 
 
 
Returns creation date. On UNIX, AccessMoment and CreationMoment return the same value. 
 
 
Returns error number if 'Failed' is TRUE. 
 
 
Returns TRUE if <me> exists. 
 
 
Returns TRUE if an error occurs. 
 
 
      
        
          | void OSD_FileNode::Move | ( | const OSD_Path & | NewPath | ) |  | 
      
 
Moves <me> into another directory. 
 
 
      
        
          | void OSD_FileNode::Path | ( | OSD_Path & | Name | ) | const | 
      
 
 
      
        
          | void OSD_FileNode::Perror | ( |  | ) |  | 
      
 
 
Returns access mode of <me>. 
 
 
      
        
          | void OSD_FileNode::Remove | ( |  | ) |  | 
      
 
Erases the FileNode from directory. 
 
 
      
        
          | void OSD_FileNode::Reset | ( |  | ) |  | 
      
 
Resets error counter to zero. 
 
 
      
        
          | void OSD_FileNode::SetPath | ( | const OSD_Path & | Name | ) |  | 
      
 
Sets file name and path. If a name is not found, it raises a program error. 
 
 
Changes protection of the FileNode. 
 
 
The documentation for this class was generated from the following file: