Pothos  0.2.1-g9f04573d
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
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 
44  PluginPath(const char *path);
45 
50  PluginPath(const PluginPath &path);
51 
55  ~PluginPath(void);
56 
61  PluginPath &operator=(const PluginPath &path);
62 
69  PluginPath join(const std::string &subPath) const;
70 
76  std::vector<std::string> listNodes(void) const;
77 
82  std::string toString(void) const;
83 
84 private:
85  std::string _path;
86 };
87 
92 POTHOS_API bool operator==(const PluginPath &lhs, const PluginPath &rhs);
93 
94 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
POTHOS_API bool operator==(const Callable &lhs, const Callable &rhs)
Definition: Path.hpp:24