Marsyas  0.5.0-beta1
Public Member Functions
FileName Class Reference

Various utilities. More...

#include <FileName.h>

Public Member Functions

FileNameappend (const string &element)
std::string ext ()
 FileName ()
 FileName (std::string filename)
std::string fullname ()
std::vector< mrs_stringgetFilesInDir (mrs_string wildcard)
bool isAbsolute ()
mrs_bool isDir ()
std::string name ()
std::string nameNoExt ()
std::string path ()
 ~FileName ()

Detailed Description

Various utilities.

FileName is a class bundling together various rather unrelated convenience utilities related to filenames.

Definition at line 41 of file FileName.h.


Constructor & Destructor Documentation

FileName ( )

Definition at line 42 of file FileName.cpp.

FileName ( std::string  filename)

Definition at line 46 of file FileName.cpp.

~FileName ( )

Definition at line 58 of file FileName.cpp.


Member Function Documentation

FileName & append ( const string &  element)

Definition at line 203 of file FileName.cpp.

mrs_string ext ( )

Definition at line 93 of file FileName.cpp.

mrs_string fullname ( )

Definition at line 63 of file FileName.cpp.

std::vector< mrs_string > getFilesInDir ( mrs_string  wildcard)

Definition at line 135 of file FileName.cpp.

bool isAbsolute ( )

Definition at line 184 of file FileName.cpp.

mrs_bool isDir ( )

Definition at line 116 of file FileName.cpp.

mrs_string name ( )

Definition at line 70 of file FileName.cpp.

mrs_string nameNoExt ( )

Definition at line 85 of file FileName.cpp.

mrs_string path ( )

Definition at line 101 of file FileName.cpp.


The documentation for this class was generated from the following files: