77 PyObject* _assembly =
nullptr;
78 int _assemblySize = 0;
81 void* variableArrayToVoidArray(
const ot::Variable* values,
const uint32_t size,
int& pType);
82 const ot::Variable* voidArrayToVariableArray(
void* data,
const uint32_t size,
int pType);
Wrapper around a PyObject* that is a borrowed reference. This increments the reference count on const...
Wrapper around a PyObject* that is a new reference. This owns the reference so does not increment it ...
bsoncxx::types::value value
Definition DocumentManager.h:16
Definition CPythonObjectBorrowed.h:15
Definition CPythonObject.h:13
Definition CPythonObjectNew.h:14
PyObjects don't distingiush between float and double and int32 and int64. All floating point values a...
Definition PythonObjectBuilder.h:28
CPythonObjectBorrowed getDictItem(const CPythonObject &pValue)
Definition PythonObjectBuilder.cpp:260
CPythonObjectNew setVariableTuple(const std::list< ot::Variable > &values)
Definition PythonObjectBuilder.cpp:535
int32_t getInt32Value(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:173
CPythonObjectNew setGenericDataStruct(ot::GenericDataStruct *genericDataStruct)
Definition PythonObjectBuilder.cpp:669
int32_t getInt32ValueFromTuple(const CPythonObject &pValue, int position, const std::string &varName)
Definition PythonObjectBuilder.cpp:220
std::string getStringValueFromTuple(const CPythonObject &pValue, int position, const std::string &varName)
Definition PythonObjectBuilder.cpp:240
bool getBoolValueFromTuple(const CPythonObject &pValue, int position, const std::string &varName)
Definition PythonObjectBuilder.cpp:250
double getDoubleValue(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:182
void StartTupleAssemply(int size)
Definition PythonObjectBuilder.cpp:140
std::list< double > getDoubleList(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:296
CPythonObjectNew setInt64(const int64_t value)
Definition PythonObjectBuilder.cpp:501
std::optional< ot::Variable > getVariable(CPythonObject &pValue)
Definition PythonObjectBuilder.cpp:472
ot::GenericDataStruct * getGenericDataStruct(CPythonObject &pValue)
Definition PythonObjectBuilder.cpp:376
void operator<<(CPythonObject *newEntry)
Definition PythonObjectBuilder.cpp:150
CPythonObjectBorrowed getTupleItem(const CPythonObject &pValue, int position, const std::string &varName)
Definition PythonObjectBuilder.cpp:210
std::list< bool > getBoolList(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:330
CPythonObjectNew setBool(const bool value)
Definition PythonObjectBuilder.cpp:527
std::string getStringValue(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:191
CPythonObjectNew setVariableList(const std::list< ot::Variable > &values)
Definition PythonObjectBuilder.cpp:552
CPythonObjectNew setGenericDataStructList(ot::GenericDataStructList &values)
Definition PythonObjectBuilder.cpp:704
~PythonObjectBuilder()
Definition PythonObjectBuilder.h:31
std::list< int32_t > getInt32List(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:280
ot::GenericDataStructList getGenericDataStructList(CPythonObject &pValue)
Definition PythonObjectBuilder.cpp:346
PythonObjectBuilder()
Definition PythonObjectBuilder.cpp:135
CPythonObjectNew setInt32(const int32_t value)
Definition PythonObjectBuilder.cpp:507
CPythonObjectNew setVariable(const ot::Variable &value)
Definition PythonObjectBuilder.cpp:586
CPythonObjectNew setDouble(double value)
Definition PythonObjectBuilder.cpp:513
CPythonObjectNew setString(const std::string &value)
Definition PythonObjectBuilder.cpp:521
double getDoubleValueFromTuple(const CPythonObject &pValue, int position, const std::string &varName)
Definition PythonObjectBuilder.cpp:230
CPythonObjectNew getAssembledTuple()
Definition PythonObjectBuilder.cpp:165
std::list< ot::Variable > getVariableList(CPythonObject &pValue)
Definition PythonObjectBuilder.cpp:426
CPythonObjectBorrowed getListItem(const CPythonObject &pValue, int position)
Definition PythonObjectBuilder.cpp:271
bool getBoolValue(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:200
std::list< std::string > getStringList(const CPythonObject &pValue, const std::string &varName)
Definition PythonObjectBuilder.cpp:312
Definition Variable.h:107
std::list< ot::GenericDataStruct * > GenericDataStructList
Definition GenericDataStruct.h:27