PySlice_Check (obj);
104 returnPySlice_Check (obj);
131 if(
this!= &obj ) {
141 if(
Get() != obj ) {
154PyObject* tmp_obj = PyObject_CallObject(
Get(),
NULL);
163PyObject* tmp_obj = PyObject_CallObject(
Get(), args.
Get());
172PyObject* tmp_obj = PyObject_Call(
Get(), args.
Get(), key_words.
Get());
182 returnPyCallable_Check (obj) != 0;
196:
CObject(PyModule_New(const_cast<char*>(name))
)
215:
CObject(PyImport_AddModule( const_cast<char *>(name.c_str()) )
)
223 return CDict(PyModule_GetDict(
Get()));
227 const char* tmp_str = PyModule_GetName(
Get());
234 #if PY_VERSION_HEX >= 0x03030000 236 const char* tmp_str =
nullptr;
238tmp_str = PyUnicode_AsUTF8(fno.
Get());
241 const char* tmp_str = PyModule_GetFilename(
Get());
251 returnPyModule_CheckExact(obj);
255 returnPyModule_Check(obj);
283 returnPySeqIter_Check(obj);
287 returnPySeqIter_Check(obj);
300 returnPyCallIter_Check(obj);
304 returnPyCallIter_Check(obj);
320 returnPyGen_CheckExact(obj);
324 returnPyGen_Check(obj);
329 classCCObject :
public CObject 339 static boolHasExactSameType(PyObject* obj)
341 returnPyCObject_Check(obj);
343 static boolHasSameType(PyObject* obj)
345 returnPyCObject_Check(obj);
363 returnPyWeakref_Check(obj);
367 returnPyWeakref_Check(obj);
385 returnPyMethod_Check(obj);
389 returnPyMethod_Check(obj);
414 returnPyFunction_Check(obj);
418 returnPyFunction_Check(obj);
430 static boolHasExactSameType(PyObject* obj)
432 returnPyInstance_Check(obj);
434 static boolHasSameType(PyObject* obj)
436 returnPyInstance_Check(obj);
CCalable(const CObject &obj)
CCalable(PyObject *obj, EOwnership ownership=eAcquireOwnership)
CObject Apply(const CTuple &args) const
Call.
static bool HasExactSameType(PyObject *obj)
CCalable(const CCalable &obj)
CObject Apply(void) const
Call.
CObject Apply(const CTuple &args, const CDict &key_words) const
Call with keywords.
CCalable & operator=(const CObject &obj)
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
CModule(const CModule &obj)
CModule(PyObject *obj, EOwnership ownership=eAcquireOwnership)
static bool HasSameType(PyObject *obj)
string GetName(void) const
static bool HasExactSameType(PyObject *obj)
CModule(const char *name)
CModule(const std::string &name)
string GetFileName(void) const
CObject(void)
* Generic operations on objects *â/
void Set(PyObject *obj, EOwnership ownership)
Not exception-safe this time.
PyObject * Get(void) const
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4