|
Qucs-core
0.0.19
|
Houses the settings for netlist evaluation. More...
#include <environment.h>

Public Member Functions | |
| environment () | |
| environment (const std::string &p_name) | |
| environment (const environment &) | |
| virtual | ~environment () |
| void | copy (const environment &) |
| void | setName (char *) |
| void | print (const bool all=false) const |
| Prints the environment. | |
| void | setDefinitions (struct definition_t *const d) |
| struct definition_t * | getDefinitions (void) const |
| void | copyVariables (variable *) |
| void | deleteVariables (void) |
| void | addVariable (variable *const, const bool pass=true) |
| variable * | getVariable (const char *const) const |
| void | setChecker (eqn::checker *c) |
| eqn::checker * | getChecker (void) |
| void | setSolver (eqn::solver *s) |
| eqn::solver * | getSolver (void) |
| int | equationChecker (const int noundefined=1) const |
| int | equationSolver (dataset *const) |
| int | runSolver (void) |
| void | equationSolver (void) |
| qucs::vector | getVector (const char *const) const |
| void | setDoubleConstant (const char *const, const nr_double_t) |
| nr_double_t | getDoubleConstant (const char *const) const |
| void | setDouble (const char *const , nr_double_t) |
| nr_double_t | getDouble (const char *const) const |
| void | setDoubleReference (const char *const, char *) |
| char * | getDoubleReference (const char *const) const |
| void | updateReferences (environment *) |
| void | passConstants (void) |
| void | fetchConstants (void) |
| variable * | findValue (char *) |
| void | setValue (char *, eqn::constant *) |
| void | saveResults (void) |
| void | push_front_Child (environment *child) |
| void | remove_Child (environment *child) |
| void | setName (const std::string &p_name) |
| const std::string & | getName (void) const |
Private Attributes | |
| std::string | name |
| variable * | root |
| eqn::checker * | checkee |
| eqn::solver * | solvee |
| std::list< environment * > | children |
| bool | iscopy |
| struct definition_t * | defs |
Houses the settings for netlist evaluation.
The environment class holds information and pointers to the classes and methods used to evaluate a netlist.
Definition at line 54 of file environment.h.
| qucs::environment::environment | ( | ) |
Definition at line 46 of file environment.cpp.
| qucs::environment::environment | ( | const std::string & | p_name | ) |
Definition at line 59 of file environment.cpp.
| qucs::environment::environment | ( | const environment & | e | ) |
Definition at line 72 of file environment.cpp.
| qucs::environment::~environment | ( | ) | [virtual] |
Definition at line 96 of file environment.cpp.
| void qucs::environment::addVariable | ( | variable * const | var, |
| const bool | pass = true |
||
| ) |
Definition at line 168 of file environment.cpp.
| void qucs::environment::copy | ( | const environment & | e | ) |
Definition at line 84 of file environment.cpp.
| void qucs::environment::copyVariables | ( | variable * | org | ) |
Definition at line 117 of file environment.cpp.
| void qucs::environment::deleteVariables | ( | void | ) |
Definition at line 147 of file environment.cpp.
Definition at line 186 of file environment.cpp.
Definition at line 192 of file environment.cpp.
| void qucs::environment::equationSolver | ( | void | ) |
Definition at line 203 of file environment.cpp.
| void qucs::environment::fetchConstants | ( | void | ) |
Definition at line 251 of file environment.cpp.
| variable * qucs::environment::findValue | ( | char * | n | ) |
Definition at line 270 of file environment.cpp.
| eqn::checker* qucs::environment::getChecker | ( | void | ) | [inline] |
Definition at line 75 of file environment.h.
| struct definition_t* qucs::environment::getDefinitions | ( | void | ) | const [inline, read] |
Definition at line 65 of file environment.h.
| nr_double_t qucs::environment::getDouble | ( | const char * const | ident | ) | const |
Definition at line 343 of file environment.cpp.
| nr_double_t qucs::environment::getDoubleConstant | ( | const char * const | ident | ) | const |
Definition at line 353 of file environment.cpp.
| char * qucs::environment::getDoubleReference | ( | const char * const | ident | ) | const |
Definition at line 372 of file environment.cpp.
| const std::string& qucs::environment::getName | ( | void | ) | const [inline] |
Returns the name of the environment.
Definition at line 114 of file environment.h.
| eqn::solver* qucs::environment::getSolver | ( | void | ) | [inline] |
Definition at line 77 of file environment.h.
| variable * qucs::environment::getVariable | ( | const char * const | n | ) | const |
Definition at line 176 of file environment.cpp.
| qucs::vector qucs::environment::getVector | ( | const char * const | ident | ) | const |
Definition at line 338 of file environment.cpp.
| void qucs::environment::passConstants | ( | void | ) |
Definition at line 241 of file environment.cpp.
| void qucs::environment::print | ( | const bool | all = false | ) | const |
Prints the environment.
Definition at line 404 of file environment.cpp.
| void qucs::environment::push_front_Child | ( | environment * | child | ) | [inline] |
Adds a child to the environment.
Definition at line 99 of file environment.h.
| void qucs::environment::remove_Child | ( | environment * | child | ) | [inline] |
Removes a child from the environment.
Definition at line 104 of file environment.h.
| int qucs::environment::runSolver | ( | void | ) |
Definition at line 214 of file environment.cpp.
| void qucs::environment::saveResults | ( | void | ) |
Definition at line 305 of file environment.cpp.
| void qucs::environment::setChecker | ( | eqn::checker * | c | ) | [inline] |
Definition at line 74 of file environment.h.
| void qucs::environment::setDefinitions | ( | struct definition_t *const | d | ) | [inline] |
Definition at line 64 of file environment.h.
| void qucs::environment::setDouble | ( | const char * const | ident, |
| nr_double_t | val | ||
| ) |
Definition at line 348 of file environment.cpp.
| void qucs::environment::setDoubleConstant | ( | const char * const | ident, |
| const nr_double_t | val | ||
| ) |
Definition at line 363 of file environment.cpp.
| void qucs::environment::setDoubleReference | ( | const char * const | ident, |
| char * | val | ||
| ) |
Definition at line 382 of file environment.cpp.
| void qucs::environment::setName | ( | char * | ) |
| void qucs::environment::setName | ( | const std::string & | p_name | ) | [inline] |
set the name
Definition at line 109 of file environment.h.
| void qucs::environment::setSolver | ( | eqn::solver * | s | ) | [inline] |
Definition at line 76 of file environment.h.
| void qucs::environment::setValue | ( | char * | , |
| eqn::constant * | |||
| ) |
Definition at line 281 of file environment.cpp.
| void qucs::environment::updateReferences | ( | environment * | up | ) |
Definition at line 324 of file environment.cpp.
eqn::checker* qucs::environment::checkee [private] |
Definition at line 121 of file environment.h.
std::list<environment *> qucs::environment::children [private] |
Definition at line 123 of file environment.h.
struct definition_t* qucs::environment::defs [private] |
Definition at line 125 of file environment.h.
bool qucs::environment::iscopy [private] |
Definition at line 124 of file environment.h.
std::string qucs::environment::name [private] |
Definition at line 119 of file environment.h.
variable* qucs::environment::root [private] |
Definition at line 120 of file environment.h.
eqn::solver* qucs::environment::solvee [private] |
Definition at line 122 of file environment.h.
1.7.6.1