Logo Search packages:      
Sourcecode: parser version File versions  Download package

VMail Class Reference

#include <pa_vmail.h>

Inheritance diagram for VMail:

VStateless_class Value PA_Allocated

List of all members.


Detailed Description

$mail:received letter

Definition at line 29 of file pa_vmail.h.


Public Member Functions

virtual void add_method (const String &name, Method &method)
 virtual for VClass to override to pre-cache property accessors into fields
void add_native_method (const char *cstr_name, Method::Call_type call_type, NativeCodePtr native_code, int min_numbered_params_count, int max_numbered_params_count)
virtual Valueas (const char *atype, bool)
virtual bool as_bool () const
 extract bool
virtual double as_double () const
 extract double
override Valueas_expr_result (bool)
 what's the meaning of this value in context of expression?
virtual int as_int () const
 extract integer
const Stringas_string ()
virtual VFileas_vfile (String::Language lang=String::L_UNSPECIFIED, const Request_charsets *charsets=0)
 extract file
override Valuebase ()
 VStateless_class: fbase.
VStateless_classbase_class ()
virtual Valuebase_object ()
virtual Valuecreate_new_value (Pool &, HashStringValue &)
bool derived_from (VStateless_class &vclass)
void fill_received (Request &r)
override VStateless_classget_class ()
 VStateless_class: this.
override Valueget_default_getter (Value &aself, const String &aname)
override VJunctionget_default_setter (Value &aself, const String &aname)
Valueget_element (const String &aname, Value &aself, bool)
 VStateless_class: $CLASS, $CLASS_NAME, $method.
virtual HashStringValueget_hash ()
virtual Junctionget_junction ()
 extract Junction
virtual VStateless_classget_last_derived_class ()
 extract VStateless_class
Methodget_method (const String &aname) const
virtual Propertyget_property ()
 extract Property
override Valueget_scalar (Value &aself)
virtual const Stringget_string ()
 extract const String
virtual Tableget_table ()
 extract VTable
bool is (const char *atype)
 type checking helper, uses Value::as
virtual bool is_bool () const
 is this value bool?
virtual bool is_defined () const
 is this value defined?
virtual bool is_evaluated_expr () const
 is this value number?
bool is_partial ()
virtual bool is_string () const
 is this value string?
bool is_vars_local ()
virtual bool is_void () const
 is this value void?
void lock ()
const Stringmessage_hash_to_string (Request &r, HashStringValue *message_hash, int level, const String *&from, bool extract_to, String *&to)
const Stringname () const
const char * name_cstr () const
virtual const VJunctionput_element (Value &, const String &aname, Value *, bool)
void set_all_vars_local ()
void set_base (VStateless_class *abase)
override void set_default_getter (Method *amethod)
override void set_default_setter (Method *amethod)
virtual VObjectset_derived (VObject *)
void set_name (const String &aname)
void set_partial ()
override void set_scalar (Method *amethod)
override const char * type () const
 value type, used for error reporting and 'is' expression operator
just stubs, real onces defined below the hierarchy
virtual Valueget_field (const String &)
virtual bool replace_field (const String &, Value *)

Static Public Member Functions

static void free (void *ptr)
static void * malloc (size_t size)
static void * malloc_atomic (size_t size)
static void operator delete (void *ptr)
static void * operator new (size_t size)
 the sole: instances allocated using our functions
static void * realloc (void *ptr, size_t size)
static char * strdup (const char *auto_variable_never_null, size_t helper_length=0)

Protected Member Functions

Valuebark (const char *reason, const String *problem_source=0) const
 throws exception specifying bark-reason and name() type() of problematic value
void fill_properties (HashStringValue &acache)

Protected Attributes

VStateless_classfbase
Methodfdefault_getter
Methodfdefault_setter
Methodfscalar

Private Attributes

VHash vreceived

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

Generated by  Doxygen 1.6.0   Back to index