MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetArgumentType

Method GetArgumentType

tools/mkclass/classcompiler.hpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 inline std::string GetArgumentType() const
86 {
87 std::string realType = GetRealType();
88
89 if (realType == "bool" || realType == "double" || realType == "int")
90 return realType;
91 else
92 return "const " + realType + "&";
93 }
94};
95
96struct Field

Callers 2

HandleClassMethod · 0.80
CodeGenValidatorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected