pl::Array Class Reference

array(AV) More...

#include <bindpp.h>

Inheritance diagram for pl::Array:

pl::Value

List of all members.

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)
Scalarpop ()
 pops value from the array
Scalarshift ()
 shifts value from the array
Referencefetch (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>
Scalarstore (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 ()
Referencereference ()
 get a reference of this value

Protected Member Functions

 Array (AV *_a)

Protected Attributes

SV * val

Friends

class Reference


Detailed Description

array(AV)

Member Function Documentation

void pl::Value::dump (  )  [inline, inherited]

dump value

See also:
sv_dump()

void pl::Value::refcnt_inc (  )  [inline, inherited]

increment the reference counter for this value

See also:
SvREFCNT_inc

void pl::Value::refcnt_dec (  )  [inline, inherited]

decrement the reference counter for this value

See also:
SvREFCNT_dec

int pl::Value::refcnt (  )  [inline, inherited]

get a reference count

See also:
SvREFCNT


The documentation for this class was generated from the following file:

Generated on Sun Mar 29 18:26:27 2009 for Devel::BindPP by  doxygen 1.5.6