MCPcopy Create free account
hub / github.com/KDAB/GammaRay / canAddProperty

Method canAddProperty

core/propertyaggregator.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool PropertyAggregator::canAddProperty() const
87{
88 auto count = std::count_if(m_propertyAdaptors.constBegin(), m_propertyAdaptors.constEnd(),
89 [](PropertyAdaptor *pa) {
90 return pa->canAddProperty();
91 });
92 return count == 1;
93}
94
95void PropertyAggregator::addProperty(const PropertyData &data)
96{

Callers 1

addPropertyMethod · 0.45

Calls 2

constBeginMethod · 0.45
constEndMethod · 0.45

Tested by

no test coverage detected