public

Inheritance Graph

graph BT
	FileName
	click FileName "classUtil_1_1FileName"

Description

Factories

   
   
FileName createDirName(const std::string & dirname)

Main

   
   
  FileName()
   
  FileName(const std::string & _file)
   
  FileName(const char * _file)
   
   

Information

   
   
bool empty() const
   
const std::string & getDir() const
   
const std::string & getFile() const
   
const std::string & getFSName() const
   
std::string getPath() const
   
std::string toString() const
   
std::string toShortString() const
   
std::string getEnding() const

Modification

   
   
void setFile(const std::string & newFile)
   
void setDir(const std::string & newDir)
   
void setFSName(const std::string & newFSName)
   
void setEnding(const std::string & ending)
   
FileName & operator=(const std::string & s)

Comparators

   
   
bool operator==(const FileName & other) const
   
bool operator==(const std::string & s) const
   
bool operator!=(const FileName & other) const
   
bool operator!=(const std::string & s) const
   
bool operator<(const FileName & other) const
   
bool operator>(const FileName & other) const
   
bool operator<=(const FileName & other) const
   
bool operator>=(const FileName & other) const

Documentation

function
Util::FileName::createDirName

public static
     
     
FileName createDirName( const std::string & dirname )

Defined in Util/IO/FileName.h:28


function
Util::FileName::FileName

public inline
   
   
FileName( )

Defined in Util/IO/FileName.h:36


function
Util::FileName::FileName

public inline explicit
     
     
FileName( const std::string & _file )

Defined in Util/IO/FileName.h:39


function
Util::FileName::FileName

public inline explicit
     
     
FileName( const char * _file )

Defined in Util/IO/FileName.h:43


function
Util::FileName::empty

public const inline
   
   
bool empty( ) const

Defined in Util/IO/FileName.h:65


function
Util::FileName::getDir

public const inline
   
   
const std::string & getDir( ) const

Defined in Util/IO/FileName.h:66


function
Util::FileName::getFile

public const inline
   
   
const std::string & getFile( ) const

Defined in Util/IO/FileName.h:67


function
Util::FileName::getFSName

public const inline
   
   
const std::string & getFSName( ) const

Defined in Util/IO/FileName.h:68


function
Util::FileName::getPath

public const inline
   
   
std::string getPath( ) const

Defined in Util/IO/FileName.h:69


function
Util::FileName::toString

public const inline
   
   
std::string toString( ) const

Defined in Util/IO/FileName.h:70


function
Util::FileName::toShortString

public const inline
   
   
std::string toShortString( ) const

Defined in Util/IO/FileName.h:71


function
Util::FileName::getEnding

public const
   
   
std::string getEnding( ) const

Defined in Util/IO/FileName.h:72


function
Util::FileName::setFile

public inline
     
     
void setFile( const std::string & newFile )

Defined in Util/IO/FileName.h:80


function
Util::FileName::setDir

public inline
     
     
void setDir( const std::string & newDir )

Defined in Util/IO/FileName.h:81


function
Util::FileName::setFSName

public inline
     
     
void setFSName( const std::string & newFSName )

Defined in Util/IO/FileName.h:87


function
Util::FileName::setEnding

public
     
     
void setEnding( const std::string & ending )

modifies the filename such that it has the given ending, examples: “file”> “file.ending” “file.xy”> “file.ending” “file.ab.xy”> “file.ab.ending” “”> “.ending” “.xy”> “.ending”

Parameters

ending
the new ending to be used for this filename can be specified either as “.ending” or as “ending”

Note: if ending is specified as “.xy.ab”, only “.ab” is used

Note: ending

Defined in Util/IO/FileName.h:102


function
Util::FileName::operator=

public inline
     
     
FileName & operator=( const std::string & s )

Defined in Util/IO/FileName.h:104


function
Util::FileName::operator==

public const inline
     
     
bool operator==( const FileName & other ) const

Defined in Util/IO/FileName.h:117


function
Util::FileName::operator==

public const inline
     
     
bool operator==( const std::string & s ) const

Defined in Util/IO/FileName.h:120


function
Util::FileName::operator!=

public const inline
     
     
bool operator!=( const FileName & other ) const

Defined in Util/IO/FileName.h:123


function
Util::FileName::operator!=

public const inline
     
     
bool operator!=( const std::string & s ) const

Defined in Util/IO/FileName.h:126


function
Util::FileName::operator<

public const inline
     
     
bool operator<( const FileName & other ) const

Defined in Util/IO/FileName.h:129


function
Util::FileName::operator>

public const inline
     
     
bool operator>( const FileName & other ) const

Defined in Util/IO/FileName.h:132


function
Util::FileName::operator<=

public const inline
     
     
bool operator<=( const FileName & other ) const

Defined in Util/IO/FileName.h:135


function
Util::FileName::operator>=

public const inline
     
     
bool operator>=( const FileName & other ) const

Defined in Util/IO/FileName.h:138