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