MCPcopy Create free account
hub / github.com/KLayout/klayout / is_iterated_array

Method is_iterated_array

src/db/db/dbArray.h:947–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945 }
946
947 virtual bool is_iterated_array (std::vector<vector_type> *v)
948 {
949 if (v) {
950 v->clear ();
951 v->reserve (m_v.size ());
952 for (const_iterator p = m_v.begin (); p != m_v.end (); ++p) {
953 v->push_back (*p);
954 }
955 }
956 return true;
957 }
958
959 void sort ()
960 {

Callers

nothing calls this directly

Calls 6

clearMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected