MCPcopy Create free account
hub / github.com/comaps/comaps / FeaturesVectorTest

Class FeaturesVectorTest

libs/indexer/features_vector.hpp:83–99  ·  view source on GitHub ↗

Test features vector (reader) that combines all the needed data for stand-alone work. Used in generator_tool and unit tests.

Source from the content-addressed store, hash-verified

81/// Test features vector (reader) that combines all the needed data for stand-alone work.
82/// Used in generator_tool and unit tests.
83class FeaturesVectorTest
84{
85 DISALLOW_COPY_AND_MOVE(FeaturesVectorTest);
86
87 FilesContainerR m_cont;
88 feature::DataHeader m_header;
89 FeaturesVector m_vector;
90
91public:
92 explicit FeaturesVectorTest(std::string const & filePath);
93 explicit FeaturesVectorTest(FilesContainerR const & cont);
94 ~FeaturesVectorTest();
95
96 FilesContainerR const & GetContainer() const { return m_cont; }
97 feature::DataHeader const & GetHeader() const { return m_header; }
98 FeaturesVector const & GetVector() const { return m_vector; }
99};

Callers 1

ReadFeaturesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected