|
| template<typename Key , typename Val > |
| void | create () |
| |
| template<typename Key , typename Val > |
| void | insert () |
| |
| template<typename Key , typename Val > |
| void | emplace () |
| |
| template<typename Key , typename Val > |
| void | iterate (const Val &default_value=0) |
| |
Definition at line 11 of file vectormap_test.C.
◆ CPPUNIT_TEST() [1/5]
◆ CPPUNIT_TEST() [2/5]
◆ CPPUNIT_TEST() [3/5]
| VectormapTest::CPPUNIT_TEST |
( |
testFind |
| ) |
|
◆ CPPUNIT_TEST() [4/5]
◆ CPPUNIT_TEST() [5/5]
◆ CPPUNIT_TEST_SUITE_END()
| VectormapTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
◆ create()
template<typename Key , typename Val >
| void VectormapTest::create |
( |
| ) |
|
|
inlineprivate |
Definition at line 27 of file vectormap_test.C.
28 {
30 }
This vectormap templated class is intended to provide the performance characteristics of a sorted std...
◆ emplace()
template<typename Key , typename Val >
| void VectormapTest::emplace |
( |
| ) |
|
|
inlineprivate |
◆ insert()
template<typename Key , typename Val >
| void VectormapTest::insert |
( |
| ) |
|
|
inlineprivate |
◆ iterate()
template<typename Key , typename Val >
| void VectormapTest::iterate |
( |
const Val & |
default_value = 0 | ) |
|
|
inlineprivate |
◆ LIBMESH_CPPUNIT_TEST_SUITE()
◆ testCreate()
| void VectormapTest::testCreate |
( |
| ) |
|
|
inline |
Definition at line 91 of file vectormap_test.C.
92 {
93 LOG_UNIT_TEST;
94
95 create<int, int> ();
96 create<int*,int> ();
97 create<int*,int*>();
98 create<int, std::vector<int>>();
99 }
◆ testEmplace()
| void VectormapTest::testEmplace |
( |
| ) |
|
|
inline |
Definition at line 111 of file vectormap_test.C.
112 {
113 LOG_UNIT_TEST;
114
115 emplace<int, int> ();
116 emplace<char,int> ();
117 emplace<long,int*>();
118 emplace<int, std::vector<int>>();
119 }
◆ testFind()
| void VectormapTest::testFind |
( |
| ) |
|
|
inline |
◆ testInsert()
| void VectormapTest::testInsert |
( |
| ) |
|
|
inline |
Definition at line 101 of file vectormap_test.C.
102 {
103 LOG_UNIT_TEST;
104
105 insert<int, int> ();
106 insert<char,int> ();
107 insert<long,int*>();
108 insert<int, std::vector<int>>();
109 }
◆ testIterate()
| void VectormapTest::testIterate |
( |
| ) |
|
|
inline |
Definition at line 121 of file vectormap_test.C.
122 {
123 LOG_UNIT_TEST;
124
125 iterate<int, int> ();
126 iterate<char,int> ();
127 iterate<long,int*>();
128 iterate<int, std::string>("test_string");
129 }
The documentation for this class was generated from the following file: