Namespaces | Defines | Functions

_src_base_file.cc File Reference

File functions. More...

#include "base/module.hh"
#include "base/misc.hh"
#include "base/file.hh"

Namespaces

namespace  base
 

Library of base code.


Defines

#define BASE_FILE_CC   1

Functions

bool base::IfFileExists (const string &fname)
long base::FileSize (FILE *file)
long base::FileSize (const string &fname)
bool base::ReadFile (const string &fname, string &obuf)
bool base::ReadFile (const string &fname, StringBuf &strbuf)
bool base::ReadFileGzipIntoString (const string &fname, string &obuf, const uint chunkLen)
std::pair< void *, long > base::ReadFileGzipIntoMemory (const string &fname)
bool base::RemoveFile (const string &fname)
void base::RemoveSuffix (string &fname, const string &suffix)
bool base::IfPathIsAbsolute (const string &path)
string base::FileBasename (const string &path)
bool base::IfPathIsFilename (const string &path)
bool base::MakeDir (const string &path)
bool base::IfDirExists (const string &dirname)
bool base::FilesInDir (const string &dirname, std::vector< string > &vec)
string base::GetCwd (void)

Detailed Description

File functions.

LastChangedDate:
2011-04-23 21:07:07 -0400 (Sat, 23 Apr 2011)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
Some Windows functions will recognize UNIX forward slash, v.v.

Define Documentation

#define BASE_FILE_CC   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10