YAPOG  0.0.1
Yet Another Pokemon Online Game
Path.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_PATH_HPP
2 # define YAPOG_PATH_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/System/String.hpp"
6 
7 namespace yap
8 {
11  {
12  public:
13 
16  explicit Path (const String& value);
17 
20  Path (const Path& copy);
23  Path& operator= (const Path& copy);
24 
28  bool operator< (const Path& right) const;
29 
34  Path& Concat (const Path& path);
38  Path& Concat (const String& value);
39 
43  static Path Concat (const Path& left, const Path& right);
47  static Path Concat (const Path& left, const String& right);
48 
51  const String& GetValue () const;
52 
53  private:
54 
56  static const char DEFAULT_SEPARATOR;
57 
60  };
61 
65  Path operator+ (const Path& left, const Path& right);
69  Path operator+ (const Path& left, const String& right);
70 } // namespace yap
71 
72 #endif // YAPOG_PATH_HPP