pl::Str Class Reference

string(PV) More...

#include <bindpp.h>

Inheritance diagram for pl::Str:

pl::Scalar pl::Value

List of all members.

Public Member Functions

 Str (std::string &_s)
 Str (const char *_s)
 Str (const char *_s, int _n)
const char * to_c ()
 convert to C level const char*
void concat (const char *s, I32 len)
 concat the string
void concat (const char *s)
void concat (Str *s)
int length ()
 get a length
Scalarmortal ()
 make this value as mortal.
SV * serialize ()
 serialize this object to real perl variable
Stras_str ()
 this variable is just a string.change the type
Intas_int ()
 this variable is just a int.change the type
UIntas_uint ()
 this variable is just a uint.change the type
Doubleas_double ()
 this variable is just a double.change the type
Pointeras_pointer ()
 this variable is just a pointer.change the type
Referenceas_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
Referencereference ()
 get a reference of this value

Protected Member Functions

 Str (SV *_s)

Protected Attributes

SV * val

Friends

class Scalar


Detailed Description

string(PV)

Member Function Documentation

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

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


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

Generated on Thu Mar 26 20:54:37 2009 for Devel::BindPP by  doxygen 1.5.6