Pothos  0.5.0-ga4964040
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 
65  std::string getJSONObject(const std::string &factoryPath, const size_t indent = 0) const;
66 
67 private:
68  struct Impl;
69  std::shared_ptr<Impl> _impl;
70 };
71 
72 } //namespace Util
73 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: ArchiveEntry.hpp:20
Definition: BlockDescription.hpp:27