2005-05-28 00:45:31 +02:00
|
|
|
#ifndef _FILENAME_H_
|
|
|
|
#define _FILENAME_H_
|
|
|
|
|
2008-04-24 17:49:43 +02:00
|
|
|
#include "../common/classes/fb_string.h"
|
2005-05-28 00:45:31 +02:00
|
|
|
|
2008-04-24 17:49:43 +02:00
|
|
|
class FileName : public Firebird::GlobalStorage
|
2005-05-28 00:45:31 +02:00
|
|
|
{
|
|
|
|
public:
|
2008-04-29 14:01:24 +02:00
|
|
|
explicit FileName(const Firebird::PathName& name);
|
2008-04-20 12:40:58 +02:00
|
|
|
~FileName();
|
2008-12-05 01:56:15 +01:00
|
|
|
|
2008-04-24 17:49:43 +02:00
|
|
|
Firebird::PathName pathName;
|
|
|
|
Firebird::PathName directory;
|
|
|
|
Firebird::PathName root;
|
|
|
|
Firebird::PathName extension;
|
2008-04-20 12:40:58 +02:00
|
|
|
bool isAbsolute() const { return absolute; }
|
|
|
|
private:
|
2005-05-28 00:45:31 +02:00
|
|
|
bool absolute;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2008-04-20 12:40:58 +02:00
|
|
|
|