00001
00006 #ifndef __BGDNetPath_h__
00007 #define __BGDNetPath_h__
00008
00009 #include "BGDNetConfig.h"
00010
00011 #include <nwapidef.h>
00012 #include "BGDNetException.h"
00013 #include "BGDNetString.h"
00014
00015 namespace BGDNet
00016 {
00017
00025 class BGDNET_API Path : public String
00026 {
00027 public:
00028
00029 Path( void );
00034 Path( const String& fullPath, nuint8 nameSpc );
00041 Path( const Path& p );
00046 Path& operator =( const Path& p );
00051 nuint8 ns( void ) const;
00057 String srv( void ) const;
00063 String vol( void ) const;
00069 String path( void ) const;
00075 String name( void ) const
00076 throw(Exception);
00082 String dir( void ) const
00083 throw(Exception);
00091 private:
00092
00093 nuint8 m_nameSpc;
00097 };
00098
00099 }
00100
00101 #endif //__BGDNetPath_h__