All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fileutils.h File Reference
#include "G3D/platform.h"
#include <string>
#include <stdio.h>
#include "G3D/Array.h"
#include "G3D/Set.h"
#include "G3D/g3dmath.h"
+ Include dependency graph for fileutils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




std::string G3D::readWholeFile (const std::string &filename)
void G3D::writeWholeFile (const std::string &filename, const std::string &str, bool flush=true)
FILE * G3D::createTempFile ()
bool G3D::zipfileExists (const std::string &filename, std::string &outZipfile, std::string &outInternalFile)
bool G3D::zipfileExists (const std::string &filename)
void G3D::parseFilename (const std::string &filename, std::string &drive, Array< std::string > &path, std::string &base, std::string &ext)
std::string G3D::filenameBaseExt (const std::string &filename)
std::string G3D::filenameExt (const std::string &filename)
std::string G3D::filenameBase (const std::string &filename)
std::string G3D::generateFilenameBase (const std::string &prefix="", const std::string &suffix="")
std::string G3D::filenamePath (const std::string &filename)
bool G3D::filenameContainsWildcards (const std::string &filename)
std::string G3D::pathConcat (const std::string &dirname, const std::string &file)

Detailed Description

Morgan McGuire,

2002-06-06 2011-03-06

Copyright 2000-2012, Morgan McGuire. All rights reserved.