MCPcopy Create free account
hub / github.com/SIPp/sipp / getString

Method getString

src/variables.cpp:109–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109char *CCallVariable::getString()
110{
111 if (M_type == E_VT_STRING) {
112 return(M_stringValue);
113 } else if (M_type == E_VT_REGEXP && M_matchingValue) {
114 return(M_matchingValue);
115 } else {
116 return const_cast<char*>(""); /* BUG BUT NOT SO SERIOUS */
117 }
118}
119
120/* Convert this variable to a double. Returns true on success, false on failure. */
121bool CCallVariable::toDouble(double *newValue)

Callers 3

TESTFunction · 0.80
createSendingMessageMethod · 0.80
executeActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected