MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / IsActive

Method IsActive

lib/mdflib/mdflib/src/mdlist.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace mdf {
14
15bool MdList::IsActive() const {
16 // If the name is empty. It might be the root element
17 return !name_.empty() || !desc_.empty() || !property_list_.empty()
18 || !tree_list_.empty() || !list_list_.empty()
19 || !enumerate_list_.empty();
20}
21
22void MdList::Name(std::string name) {
23 name_ = std::move(name);

Callers 14

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
ToFormulaMethod · 0.45
ToNamesMethod · 0.45
ToCommonPropMethod · 0.45
ToXmlMethod · 0.45
ToXmlMethod · 0.45
ToXmlMethod · 0.45
ToXmlMethod · 0.45
ToXmlMethod · 0.45
ToXmlMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36