EvEmu
0.8.4
11 September 2021
|
Wrapper class for PyObjectEx of type 2. More...
#include "PyRep.h"
Public Member Functions | |
PyObjectEx_Type2 (PyTuple *args, PyDict *keywords, bool enclosed=false) | |
PyObjectEx_Type2 (PyToken *args, PyDict *keywords, bool enclosed=false) | |
PyTuple * | GetArgs () const |
PyDict * | GetKeywords () const |
PyRep * | FindKeyword (const char *keyword) const |
![]() | |
PyObjectEx (bool is_type_2, PyRep *header) | |
PyObjectEx (const PyObjectEx &oth) | |
PyObjectEx (PyObjectEx &&oth)=delete | |
PyObjectEx & | operator= (const PyObjectEx &oth) |
PyObjectEx & | operator= (PyObjectEx &&oth)=delete |
PyRep * | Clone () const |
Clones object. More... | |
bool | visit (PyVisitor &v) const |
Visits object. More... | |
PyRep * | header () const |
bool | isType2 () const |
list_type & | list () |
const list_type & | list () const |
dict_type & | dict () |
const dict_type & | dict () const |
![]() | |
PyType | GetType () const |
bool | IsInt () const |
bool | IsLong () const |
bool | IsFloat () const |
bool | IsBool () const |
bool | IsBuffer () const |
bool | IsString () const |
bool | IsWString () const |
bool | IsToken () const |
bool | IsTuple () const |
bool | IsList () const |
bool | IsDict () const |
bool | IsNone () const |
bool | IsSubStruct () const |
bool | IsSubStream () const |
bool | IsChecksumedStream () const |
bool | IsObject () const |
bool | IsObjectEx () const |
bool | IsPackedRow () const |
const char * | TypeString () const |
PyInt * | AsInt () |
const PyInt * | AsInt () const |
PyLong * | AsLong () |
const PyLong * | AsLong () const |
PyFloat * | AsFloat () |
const PyFloat * | AsFloat () const |
PyBool * | AsBool () |
const PyBool * | AsBool () const |
PyBuffer * | AsBuffer () |
const PyBuffer * | AsBuffer () const |
PyString * | AsString () |
const PyString * | AsString () const |
PyWString * | AsWString () |
const PyWString * | AsWString () const |
PyToken * | AsToken () |
const PyToken * | AsToken () const |
PyTuple * | AsTuple () |
const PyTuple * | AsTuple () const |
PyList * | AsList () |
const PyList * | AsList () const |
PyDict * | AsDict () |
const PyDict * | AsDict () const |
PyNone * | AsNone () |
const PyNone * | AsNone () const |
PySubStruct * | AsSubStruct () |
const PySubStruct * | AsSubStruct () const |
PySubStream * | AsSubStream () |
const PySubStream * | AsSubStream () const |
PyChecksumedStream * | AsChecksumedStream () |
const PyChecksumedStream * | AsChecksumedStream () const |
PyObject * | AsObject () |
const PyObject * | AsObject () const |
PyObjectEx * | AsObjectEx () |
const PyObjectEx * | AsObjectEx () const |
PyPackedRow * | AsPackedRow () |
const PyPackedRow * | AsPackedRow () const |
void | Dump (FILE *into, const char *pfx) const |
Dumps object to file. More... | |
void | Dump (LogType type, const char *pfx) const |
Dumps object to console. More... | |
virtual int32 | hash () const |
virtual function to generate a hash value of a object. More... | |
![]() | |
RefObject (size_t initRefCount) | |
Initializes reference count. More... | |
virtual | ~RefObject () |
Destructor; must be virtual. More... | |
size_t | GetCount () |
Protected Member Functions | |
virtual | ~PyObjectEx_Type2 () |
![]() | |
virtual | ~PyObjectEx () |
![]() | |
PyRep (PyType t) | |
PyRep (const PyRep &oth) | |
PyRep (PyRep &&oth)=delete | |
PyRep & | operator= (const PyRep &oth)=default |
PyRep & | operator= (PyRep &&oth)=default |
virtual | ~PyRep () |
![]() | |
void | IncRef () const |
Increments reference count of object by one. More... | |
void | DecRef () const |
Decrements reference count of object by one. More... | |
Static Protected Member Functions | |
static PyTuple * | _CreateHeader (PyTuple *args, PyDict *keywords, bool enclosed=false) |
static PyTuple * | _CreateHeader (PyToken *args, PyDict *keywords, bool enclosed=false) |
Wrapper class for PyObjectEx of type 2.
Definition at line 942 of file PyRep.cpp.
Definition at line 944 of file PyRep.cpp.
|
inlineprotectedvirtual |
|
staticprotected |
Definition at line 971 of file PyRep.cpp.
References PyTuple::SetItem().
|
staticprotected |
Definition at line 989 of file PyRep.cpp.
References PyTuple::SetItem().
PyRep * PyObjectEx_Type2::FindKeyword | ( | const char * | keyword | ) | const |
Definition at line 959 of file PyRep.cpp.
References PyDict::begin(), PyDict::end(), and GetKeywords().
Referenced by CRowSet::_GetRowDesc(), CIndexedRowSet::_GetRowDesc(), and CFilterRowSet::_GetRowDesc().
PyTuple * PyObjectEx_Type2::GetArgs | ( | ) | const |
Definition at line 947 of file PyRep.cpp.
References PyRep::AsTuple(), PyTuple::GetItem(), and PyObjectEx::header().
Referenced by CharacterAppearance::Build(), and PasswordString::GetPassword().
PyDict * PyObjectEx_Type2::GetKeywords | ( | ) | const |
Definition at line 953 of file PyRep.cpp.
References PyRep::AsDict(), PyRep::AsTuple(), PyTuple::GetItem(), and PyObjectEx::header().
Referenced by FindKeyword().