28 CHierarchicalMHMap::CHierarchicalMHMap() = 
default;
    32 CHierarchicalMHMap::~CHierarchicalMHMap() { 
clear(); }
    44 uint8_t CHierarchicalMHMap::serializeGetVersion()
 const { 
return 0; }
    48     out.WriteAs<uint32_t>(nodeCount());
    49     for (
const auto& n : m_nodes) 
out << *n.second;
    52     out.WriteAs<uint32_t>(arcCount());
    53     for (
const auto& a : m_arcs) 
out << *a;
    56 void CHierarchicalMHMap::serializeFrom(
    70             for (i = 0; i < n; i++)
    80             for (i = 0; i < n; i++)
   101     TNodeList::iterator it;
   103     it = m_nodes.find(node->
getID());
   105     if (it != m_nodes.end())
   106         if (node == it->second.get()) m_nodes.erase(it);
   116     auto it = m_arcs.find_ptr_to(arc);
   117     if (it != m_arcs.end()) m_arcs.erase(it);
   126     auto it = m_nodes.find(node->m_ID);
   128     if (it != m_nodes.end())
   137         m_nodes[node->m_ID] = node;
   147     auto it = m_arcs.find(arc);
   149     if (it == m_arcs.end())  
   150         m_arcs.push_back(arc);
   153 void CHierarchicalMHMap::loadFromXMLfile(std::string fileName)
   156         "Needs to be ported to tinyxml2! Please, give it a hand if you need "   160 void CHierarchicalMHMap::dumpAsXMLfile(std::string fileName)
 const   163         "Needs to be ported to tinyxml2! Please, give it a hand if you need " 
#define THROW_EXCEPTION(msg)
 
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM. 
 
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files. 
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations. 
 
#define ASSERT_(f)
Defines an assertion mechanism. 
 
A set of hypothesis IDs, used for arcs and nodes in multi-hypothesis hybrid maps. ...
 
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
 
Virtual base class for "archives": classes abstracting I/O streams. 
 
mrpt::vision::TStereoCalibResults out
 
The most high level class for storing hybrid, multi-hypothesis maps in a graph-based model...
 
The virtual base class which provides a unified interface for all persistent objects in MRPT...
 
TNodeID getID() const
Reads the ID of the node (read-only property) 
 
A class for representing an arc between two nodes in a hierarchical, multi-hypothesis map...
 
void clear()
Clear the contents of this container. 
 
A class for representing a node in a hierarchical, multi-hypothesis map.