MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / deserialize

Method deserialize

pose_graph/ThirdParty/VocabularyBinary.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void SVINLoop::Vocabulary::deserialize(std::ifstream& stream) {
25 stream.read((char*)this, staticDataSize());
26
27 nodes = new Node[nNodes];
28 stream.read((char*)nodes, sizeof(Node) * nNodes);
29
30 words = new Word[nWords];
31 stream.read((char*)words, sizeof(Word) * nWords);
32}

Callers 1

loadBinMethod · 0.80

Calls 1

readMethod · 0.80

Tested by

no test coverage detected