Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
qucs::eqn::constant Class Reference

#include <equation.h>

Inheritance diagram for qucs::eqn::constant:
qucs::eqn::node qucs::eqn::node

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)
 
 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 qucs::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 *)
 
strlist * getDependencies (void)
 
void setDataDependencies (strlist *)
 
strlist * getDataDependencies (void)
 
void setDropDependencies (strlist *deps)
 
void addDropDependencies (char *)
 
strlist * getDropDependencies (void)
 
void setPrepDependencies (strlist *deps)
 
void addPrepDependencies (char *)
 
void appendPrepDependencies (strlist *)
 
strlist * getPrepDependencies (void)
 
strlist * recurseDependencies (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)
 
qucs::vector getResultVector (void)
 
void setResult (constant *)
 
char * getInstance (void)
 
void setInstance (const char *)
 
void applyInstance (void)
 
constantcalculate (void)
 
strlist * collectDependencies (void)
 
strlist * collectDataDependencies (void)
 
virtual void addDependencies (strlist *)
 
virtual void replace (char *, char *)
 
 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 *)
 
strlist * getDependencies (void)
 
void setDataDependencies (strlist *)
 
strlist * getDataDependencies (void)
 
void setDropDependencies (strlist *deps)
 
void addDropDependencies (char *)
 
strlist * getDropDependencies (void)
 
void setPrepDependencies (strlist *deps)
 
void addPrepDependencies (char *)
 
void appendPrepDependencies (strlist *)
 
strlist * getPrepDependencies (void)
 
strlist * recurseDependencies (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)
 
qucs::vector getResultVector (void)
 
void setResult (constant *)
 
char * getInstance (void)
 
void setInstance (const char *)
 
void applyInstance (void)
 
constantcalculate (void)
 
strlist * collectDependencies (void)
 
strlist * collectDataDependencies (void)
 
virtual void addDependencies (strlist *)
 
virtual void replace (char *, char *)
 

Data Fields

bool dataref
 
int type
 
union {
   nr_double_t   d
 
   nr_complex_t *   c
 
   qucs::vector *   v
 
   matrix *   m
 
   matvec *   mv
 
   char   chr
 
   char *   s
 
   range *   r
 
   bool   b
 
}; 
 
union {
   nr_double_t   d
 
   nr_complex_t *   c
 
   qucs::vector *   v
 
   matrix *   m
 
   matvec *   mv
 
   char   chr
 
   char *   s
 
   range *   r
 
   bool   b
 
}; 
 
- Data Fields inherited from qucs::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 151 of file equation.h.

Constructor & Destructor Documentation

qucs::constant::constant ( )

Definition at line 63 of file equation.cpp.

qucs::constant::constant ( int  tag)

Definition at line 72 of file equation.cpp.

qucs::constant::constant ( const constant o)

Definition at line 82 of file equation.cpp.

qucs::constant::~constant ( )

Definition at line 127 of file equation.cpp.

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

Member Function Documentation

node * qucs::constant::differentiate ( char *  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 269 of file equation.cpp.

node* qucs::eqn::constant::differentiate ( char *  )
virtual

Reimplemented from qucs::eqn::node.

int qucs::eqn::constant::evalType ( void  )
virtual

Reimplemented from qucs::eqn::node.

int qucs::constant::evalType ( void  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 256 of file equation.cpp.

constant* qucs::eqn::constant::evaluate ( void  )
virtual

Reimplemented from qucs::eqn::node.

constant * qucs::constant::evaluate ( void  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 262 of file equation.cpp.

void qucs::constant::print ( void  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 157 of file equation.cpp.

void qucs::eqn::constant::print ( void  )
virtual

Reimplemented from qucs::eqn::node.

node * qucs::constant::recreate ( void  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 121 of file equation.cpp.

node* qucs::eqn::constant::recreate ( void  )
virtual

Reimplemented from qucs::eqn::node.

char * qucs::constant::toString ( void  )
virtual

Reimplemented from qucs::eqn::node.

Definition at line 180 of file equation.cpp.

char* qucs::eqn::constant::toString ( void  )
virtual

Reimplemented from qucs::eqn::node.

Field Documentation

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

Definition at line 177 of file equation.h.

nr_complex_t* qucs::eqn::constant::c

Definition at line 170 of file equation.h.

char qucs::eqn::constant::chr

Definition at line 174 of file equation.h.

nr_double_t qucs::eqn::constant::d

Definition at line 169 of file equation.h.

bool qucs::eqn::constant::dataref

Definition at line 166 of file equation.h.

matrix* qucs::eqn::constant::m

Definition at line 172 of file equation.h.

matvec* qucs::eqn::constant::mv

Definition at line 173 of file equation.h.

range* qucs::eqn::constant::r

Definition at line 176 of file equation.h.

char* qucs::eqn::constant::s

Definition at line 175 of file equation.h.

int qucs::eqn::constant::type

Definition at line 167 of file equation.h.

qucs::vector* qucs::eqn::constant::v

Definition at line 171 of file equation.h.


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