Public Member Functions | List of all members
nom::WinFile Class Reference

Platform-specific interface for file based access in Windows. More...

#include <WinFile.hpp>

Inheritance diagram for nom::WinFile:
[legend]
Collaboration diagram for nom::WinFile:
[legend]

Public Member Functions

const std::string extension (const std::string &file)
 Stub.
 
int32 size (const std::string &file_path)
 Stub.
 
bool exists (const std::string &file_path)
 Stub.
 
const std::string path (const std::string &dir_path)
 
const std::string currentPath (void)
 Stub.
 
bool set_path (const std::string &path)
 chdir(2) wrapper
 

Detailed Description

Platform-specific interface for file based access in Windows.

Definition at line 46 of file WinFile.hpp.

Member Function Documentation

const std::string nom::WinFile::path ( const std::string &  dir_path)
virtual

Emulates POSIX dirname() function – see 'man 3 dirname'.

Todo:
We might consider using this in the UnixFile implementation as well, in order to ensure consistency?
Todo:
This should probably be renamed to dirname ...

Implements nom::IFile.

Definition at line 55 of file WinFile.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: