TF++, Miscellaneous classes and modules in C++:
filestatus.cc File Reference

test status of file (implementation) More...

#include <sstream>
#include <string>
#include <cstdlib>
#include <tfxx/filestatus.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <libgen.h>
#include <string.h>
Include dependency graph for filestatus.cc:

Go to the source code of this file.

Namespaces

 tfxx
 Namespace containing all code of library libtfxx.
 
 tfxx::file
 

Macros

#define TF_FILESTATUS_CC_VERSION   "TF_FILESTATUS_CC V1.1"
 

Functions

bool tfxx::file::creatable (const char *path)
 
bool tfxx::file::exists (const char *path)
 
bool tfxx::file::writable (const char *path)
 
bool tfxx::file::readable (const char *path)
 
bool tfxx::file::regular (const char *path)
 
std::string tfxx::file::uniquenew (const char *path)
 

Detailed Description

test status of file (implementation)


Author
Thomas Forbriger
Date
04/12/2008

test status of file (implementation)

Copyright (c) 2008 by Thomas Forbriger (BFO Schiltach)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 04/12/2008 V1.0 Thomas Forbriger
  • 11/11/2009 V1.1 header cstdlib is required for free

Definition in file filestatus.cc.