rpt_func_sprintf Class Reference

#include <sprintf.h>

Inheritance diagram for rpt_func_sprintf:

rpt_func

Public Member Functions

virtual ~rpt_func_sprintf ()

Static Public Member Functions

static rpt_func::pointer create ()

Protected Member Functions

const char * name () const
bool optimizable () const
bool verify (const rpt_expr::pointer &ep) const
rpt_value::pointer run (const rpt_expr::pointer &ep, size_t argc, rpt_value::pointer *argv) const

Private Member Functions

 rpt_func_sprintf ()
 rpt_func_sprintf (const rpt_func_sprintf &)
rpt_func_sprintfoperator= (const rpt_func_sprintf &)

Detailed Description

The rpt_func_sprintf class is used to represent the sprintf function, callable from within the report generator.

Definition at line 30 of file sprintf.h.


Constructor & Destructor Documentation

virtual rpt_func_sprintf::~rpt_func_sprintf (  )  [virtual]

The destructor.

rpt_func_sprintf::rpt_func_sprintf (  )  [private]

The constructor. It is private on purpose, use the "create" class method instead.

rpt_func_sprintf::rpt_func_sprintf ( const rpt_func_sprintf  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_func::pointer rpt_func_sprintf::create (  )  [static]

The create class method is used to create a new dynamically allocated instance of this class.

const char* rpt_func_sprintf::name (  )  const [protected, virtual]

The name method may be used to obtain the name of the function.

Implements rpt_func.

bool rpt_func_sprintf::optimizable (  )  const [protected, virtual]

The optimizable method may be used to determine whether or not this function can be optimized.

Implements rpt_func.

bool rpt_func_sprintf::verify ( const rpt_expr::pointer ep  )  const [protected, virtual]

The verify method may be used to determine whether or not the arguments presented are valid for this function.

Parameters:
ep The list of arguments

Implements rpt_func.

rpt_value::pointer rpt_func_sprintf::run ( const rpt_expr::pointer ep,
size_t  argc,
rpt_value::pointer argv 
) const [protected, virtual]

The run method is used to evaluate the value of this function.

Parameters:
ep 
argc 
argv 

Implements rpt_func.

rpt_func_sprintf& rpt_func_sprintf::operator= ( const rpt_func_sprintf  )  [private]

The assignment operator. Do not use.


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

Generated on Wed Mar 12 23:37:43 2008 for Aegis by  doxygen 1.5.5