MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / GetNameWithSign

Method GetNameWithSign

src/math/FGPropertyValue.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
115
116std::string FGPropertyValue::GetNameWithSign(void) const
117{
118 string name;
119
120 if (Sign < 0.0) name ="-";
121
122 name += GetName();
123
124 return name;
125}
126
127//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128

Callers 12

FGLinearActuatorMethod · 0.45
DebugMethod · 0.45
DebugMethod · 0.45
DebugMethod · 0.45
DebugMethod · 0.45
DebugMethod · 0.45
DebugMethod · 0.45
GetNameFunction · 0.45
testSignedPropertyMethod · 0.45

Calls 1

GetNameFunction · 0.70

Tested by 4

testSignedPropertyMethod · 0.36