#include <bindpp.h>
Public Member Functions | |
void | push (Scalar *s) |
push the value | |
template<class T> | |
void | push (T v) |
void | unshift (Int &i) |
Unshift the given number of "undef" values onto the beginning of the array. | |
void | unshift (I32 i) |
Scalar * | pop () |
pops value from the array | |
Scalar * | shift () |
shifts value from the array | |
Reference * | fetch (I32 key) |
fetch value from the array | |
I32 | len () |
len returns highest index in array | |
U32 | size () |
size() returns size of array(= len()+1) | |
template<class T> | |
Scalar * | store (I32 key, T v) |
store values to array | |
void | clear () |
Clears an array, making it empty. | |
void | undef () |
Undefines this value. | |
void | extend (I32 n) |
Pre-extend an array. | |
void | dump () |
dump value | |
void | refcnt_inc () |
increment the reference counter for this value | |
void | refcnt_dec () |
decrement the reference counter for this value | |
int | refcnt () |
get a reference count | |
bool | is_true () |
Reference * | reference () |
get a reference of this value | |
Protected Member Functions | |
Array (AV *_a) | |
Protected Attributes | |
SV * | val |
Friends | |
class | Reference |
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
int pl::Value::refcnt | ( | ) | [inline, inherited] |
get a reference count