#include <bindpp.h>

Public Member Functions | |
| Reference * | fetch (const char *key) |
| fetch the value of hash | |
| bool | exists (const char *key) |
| exists(a, $key) | |
| bool | exists (const char *key, I32 klen) |
| exists(a, $key) | |
| Reference * | del (const char *key) |
| remove the key in hash | |
| Reference * | del (const char *key, I32 klen) |
| remove the key in hash | |
| template<class T> | |
| void | store (const char *key, T value) |
| store value to hash | |
| template<class T> | |
| void | store (const char *key, I32 klen, T value) |
| store value to hash | |
| Scalar * | scalar () |
| Evaluates the hash in scalar context and returns the result. | |
| void | undef () |
| Undefines the hash. | |
| void | clear () |
| Clears a hash, making it empty. | |
| 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 | |
| Hash (HV *_h) | |
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
1.5.6