Go to the documentation of this file.
55 template<
class T>
class List;
116 inline fileName(
const std::string&);
131 inline static bool valid(
char);
A class for handling words, derived from string.
A class for handling file names.
wordList components(const char delimiter='/') const
Return path components as wordList.
fileName path() const
Return directory path name (part before last /)
bool isAbsolute() const
Return true if file name is absolute.
Type
Enumerations to handle file types and modes.
fileName lessExt() const
Return file name without extension (part before last .)
A class for handling character strings derived from std::string.
fileName()
Construct null.
fileName & toAbsolute()
Convert from relative to absolute.
word name() const
Return file name (part beyond last /)
word component(const size_type, const char delimiter='/') const
Return a single component of the path.
List< word > wordList
A List of words.
Type type() const
Return the file type: FILE, DIRECTORY or UNDEFINED.
static const char *const typeName
const fileName & operator=(const fileName &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
graph_traits< Graph >::vertices_size_type size_type
Ostream & operator<<(Ostream &, const edgeMesh &)
friend Istream & operator>>(Istream &, fileName &)
word ext() const
Return file name extension (part after last .)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
void stripInvalid()
Strip invalid characters.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
friend Ostream & operator<<(Ostream &, const fileName &)
Istream & operator>>(Istream &, edgeMesh &)
string caseName() const
Return file name (part beyond last /), subsitute for FOAM_CASE.
static bool valid(char)
Is this character valid for a fileName?
bool clean()
Cleanup file name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...