3D Repo Bouncer  1.4
repo_maker_selection_tree.h
1 
17 #pragma once
18 #include "../../core/model/collection/repo_scene.h"
19 #include "../../lib/repo_property_tree.h"
20 
21 namespace repo{
22  namespace manipulator{
23  namespace modelutility{
25  {
26  public:
33  const repo::core::model::RepoScene *scene);
35 
42  std::map<std::string, repo::lib::PropertyTree> getSelectionTreeAsPropertyTree() const;
43 
50  std::map<std::string, std::vector<uint8_t>> getSelectionTreeAsBuffer() const;
51 
52  private:
53  const repo::core::model::RepoScene *scene;
54 
63  repo::lib::PropertyTree generatePTree(
64  const repo::core::model::RepoNode *currentNode,
65  std::unordered_map < std::string,
66  std::pair < std::string, std::string >> &idMaps,
67  const std::string &currentPath,
68  bool &hiddenOnDefault,
69  std::vector<std::string> &hiddenNode) const;
70  };
71  }
72  }
73 }
std::map< std::string, repo::lib::PropertyTree > getSelectionTreeAsPropertyTree() const
Definition: repo_maker_selection_tree.cpp:160
std::map< std::string, std::vector< uint8_t > > getSelectionTreeAsBuffer() const
Definition: repo_maker_selection_tree.cpp:135
Definition: repo_maker_selection_tree.h:24
Definition: repo_connection_pool_mongo.h:32
Definition: repo_property_tree.h:29
Definition: repo_scene.h:44
SelectionTreeMaker(const repo::core::model::RepoScene *scene)
Definition: repo_maker_selection_tree.cpp:28
Definition: repo_node.h:33