aliasmanager.h
Go to the documentation of this file.
1 #ifndef ALIASMANAGER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define ALIASMANAGER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
3 
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
5 #pragma once
6 #endif
7 
8 #include "yaml-cpp-pm/anchor.h"
9 #include <map>
10 
11 namespace YAML_PM
12 {
13  class Node;
14 
16  {
17  public:
18  AliasManager();
19 
20  void RegisterReference(const Node& node);
21  anchor_t LookupAnchor(const Node& node) const;
22 
23  private:
25 
26  private:
27  typedef std::map<const Node*, anchor_t> AnchorByIdentity;
29 
31  };
32 }
33 
34 #endif // ALIASMANAGER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
YAML_PM::AliasManager::AnchorByIdentity
std::map< const Node *, anchor_t > AnchorByIdentity
Definition: aliasmanager.h:27
YAML_PM
Definition: aliasmanager.h:11
YAML_PM::AliasManager::_CreateNewAnchor
anchor_t _CreateNewAnchor()
Definition: aliasmanager.cpp:25
anchor.h
YAML_PM::AliasManager::LookupAnchor
anchor_t LookupAnchor(const Node &node) const
Definition: aliasmanager.cpp:17
YAML_PM::AliasManager::AliasManager
AliasManager()
Definition: aliasmanager.cpp:8
YAML_PM::Node
Definition: node.h:33
YAML_PM::AliasManager
Definition: aliasmanager.h:15
YAML_PM::AliasManager::m_curAnchor
anchor_t m_curAnchor
Definition: aliasmanager.h:30
YAML_PM::AliasManager::RegisterReference
void RegisterReference(const Node &node)
Definition: aliasmanager.cpp:12
YAML_PM::anchor_t
std::size_t anchor_t
Definition: anchor.h:12
YAML_PM::AliasManager::m_anchorByIdentity
AnchorByIdentity m_anchorByIdentity
Definition: aliasmanager.h:28


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:57