Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
BlockDescription.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #include <Pothos/Config.hpp>
14 #include <iosfwd>
15 #include <string>
16 #include <vector>
17 #include <memory>
18 #include <cstddef>
19 
20 namespace Pothos {
21 namespace Util {
22 
28 {
29 public:
30 
33 
39  void feedStream(std::istream &is);
40 
47  void feedFilePath(const std::string &filePath);
48 
52  std::vector<std::string> listFactories(void) const;
53 
58  std::string getJSONArray(const size_t indent = 0) const;
59 
66  std::string getJSONObject(const std::string &factoryPath, const size_t indent = 0) const;
67 
68 private:
69  struct Impl;
70  std::shared_ptr<Impl> _impl;
71 };
72 
73 } //namespace Util
74 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: ArchiveEntry.hpp:20
Definition: BlockDescription.hpp:27