Subversion Repositories spk

Rev

Rev 124 | Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 124 Rev 158
Line 88... Line 88...
88
	bool writeFile(std::vector<Utils::String> *lines);
88
	bool writeFile(std::vector<Utils::String> *lines);
89
	bool writeFileUTF(std::vector<Utils::String> *lines);
89
	bool writeFileUTF(std::vector<Utils::String> *lines);
90
	bool writeFile(Utils::CStringList *lines);
90
	bool writeFile(Utils::CStringList *lines);
91
 
91
 
92
	bool remove();
92
	bool remove();
93
	bool Rename(CyString toFile);
93
	bool Rename(const Utils::String &toFile);
94
	bool copy(const Utils::String &toFile, bool keepTime = false);
94
	bool copy(const Utils::String &toFile, bool keepTime = false);
95
 
95
 
96
	bool isOpened() const;
96
	bool isOpened() const;
97
	//bool Open ( CyString filename, bool = true );
97
	//bool Open ( CyString filename, bool = true );
98
	bool open(const Utils::String &sFilename, bool bBinary = true);
98
	bool open(const Utils::String &sFilename, bool bBinary = true);
99
 
99
 
100
	Utils::String baseName() const;
100
	Utils::String baseName() const;
101
	const Utils::String &fullFilename() const { return m_sFilename; }
101
	const Utils::String &fullFilename() const { return m_sFilename; }
102
	const Utils::String &filename() const { return m_sFile; }
102
	const Utils::String &filename() const { return m_sFile; }
103
	const Utils::String &dir() const { return m_sDirIO.dir(); }
103
	const Utils::String &dir() const { return m_sDirIO.dir(); }
104
	CyString GetFilename () { return m_sFile; }
-
 
105
	CDirIO &GetDirIO() { return m_sDirIO; }
104
	CDirIO &GetDirIO() { return m_sDirIO; }
106
 
105
 
107
	bool NoFile () { return m_sFilename.empty(); }
106
	bool NoFile () { return m_sFilename.empty(); }
108
	size_t GetFilesize () { return m_lSize; }
107
	size_t GetFilesize () { return m_lSize; }
109
 
108