MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / insert

Method insert

src/OpenFOAM/containers/HashTables/HashSet/HashSet.H:117–120  ·  view source on GitHub ↗

- Insert a new entry

Source from the content-addressed store, hash-verified

115
116 //- Insert a new entry
117 bool insert(const Key& key)
118 {
119 return HashTable<nil, Key, Hash>::insert(key, nil());
120 }
121
122 //- Insert keys from a UList of Key
123 // Return the number of new elements inserted

Callers 1

HashSet.CFile · 0.45

Calls 2

nilClass · 0.85
insertFunction · 0.50

Tested by

no test coverage detected