#include <bindpp.h>
Public Member Functions | |
void | bless (const char *pkg) |
bless the reference | |
Hash * | as_hash () |
dereference | |
Array * | as_array () |
dereference | |
Scalar * | as_scalar () |
dereference | |
Code * | as_code () |
dereference | |
bool | is_object () |
is this object? | |
Scalar * | mortal () |
make this value as mortal. | |
SV * | serialize () |
serialize this object to real perl variable | |
Str * | as_str () |
this variable is just a string.change the type | |
Int * | as_int () |
this variable is just a int.change the type | |
UInt * | as_uint () |
this variable is just a uint.change the type | |
Double * | as_double () |
this variable is just a double.change the type | |
Pointer * | as_pointer () |
this variable is just a pointer.change the type | |
Reference * | as_ref () |
this variable is just a reference.change the type | |
void | dump () |
dump value | |
void | refcnt_inc () |
increment the reference counter for this value | |
void | refcnt_dec () |
decrement the reference counter for this value | |
Reference * | reference () |
get a reference of this value | |
Static Public Member Functions | |
static Reference * | new_inc (Value *thing) |
create a new reference with refcnt increment | |
Protected Member Functions | |
Reference (SV *v) | |
Protected Attributes | |
SV * | val |
Friends | |
class | Scalar |
class | Hash |
class | Array |
bool pl::Reference::is_object | ( | ) | [inline] |
is this object?
Scalar* pl::Scalar::mortal | ( | ) | [inline, inherited] |
make this value as mortal.
mortal means "this variable is just a temporary.please remove after leave this context"
void pl::Value::dump | ( | ) | [inline, inherited] |
dump value
void pl::Value::refcnt_inc | ( | ) | [inline, inherited] |
increment the reference counter for this value
void pl::Value::refcnt_dec | ( | ) | [inline, inherited] |
decrement the reference counter for this value