6 #ifndef KNOWROB_IMPORT_HIERARCHY_H 
    7 #define KNOWROB_IMPORT_HIERARCHY_H 
   20     class ImportHierarchy {
 
   25         static constexpr std::string_view 
ORIGIN_ANY = 
"any";
 
   38         static constexpr std::string_view 
ORIGIN_USER = 
"user";
 
   46         static constexpr std::string_view 
ORIGIN_TEST = 
"test";
 
   95         void addDirectImport(std::string_view importerGraphName, std::string_view importedGraphName);
 
  101         const std::set<CurrentGraph *> &
getImports(std::string_view graphName);
 
  104         std::map<std::string_view, std::unique_ptr<CurrentGraph>> 
graphs_;
 
void addCurrentGraph(std::string_view graphName)
void addDirectImport(std::string_view importerGraphName, std::string_view importedGraphName)
bool isSystemOrigin(CurrentGraph &graph)
std::string defaultGraph_
std::map< std::string_view, std::unique_ptr< CurrentGraph > > graphs_
bool isSessionOrigin(CurrentGraph &graph)
bool isCurrentGraph(std::string_view graphName) const
static constexpr std::string_view ORIGIN_TEST
const auto & defaultGraph() const
void setDefaultGraph(std::string_view defaultGraph)
static constexpr std::string_view ORIGIN_SESSION
static constexpr std::string_view ORIGIN_USER
static constexpr std::string_view ORIGIN_REASONER
static bool isReservedOrigin(std::string_view origin)
void removeCurrentGraph(std::string_view graphName)
const std::set< CurrentGraph * > & getImports(std::string_view graphName)
static constexpr std::string_view ORIGIN_SYSTEM
static constexpr std::string_view ORIGIN_ANY
CurrentGraph & getCurrentGraph(std::string_view name)