MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / OPS_GetStringFromAll

Function OPS_GetStringFromAll

SRC/interpreter/OpenSeesCommands.cpp:1153–1162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151}
1152
1153const char * OPS_GetStringFromAll(char* buffer, int len)
1154{
1155 if (cmds == 0) return "Invalid String Input!";
1156 DL_Interpreter* interp = cmds->getInterpreter();
1157 const char* res = interp->getStringFromAll(buffer, len);
1158 if (res == 0) {
1159 return "Invalid String Input!";
1160 }
1161 return res;
1162}
1163
1164void *OPS_GetVoidPtr(void)
1165{

Callers 3

OPS_eleResponseFunction · 0.70
OPS_ParameterFunction · 0.70
OPS_addToParameterFunction · 0.70

Calls 2

getInterpreterMethod · 0.80
getStringFromAllMethod · 0.45

Tested by

no test coverage detected