Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Path.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <vector>
14 #include <string>
15 
16 namespace Pothos {
17 
25 {
26 public:
30  explicit PluginPath(void);
31 
37  PluginPath(const std::string &path);
38 
43  PluginPath(const PluginPath &path0, const PluginPath &path1);
44 
50  PluginPath(const char *path);
51 
56  PluginPath(const PluginPath &path);
57 
61  ~PluginPath(void);
62 
67  PluginPath &operator=(const PluginPath &path);
68 
75  PluginPath join(const std::string &subPath) const;
76 
82  std::vector<std::string> listNodes(void) const;
83 
88  std::string toString(void) const;
89 
90 private:
91  std::string _path;
92 };
93 
98 POTHOS_API bool operator==(const PluginPath &lhs, const PluginPath &rhs);
99 
100 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
POTHOS_API bool operator==(const Callable &lhs, const Callable &rhs)
Definition: ArchiveEntry.hpp:20
Definition: Path.hpp:24