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

Method Identity

lib/mdflib/mdflib/src/hounit.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace mdf {
12
13void HoUnit::Identity(std::string identity) {
14 identity_ = std::move(identity);
15 if (short_name_.empty()) {
16 short_name_ = identity_;
17 }
18}
19
20const std::string& HoUnit::Identity() const {
21 return identity_;

Callers 4

TESTFunction · 0.45
TEST_FFunction · 0.45
AddPhysicalDimensionMethod · 0.45
AddUnitMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by 4

TESTFunction · 0.36
TEST_FFunction · 0.36
AddPhysicalDimensionMethod · 0.36
AddUnitMethod · 0.36