|
CPN
Computational Process Networks
|
#include <Directory.h>
Collaboration diagram for Directory:Public Member Functions | |
| Directory (const std::string &dirname_) | |
| ~Directory () | |
| void | Rewind () |
| bool | End () const |
| std::string | BaseName () const |
| std::string | FullName () const |
| std::string | DirName () const |
| void | Next () |
| bool | IsDirectory () const |
| bool | IsRegularFile () const |
| std::size_t | Size () const |
Private Member Functions | |
| void | Stat () const |
Private Attributes | |
| DIR * | dir |
| std::string | dirname |
| dirent * | entry |
| struct stat | status |
| bool | stated |
Definition at line 33 of file Directory.h.
| Directory::Directory | ( | const std::string & | dirname_ | ) |
Definition at line 27 of file Directory.cc.
References dir, dirname, and Next().
Here is the call graph for this function:| Directory::~Directory | ( | ) |
Definition at line 37 of file Directory.cc.
References dir.
| std::string Directory::BaseName | ( | ) | const |
Get the name of the current file in the directory
Definition at line 50 of file Directory.cc.
References entry.
Referenced by FullName().
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file Directory.h.
References dirname.
Referenced by FullName().
Here is the caller graph for this function:
|
inline |
Definition at line 48 of file Directory.h.
References entry.
Referenced by CPN::NodeLoader::SearchDirectory().
Here is the caller graph for this function:
|
inline |
Definition at line 54 of file Directory.h.
References BaseName(), and DirName().
Here is the call graph for this function:| bool Directory::IsDirectory | ( | ) | const |
Definition at line 54 of file Directory.cc.
References Stat(), and status.
Here is the call graph for this function:| bool Directory::IsRegularFile | ( | ) | const |
Definition at line 59 of file Directory.cc.
References Stat(), and status.
Here is the call graph for this function:| void Directory::Next | ( | ) |
Move to the next file in the directory.
Definition at line 45 of file Directory.cc.
References dir, entry, and stated.
Referenced by Directory().
Here is the caller graph for this function:| void Directory::Rewind | ( | ) |
Rewind to the beginning of the directory.
Definition at line 41 of file Directory.cc.
References dir.
| std::size_t Directory::Size | ( | ) | const |
Definition at line 64 of file Directory.cc.
References Stat(), and status.
Here is the call graph for this function:
|
private |
Definition at line 69 of file Directory.cc.
References dirname, entry, stated, and status.
Referenced by IsDirectory(), IsRegularFile(), and Size().
Here is the caller graph for this function:
|
private |
Definition at line 67 of file Directory.h.
Referenced by Directory(), Next(), Rewind(), and ~Directory().
|
private |
Definition at line 68 of file Directory.h.
Referenced by Directory(), DirName(), and Stat().
|
private |
Definition at line 69 of file Directory.h.
Referenced by BaseName(), End(), Next(), and Stat().
|
mutableprivate |
Definition at line 71 of file Directory.h.
|
private |
Definition at line 70 of file Directory.h.
Referenced by IsDirectory(), IsRegularFile(), Size(), and Stat().
1.8.5