5 #include "rrExporter.h"
16 class RR_DECLSPEC FileName
19 mutable std::string mPathAndName;
22 void MakeFileString();
25 FileName(
const std::string& name =
"",
const std::string& path =
"");
26 FileName(
const FileName& fN);
29 FileName& operator = (
const FileName& fN);
30 FileName& operator = (
const std::string& fN);
31 FileName& operator = (
const char* fN);
32 bool operator !=(
const char* fN);
33 operator std::string();
34 bool SetPath(
const std::string& path);
35 void SetFileName(
const std::string& name);
36 void SetNameAndPath(
const std::string& path,
const std::string& name);
37 void SetFileNameAndPath(
const std::string& name);
39 std::string GetFileName()
const;
40 std::string GetPath()
const;
41 std::string GetPathAndFileName()
const;
43 std::string GetFileNameNoExtension();
47 RR_DECLSPEC std::ostream& operator <<(std::ostream &os, FileName &obj);