101 MENGE_API
bool listdir(
const std::string & path,
StringList & contents,
const std::string & wildcard=
"*" );
110 MENGE_API
FILE_SIZE fileSize(
const std::string & path );
119 MENGE_API std::string fileSizeStr(
FILE_SIZE size );
127 MENGE_API
bool remove(
const std::string & path );
140 MENGE_API
bool mkdir(
const std::string & path );
150 MENGE_API
bool makedirs(
const std::string & path );
168 MENGE_API
bool absPath(
const std::string & path, std::string & fullPath );
179 MENGE_API
bool isdir(
const std::string & path );
188 MENGE_API std::string join(
unsigned int pathCount, ... );
196 MENGE_API
bool exists(
const std::string & path );
210 MENGE_API
void split(
const std::string & path, std::string & head, std::string & tail );
218 inline char pathSep() {
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Sets up the proper compiler directives for platform and dll export/import.
StringList::iterator StringListItr
An interator into a list of strings.
Definition: os.h:75
A compilation of file system operations.
StringList::const_iterator StringListCItr
An const interator into a list of strings.
Definition: os.h:80
std::list< std::string > StringList
A list of strings.
Definition: os.h:70
unsigned int FILE_SIZE
The type for reporting file sizes.
Definition: os.h:64