Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

filesystem.h File Reference

Declaration of deprecated file system functions. More...

#include <ogdf/basic/List.h>

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Enumerations

enum  ogdf::FileType { ogdf::FileType::Entry, ogdf::FileType::File, ogdf::FileType::Directory }
 The type of an entry in a directory. More...
 

Functions

bool ogdf::changeDir (const char *dirName)
 Changes current directory to dirName; returns true if successful. More...
 
void ogdf::getEntries (const char *dirName, List< string > &entries, const char *pattern="*")
 Returns in entries the list of all entries contained in directory dirName. More...
 
void ogdf::getEntries (const char *dirName, FileType t, List< string > &entries, const char *pattern="*")
 Returns in entries the list of all entries of type t contained in directory dirName. More...
 
void ogdf::getEntriesAppend (const char *dirName, List< string > &entries, const char *pattern="*")
 Appends to entries the list of all entries contained in directory dirName. More...
 
void ogdf::getEntriesAppend (const char *dirName, FileType t, List< string > &entries, const char *pattern="*")
 Appends to entries the list of all entries of type t contained in directory dirName. More...
 
void ogdf::getFiles (const char *dirName, List< string > &files, const char *pattern="*")
 Returns in files the list of files in directory dirName. More...
 
void ogdf::getFilesAppend (const char *dirName, List< string > &files, const char *pattern="*")
 Appends to files the list of files in directory dirName. More...
 
void ogdf::getSubdirs (const char *dirName, List< string > &subdirs, const char *pattern="*")
 Returns in subdirs the list of directories contained in directory dirName. More...
 
void ogdf::getSubdirsAppend (const char *dirName, List< string > &subdirs, const char *pattern="*")
 Appends to subdirs the list of directories contained in directory dirName. More...
 
bool ogdf::isDirectory (const char *fileName)
 Returns true iff fileName is a directory. More...
 
bool ogdf::isFile (const char *fileName)
 Returns true iff fileName is a regular file (not a directory). More...
 

Detailed Description

Declaration of deprecated file system functions.

Author
Stephan Beyer (responsible only for deprecation)
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file filesystem.h.