My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
eqn::constant Class Reference

#include <equation.h>

Inheritance diagram for eqn::constant:
Inheritance graph
[legend]
Collaboration diagram for eqn::constant:
Collaboration graph
[legend]

Public Member Functions

 constant ()
 
 constant (int)
 
 constant (const constant &)
 
 ~constant ()
 
void print (void)
 
int evalType (void)
 
char * toString (void)
 
constantevaluate (void)
 
nodedifferentiate (char *)
 
noderecreate (void)
 
- Public Member Functions inherited from eqn::node
 node ()
 
 node (int)
 
 node (const node &)
 
virtual ~node ()
 
nodegetNext (void)
 
void setNext (node *n)
 
int count (void)
 
void append (node *)
 
void appendNodes (node *)
 
void setDependencies (strlist *)
 
strlistgetDependencies (void)
 
void setDataDependencies (strlist *)
 
strlistgetDataDependencies (void)
 
void setDropDependencies (strlist *deps)
 
void addDropDependencies (char *)
 
strlistgetDropDependencies (void)
 
void setPrepDependencies (strlist *deps)
 
void addPrepDependencies (char *)
 
void appendPrepDependencies (strlist *)
 
strlistgetPrepDependencies (void)
 
strlistrecurseDependencies (checker *, strlist *)
 
nodeget (int)
 
constantgetResult (int)
 
int getType (void)
 
int getTag (void)
 
void setType (int tag)
 
constantgetResult (void)
 
nr_double_t getResultDouble (void)
 
nr_complex_t getResultComplex (void)
 
vector getResultVector (void)
 
void setResult (constant *)
 
char * getInstance (void)
 
void setInstance (const char *)
 
void applyInstance (void)
 
constantcalculate (void)
 
strlistcollectDependencies (void)
 
strlistcollectDataDependencies (void)
 
virtual void addDependencies (strlist *)
 
virtual void replace (char *, char *)
 

Public Attributes

bool dataref
 
int type
 
union {
   nr_double_t   d
 
   nr_complex_t *   c
 
   vector *   v
 
   matrix *   m
 
   matvec *   mv
 
   char   chr
 
   char *   s
 
   range *   r
 
   bool   b
 
}; 
 
- Public Attributes inherited from eqn::node
int duplicate
 
int cycle
 
int evalPossible
 
int skip
 
char * txt
 
int evaluated
 
char * instance
 
int output
 
int dropdeps
 
solversolvee
 
checkercheckee
 

Detailed Description

Definition at line 147 of file equation.h.

Constructor & Destructor Documentation

constant::constant ( )

Definition at line 61 of file equation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

eqn::constant::constant ( int  )
eqn::constant::constant ( const constant )
constant::~constant ( )

Definition at line 120 of file equation.cpp.

Member Function Documentation

node * constant::differentiate ( char *  )
virtual

Reimplemented from eqn::node.

Definition at line 247 of file equation.cpp.

Here is the call graph for this function:

int constant::evalType ( void  )
virtual

Reimplemented from eqn::node.

Definition at line 236 of file equation.cpp.

Here is the call graph for this function:

constant * constant::evaluate ( void  )
virtual

Reimplemented from eqn::node.

Definition at line 241 of file equation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void constant::print ( void  )
virtual

Reimplemented from eqn::node.

Definition at line 147 of file equation.cpp.

Here is the call graph for this function:

node * constant::recreate ( void  )
virtual

Reimplemented from eqn::node.

Definition at line 115 of file equation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

char * constant::toString ( void  )
virtual

Reimplemented from eqn::node.

Definition at line 166 of file equation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

union { ... }
bool eqn::constant::b

Definition at line 173 of file equation.h.

nr_complex_t* eqn::constant::c

Definition at line 166 of file equation.h.

char eqn::constant::chr

Definition at line 170 of file equation.h.

nr_double_t eqn::constant::d

Definition at line 165 of file equation.h.

bool eqn::constant::dataref

Definition at line 162 of file equation.h.

matrix* eqn::constant::m

Definition at line 168 of file equation.h.

matvec* eqn::constant::mv

Definition at line 169 of file equation.h.

range* eqn::constant::r

Definition at line 172 of file equation.h.

char* eqn::constant::s

Definition at line 171 of file equation.h.

int eqn::constant::type

Definition at line 163 of file equation.h.

vector* eqn::constant::v

Definition at line 167 of file equation.h.


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