MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / pairs

Method pairs

source/core/StarMap.hpp:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template <typename BaseMap>
129auto MapMixin<BaseMap>::pairs() const -> List<pair<key_type, mapped_type>> {
130 List<pair<key_type, mapped_type>> plist;
131 for (const_iterator i = Base::begin(); i != Base::end(); ++i)
132 plist.push_back(*i);
133 return plist;
134}
135
136template <typename BaseMap>
137bool MapMixin<BaseMap>::contains(key_type const& k) const {

Callers 10

criteriaSatisfiedMethod · 0.45
readTenantMethod · 0.45
transformedMapValuesFunction · 0.45
writeStatisticsMethod · 0.45
readStatisticsMethod · 0.45
writeMetadataMethod · 0.45
tickMethod · 0.45
updateMethod · 0.45
uploadToSteamMethod · 0.45

Calls 3

beginFunction · 0.85
endFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected