#include <SPythonParser.hxx>
Public Member Functions | |
| SPythonPredParser () | |
| TypeOfEntity | getType () const |
| void | assign (const std::string &s, PyObject *glob, PyObject *loc) |
| std::string | getRepr () const |
| bool | empty () const |
Static Public Member Functions | |
| static TypeOfEntity | getTypeOfVar (const std::string &var, PyObject *glob, PyObject *loc) |
Static Public Attributes | |
| static const char | FIELD_TYPE_STR [] = "MEDCalculatorDBField" |
Private Attributes | |
| std::string | _var |
| std::string | _method |
| TypeOfEntity | _type |
| SPythonPredParser::SPythonPredParser | ( | ) |
| TypeOfEntity ParaMEDMEM.SPythonPredParser.getType | ( | ) | const |
References ParaMEDMEM.SPythonPredParser._type.
| void SPythonPredParser::assign | ( | const std::string & | s, |
| PyObject * | glob, | ||
| PyObject * | loc | ||
| ) |
This method analyses _pred attribute to deduce type of returned param.
References ParaMEDMEM.SPythonPredParser._method, ParaMEDMEM.SPythonPredParser._type, ParaMEDMEM.SPythonPredParser._var, ParaMEDMEM.FIELDDB_TYPE, ParaMEDMEM.FUNC_TYPE, ParaMEDMEM.SPythonPredParser.getTypeOfVar(), ParaMEDMEM.IDENTITY_TYPE, TestMedCorba7.s, medClient_test.type, and ParaMEDMEM.UNKNOWN_TYPE.
| std::string SPythonPredParser::getRepr | ( | ) | const |
References ParaMEDMEM.SPythonPredParser._method, and ParaMEDMEM.SPythonPredParser._var.
| bool SPythonPredParser::empty | ( | ) | const |
References ParaMEDMEM.SPythonPredParser._method, and ParaMEDMEM.SPythonPredParser._var.
| TypeOfEntity SPythonPredParser::getTypeOfVar | ( | const std::string & | var, |
| PyObject * | glob, | ||
| PyObject * | loc | ||
| ) | [static] |
const char SPythonPredParser::FIELD_TYPE_STR = "MEDCalculatorDBField" [static] |
std::string ParaMEDMEM.SPythonPredParser._var [private] |
std::string ParaMEDMEM.SPythonPredParser._method [private] |