NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
filecheck.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool is_dir (std::string sPathname)
 This function checks whether a given string is a valid directory path. More...
 
bool is_file (std::string sPathname)
 This function checks whether a given string is a valid file path. More...
 

Function Documentation

◆ is_dir()

bool is_dir ( std::string  sPathname)

This function checks whether a given string is a valid directory path.

Parameters
sPathnamestd::string
Returns
bool

Definition at line 37 of file filecheck.cpp.

References checkInvalidChars(), NumeReKernel::getFileSystem(), NumeReKernel::getInstance(), and FileSystem::ValidFolderName().

Referenced by strfnc_isdir().

Here is the call graph for this function:

◆ is_file()

bool is_file ( std::string  sPathname)

This function checks whether a given string is a valid file path.

Parameters
sPathnamestd::string
Returns
bool

Definition at line 67 of file filecheck.cpp.

References checkInvalidChars(), NumeReKernel::getFileSystem(), NumeReKernel::getInstance(), and FileSystem::ValidFileName().

Referenced by strfnc_isfile().

Here is the call graph for this function: