#include <struct_asign.h>
Public Member Functions | |
virtual | ~rpt_expr_struct_assign () |
Static Public Member Functions | |
static rpt_expr::pointer | create (const nstring &name, const rpt_expr::pointer &value) |
Protected Member Functions | |
const char * | name () const |
rpt_value::pointer | evaluate () const |
Private Member Functions | |
rpt_expr_struct_assign (const nstring &name, const rpt_expr::pointer &value) | |
rpt_expr_struct_assign () | |
rpt_expr_struct_assign (const rpt_expr_struct_assign &) | |
rpt_expr_struct_assign & | operator= (const rpt_expr_struct_assign &) |
Definition at line 29 of file struct_asign.h.
virtual rpt_expr_struct_assign::~rpt_expr_struct_assign | ( | ) | [virtual] |
The destructor.
rpt_expr_struct_assign::rpt_expr_struct_assign | ( | const nstring & | name, | |
const rpt_expr::pointer & | value | |||
) | [private] |
The constructor. It's private on purpose, use the "create" class method instead.
name | The name of the struct member | |
value | The value of the struct member |
rpt_expr_struct_assign::rpt_expr_struct_assign | ( | ) | [private] |
The default constructor. Do not use.
rpt_expr_struct_assign::rpt_expr_struct_assign | ( | const rpt_expr_struct_assign & | ) | [private] |
The copy constructor. Do not use.
static rpt_expr::pointer rpt_expr_struct_assign::create | ( | const nstring & | name, | |
const rpt_expr::pointer & | value | |||
) | [static] |
The create class method is used to create new dynamically allocated isnatnces of this class.
name | The name of the struct member | |
value | The value of the struct member |
const char* rpt_expr_struct_assign::name | ( | ) | const [protected] |
rpt_value::pointer rpt_expr_struct_assign::evaluate | ( | ) | const [protected, virtual] |
The evaluate method may be used to calculate the value of the expression syntax tree.
Implements rpt_expr.
rpt_expr_struct_assign& rpt_expr_struct_assign::operator= | ( | const rpt_expr_struct_assign & | ) | [private] |
The assignment operator. Do not use.