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

#include <environment.h>

Public Member Functions

 environment ()
 
 environment (const char *)
 
 environment (const environment &)
 
virtual ~environment ()
 
void copy (const environment &)
 
void setName (char *)
 
char * getName (void)
 
void print (bool all=false)
 
void setDefinitions (struct definition_t *d)
 
struct definition_tgetDefinitions (void)
 
void copyVariables (variable *)
 
void deleteVariables (void)
 
void addVariable (variable *, bool pass=true)
 
variablegetVariable (char *)
 
void setChecker (eqn::checker *c)
 
eqn::checkergetChecker (void)
 
void setSolver (eqn::solver *s)
 
eqn::solvergetSolver (void)
 
int equationChecker (int noundefined=1)
 
int equationSolver (dataset *)
 
int runSolver (void)
 
void equationSolver (void)
 
vector getVector (char *)
 
void setDoubleConstant (char *, nr_double_t)
 
nr_double_t getDoubleConstant (char *)
 
void setDouble (char *, nr_double_t)
 
nr_double_t getDouble (char *)
 
void setDoubleReference (char *, char *)
 
char * getDoubleReference (char *)
 
void updateReferences (environment *)
 
void passConstants (void)
 
void fetchConstants (void)
 
variablefindValue (char *)
 
void setValue (char *, eqn::constant *)
 
void saveResults (void)
 
void delChild (environment *)
 
void addChild (environment *)
 

Detailed Description

Definition at line 34 of file environment.h.

Constructor & Destructor Documentation

environment::environment ( )

Definition at line 41 of file environment.cpp.

environment::environment ( const char *  n)

Definition at line 52 of file environment.cpp.

environment::environment ( const environment e)

Definition at line 64 of file environment.cpp.

Here is the call graph for this function:

environment::~environment ( )
virtual

Definition at line 90 of file environment.cpp.

Here is the call graph for this function:

Member Function Documentation

void environment::addChild ( environment child)

Definition at line 216 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::addVariable ( variable var,
bool  pass = true 
)

Definition at line 173 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::copy ( const environment e)

Definition at line 76 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::copyVariables ( variable org)

Definition at line 122 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::delChild ( environment child)

Definition at line 221 of file environment.cpp.

Here is the call graph for this function:

void environment::deleteVariables ( void  )

Definition at line 152 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int environment::equationChecker ( int  noundefined = 1)

Definition at line 191 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int environment::equationSolver ( dataset data)

Definition at line 197 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::equationSolver ( void  )

Definition at line 208 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::fetchConstants ( void  )

Definition at line 265 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

variable * environment::findValue ( char *  n)

Definition at line 284 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

eqn::checker* environment::getChecker ( void  )
inline

Definition at line 56 of file environment.h.

Here is the caller graph for this function:

struct definition_t* environment::getDefinitions ( void  )
inlineread

Definition at line 46 of file environment.h.

nr_double_t environment::getDouble ( char *  ident)

Definition at line 357 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_double_t environment::getDoubleConstant ( char *  ident)

Definition at line 367 of file environment.cpp.

Here is the call graph for this function:

char * environment::getDoubleReference ( char *  ident)

Definition at line 386 of file environment.cpp.

Here is the call graph for this function:

char * environment::getName ( void  )

Definition at line 116 of file environment.cpp.

Here is the caller graph for this function:

eqn::solver* environment::getSolver ( void  )
inline

Definition at line 58 of file environment.h.

variable * environment::getVariable ( char *  n)

Definition at line 181 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector environment::getVector ( char *  ident)

Definition at line 352 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::passConstants ( void  )

Definition at line 255 of file environment.cpp.

Here is the call graph for this function:

void environment::print ( bool  all = false)

Definition at line 418 of file environment.cpp.

Here is the call graph for this function:

int environment::runSolver ( void  )

Definition at line 228 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::saveResults ( void  )

Definition at line 319 of file environment.cpp.

Here is the call graph for this function:

void environment::setChecker ( eqn::checker c)
inline

Definition at line 55 of file environment.h.

void environment::setDefinitions ( struct definition_t d)
inline

Definition at line 45 of file environment.h.

Here is the caller graph for this function:

void environment::setDouble ( char *  ident,
nr_double_t  val 
)

Definition at line 362 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::setDoubleConstant ( char *  ident,
nr_double_t  val 
)

Definition at line 377 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::setDoubleReference ( char *  ident,
char *  val 
)

Definition at line 396 of file environment.cpp.

Here is the call graph for this function:

void environment::setName ( char *  n)

Definition at line 110 of file environment.cpp.

void environment::setSolver ( eqn::solver s)
inline

Definition at line 57 of file environment.h.

void environment::setValue ( char *  ,
eqn::constant  
)

Definition at line 295 of file environment.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void environment::updateReferences ( environment up)

Definition at line 338 of file environment.cpp.

Here is the call graph for this function:


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