CVar Class Reference

#include <mathexpr_c.h>

List of all members.

Public Member Functions

 CVar (const CVar &)
 CVar (const char *, double_complex *)
 ~CVar ()

Public Attributes

char * name
double_complex * pval

Friends

int operator== (const CVar &, const CVar &)


Detailed Description

Definition at line 61 of file mathexpr_c.h.


Constructor & Destructor Documentation

CVar::CVar ( const CVar rvarp  ) 

Definition at line 85 of file mathexpr_c.cpp.

References CopyStr(), name, and pval.

00086 {if(this==&rvarp)return;pval=rvarp.pval;name=CopyStr(rvarp.name);
00087 }

Here is the call graph for this function:

CVar::CVar ( const char *  namep,
double_complex *  pvalp 
)

Definition at line 89 of file mathexpr_c.cpp.

References CopyStr(), double_complex, name, and pval.

00090 {pval=(double_complex*)pvalp;name=CopyStr(namep);}

Here is the call graph for this function:

CVar::~CVar (  ) 

Definition at line 92 of file mathexpr_c.cpp.

References name, and NULL.

00093 {if(name!=NULL)delete[] name;}


Friends And Related Function Documentation

int operator== ( const CVar var1,
const CVar var2 
) [friend]

Definition at line 726 of file mathexpr_c.cpp.

00727 {return(var1.pval==var2.pval&&EqStr(var1.name,var2.name));
00728 }


Member Data Documentation

char* CVar::name

Definition at line 63 of file mathexpr_c.h.

Referenced by COperation::ContainVar(), CVar(), COperation::Expr(), operator==(), and ~CVar().

double_complex* CVar::pval

Definition at line 63 of file mathexpr_c.h.

Referenced by COperation::ContainVar(), COperation::COperation(), CVar(), operator==(), and CFunction::Val().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:21:10 2008 for Armagetron Advanced by  doxygen 1.5.4