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

Function OPS_GetString

SRC/interpreter/OpenSeesCommands.cpp:1142–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140
1141
1142const char * OPS_GetString(void)
1143{
1144 if (cmds == 0) return "Invalid String Input!";
1145 DL_Interpreter* interp = cmds->getInterpreter();
1146 const char* res = interp->getString();
1147 if (res == 0) {
1148 return "Invalid String Input!";
1149 }
1150 return res;
1151}
1152
1153const char * OPS_GetStringFromAll(char* buffer, int len)
1154{

Callers 15

OPS_NDMaterialFunction · 0.70
OPS_updateMaterialStageFunction · 0.70
setTransientAnalysisMethod · 0.70
OPS_modelFunction · 0.70
OPS_SystemFunction · 0.70
OPS_NumbererFunction · 0.70
OPS_ConstraintHandlerFunction · 0.70
OPS_CTestFunction · 0.70
OPS_IntegratorFunction · 0.70
OPS_AlgorithmFunction · 0.70
OPS_AnalysisFunction · 0.70
OPS_analyzeFunction · 0.70

Calls 2

getInterpreterMethod · 0.80
getStringMethod · 0.45

Tested by 2

OPS_NDGetResponseFunction · 0.56
OPS_NDTestFunction · 0.56