|
KiCad PCB EDA Suite
|
#include <odb_test_utils.h>
Public Member Functions | |
| OdbFeatureFile (const std::filesystem::path &aFile) | |
| size_t | CountRecordsWithOption (const std::string &aName, const std::string &aOption) const |
| size_t | CountRecordsWithFlag (const std::string &aName) const |
| size_t | CountRecordsWithInteger (const std::string &aName, int aValue) const |
Private Member Functions | |
| size_t | CountRecordsWithValue (const std::string &aName, const std::string &aValue) const |
Private Attributes | |
| std::map< std::string, std::string > | m_names |
| std::vector< std::string > | m_records |
Definition at line 79 of file odb_test_utils.h.
|
explicit |
Definition at line 97 of file odb_test_utils.cpp.
References m_names, m_records, and ReadLines().
| size_t OdbFeatureFile::CountRecordsWithFlag | ( | const std::string & | aName | ) | const |
Definition at line 143 of file odb_test_utils.cpp.
References CountRecordsWithValue().
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| size_t OdbFeatureFile::CountRecordsWithInteger | ( | const std::string & | aName, |
| int | aValue ) const |
Definition at line 149 of file odb_test_utils.cpp.
References CountRecordsWithValue().
Referenced by BOOST_AUTO_TEST_CASE().
| size_t OdbFeatureFile::CountRecordsWithOption | ( | const std::string & | aName, |
| const std::string & | aOption ) const |
Definition at line 118 of file odb_test_utils.cpp.
References CountRecordsWithValue().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
private |
Definition at line 155 of file odb_test_utils.cpp.
References m_names, m_records, and name.
Referenced by CountRecordsWithFlag(), CountRecordsWithInteger(), and CountRecordsWithOption().
|
private |
Definition at line 91 of file odb_test_utils.h.
Referenced by CountRecordsWithValue(), and OdbFeatureFile().
|
private |
Definition at line 92 of file odb_test_utils.h.
Referenced by CountRecordsWithValue(), and OdbFeatureFile().