#include <PythonCCS-client.h>
Public Member Functions | |
PythonPrint (CmiUInt4 _interp, bool Wait=true, bool Kill=false) | |
void | setWait (bool _set) |
bool | isWait () |
void | setKill (bool _set) |
bool | isKill () |
int | size () |
char * | pack () |
void | unpack () |
void | print () |
Static Public Attributes | |
static const CmiUInt4 | localmagic = 989370215 |
Private Attributes | |
CmiUInt4 | interpreter |
unsigned char | flags |
Static Private Attributes | |
static const unsigned char | FLAG_WAIT = 0x80 |
static const unsigned char | FLAG_KILL = 0x40 |
Friends | |
class | PythonObject |
Definition at line 142 of file PythonCCS-client.h.
Definition at line 145 of file PythonCCS-client.C.
References FLAG_KILL, FLAG_WAIT, flags, interpreter, localmagic, and PythonAbstract::magic.
void PythonPrint::setWait | ( | bool | _set | ) |
bool PythonPrint::isWait | ( | ) | [inline] |
Definition at line 158 of file PythonCCS-client.h.
References FLAG_WAIT, and flags.
Referenced by PythonObject::print().
void PythonPrint::setKill | ( | bool | _set | ) |
bool PythonPrint::isKill | ( | ) | [inline] |
Definition at line 161 of file PythonCCS-client.h.
References FLAG_KILL, and flags.
Referenced by PythonObject::print().
int PythonPrint::size | ( | void | ) | [inline] |
Definition at line 164 of file PythonCCS-client.h.
char* PythonPrint::pack | ( | ) | [inline] |
void PythonPrint::unpack | ( | ) | [inline] |
Reimplemented from PythonAbstract.
Definition at line 167 of file PythonCCS-client.h.
References interpreter, and ntohl().
Referenced by PythonObject::print().
void PythonPrint::print | ( | void | ) |
Definition at line 179 of file PythonCCS-client.C.
References flags, interpreter, and PythonAbstract::magic.
friend class PythonObject [friend] |
Definition at line 143 of file PythonCCS-client.h.
CmiUInt4 PythonPrint::interpreter [private] |
Definition at line 145 of file PythonCCS-client.h.
Referenced by PythonObject::print(), print(), PythonPrint(), and unpack().
unsigned char PythonPrint::flags [private] |
Definition at line 146 of file PythonCCS-client.h.
Referenced by isKill(), isWait(), print(), PythonPrint(), setKill(), and setWait().
const unsigned char PythonPrint::FLAG_WAIT = 0x80 [static, private] |
Definition at line 151 of file PythonCCS-client.h.
Referenced by isWait(), PythonPrint(), and setWait().
const unsigned char PythonPrint::FLAG_KILL = 0x40 [static, private] |
Definition at line 152 of file PythonCCS-client.h.
Referenced by isKill(), PythonPrint(), and setKill().
const CmiUInt4 PythonPrint::localmagic = 989370215 [static] |
Definition at line 154 of file PythonCCS-client.h.
Referenced by PythonAbstract::isPrint(), and PythonPrint().