Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
namespace mdf {
12
13
void HoUnit::Identity(std::string identity) {
14
identity_ = std::move(identity);
15
if (short_name_.empty()) {
16
short_name_ = identity_;
17
}
18
}
19
20
const std::string& HoUnit::Identity() const {
21
return identity_;
Callers
4
TEST
Function · 0.45
TEST_F
Function · 0.45
AddPhysicalDimension
Method · 0.45
AddUnit
Method · 0.45
Calls
1
empty
Method · 0.80
Tested by
4
TEST
Function · 0.36
TEST_F
Function · 0.36
AddPhysicalDimension
Method · 0.36
AddUnit
Method · 0.36