MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getAllWithMarker

Method getAllWithMarker

src/eepp/ui/css/stylesheet.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98StyleSheet StyleSheet::getAllWithMarker( const Uint32& marker ) const {
99 StyleSheet style;
100 std::vector<std::shared_ptr<StyleSheetStyle>> hits;
101 for ( auto node : mNodes ) {
102 if ( node->getMarker() == marker )
103 style.addStyle( node );
104 }
105 return style;
106}
107
108StyleSheet StyleSheet::getAllWithMarkers() const {
109 StyleSheet style;

Callers

nothing calls this directly

Calls 1

addStyleMethod · 0.80

Tested by

no test coverage detected