base_file.hh File Reference

File functions. More...

#include "base_common.hh"
#include "base_misc.hh"

Go to the source code of this file.

Namespaces

namespace  base

Defines

#define BASE_FILE_HH   1

Functions

bool base::IfFileExists (const string &fname)
long base::FileSize (FILE *file)
bool base::ReadFile (const string &fname, string &obuf)
bool base::ReadFile (const string &fname, StringBuf &strbuf)
bool base::ReadFileGzip (const string &fname, string &obuf, const uint chunkLen)
bool base::RemoveFile (const string &fname)
void base::RemoveSuffix (string &fname, const string &suffix)
bool base::IfAbsPath (const string &path)
bool base::IfDirExists (const string &dirname)
bool base::FilesInDir (const string &dirname, vector< string > &vec)
string base::GetCwd (void)

Variables

const uint base::MAX_PATH = 256


Detailed Description

File functions.

Id
LastChangedDate

Author:
Jim E. Brooks http://www.palomino3d.org

Define Documentation

#define BASE_FILE_HH   1

Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:13 2007