MCPcopy Create free account
hub / github.com/cginternals/globjects / update

Method update

source/globjects/source/base/CompositeStringSource.cpp:75–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void CompositeStringSource::update() const
76{
77 m_strings.clear();
78
79 for (const ref_ptr<AbstractStringSource>& source : m_sources)
80 {
81 for (const std::string & str : source->strings())
82 {
83 m_strings.push_back(str);
84 }
85 }
86
87 m_dirty = false;
88}
89
90std::string CompositeStringSource::shortInfo() const
91{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
stringsMethod · 0.45

Tested by

no test coverage detected