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

#include <equation.h>

Public Member Functions

 checker ()
 
 ~checker ()
 
void collectDependencies (void)
 
void collectDependencies (node *)
 
void setEquations (node *)
 
nodegetEquations (void)
 
void list (void)
 
int findUndefined (int)
 
strlist * getVariables (void)
 
int findDuplicate (void)
 
int detectCycles (void)
 
nodeappendEquation (node *, node *)
 
void dropEquation (node *)
 
void reorderEquations (void)
 
int applyTypes (void)
 
int checkExport (void)
 
void constants (void)
 
int check (int noundefined=1)
 
strlist * variables (void)
 
nodeaddDouble (const char *, const char *, nr_double_t)
 
nodecreateDouble (const char *, const char *, nr_double_t)
 
nodeaddComplex (const char *, const char *, nr_complex_t)
 
nodecreateComplex (const char *, const char *, nr_complex_t)
 
nodeaddReference (const char *, const char *, char *)
 
nodecreateReference (const char *, const char *, char *)
 
void appendEquation (node *)
 
void addEquation (node *)
 
nodefindEquation (char *)
 
bool containsVariable (char *)
 
nr_double_t getDouble (char *)
 
void setDouble (char *, nr_double_t)
 
qucs::vector getVector (char *)
 
void setDefinitions (struct definition_t *d)
 
struct definition_tgetDefinitions (void)
 
nodefindProperty (char *)
 
 checker ()
 
 ~checker ()
 
void collectDependencies (void)
 
void collectDependencies (node *)
 
void setEquations (node *)
 
nodegetEquations (void)
 
void list (void)
 
int findUndefined (int)
 
strlist * getVariables (void)
 
int findDuplicate (void)
 
int detectCycles (void)
 
nodeappendEquation (node *, node *)
 
void dropEquation (node *)
 
void reorderEquations (void)
 
int applyTypes (void)
 
int checkExport (void)
 
void constants (void)
 
int check (int noundefined=1)
 
strlist * variables (void)
 
nodeaddDouble (const char *, const char *, nr_double_t)
 
nodecreateDouble (const char *, const char *, nr_double_t)
 
nodeaddComplex (const char *, const char *, nr_complex_t)
 
nodecreateComplex (const char *, const char *, nr_complex_t)
 
nodeaddReference (const char *, const char *, char *)
 
nodecreateReference (const char *, const char *, char *)
 
void appendEquation (node *)
 
void addEquation (node *)
 
nodefindEquation (char *)
 
bool containsVariable (char *)
 
nr_double_t getDouble (char *)
 
void setDouble (char *, nr_double_t)
 
qucs::vector getVector (char *)
 
void setDefinitions (struct definition_t *d)
 
struct definition_tgetDefinitions (void)
 
nodefindProperty (char *)
 

Static Public Member Functions

static const char * tag2key (int)
 
static int isGenerated (char *)
 
static nodefindEquation (node *, char *)
 
static strlist * foldDependencies (strlist *)
 
static nodelastEquation (node *)
 
static const char * tag2key (int)
 
static int isGenerated (char *)
 
static nodefindEquation (node *, char *)
 
static strlist * foldDependencies (strlist *)
 
static nodelastEquation (node *)
 

Data Fields

nodeequations
 

Private Attributes

bool consts
 
struct definition_tdefs
 

Detailed Description

Definition at line 270 of file equation.h.

Constructor & Destructor Documentation

qucs::checker::checker ( )

Definition at line 1375 of file equation.cpp.

qucs::checker::~checker ( )

Definition at line 1383 of file equation.cpp.

qucs::eqn::checker::checker ( )
qucs::eqn::checker::~checker ( )

Member Function Documentation

node * qucs::checker::addComplex ( const char *  type,
const char *  ident,
nr_complex_t  value 
)

Definition at line 2500 of file equation.cpp.

node* qucs::eqn::checker::addComplex ( const char *  ,
const char *  ,
nr_complex_t   
)
node * qucs::checker::addDouble ( const char *  type,
const char *  ident,
nr_double_t  value 
)

Definition at line 2490 of file equation.cpp.

node* qucs::eqn::checker::addDouble ( const char *  ,
const char *  ,
nr_double_t   
)
void qucs::eqn::checker::addEquation ( node )
void qucs::checker::addEquation ( node eqn)

Definition at line 2509 of file equation.cpp.

node* qucs::eqn::checker::addReference ( const char *  ,
const char *  ,
char *   
)
node * qucs::checker::addReference ( const char *  type,
const char *  ident,
char *  value 
)

Definition at line 2480 of file equation.cpp.

node * qucs::checker::appendEquation ( node root,
node last 
)

Definition at line 1732 of file equation.cpp.

node* qucs::eqn::checker::appendEquation ( node ,
node  
)
void qucs::eqn::checker::appendEquation ( node )
void qucs::checker::appendEquation ( node eqn)

Definition at line 2516 of file equation.cpp.

int qucs::checker::applyTypes ( void  )

Definition at line 1823 of file equation.cpp.

int qucs::eqn::checker::applyTypes ( void  )
int qucs::checker::check ( int  noundefined = 1)

Definition at line 1845 of file equation.cpp.

int qucs::eqn::checker::check ( int  noundefined = 1)
int qucs::checker::checkExport ( void  )

Definition at line 1420 of file equation.cpp.

int qucs::eqn::checker::checkExport ( void  )
void qucs::eqn::checker::collectDependencies ( void  )
void qucs::checker::collectDependencies ( void  )

Definition at line 1400 of file equation.cpp.

void qucs::checker::collectDependencies ( node eqn)

Definition at line 1409 of file equation.cpp.

void qucs::eqn::checker::collectDependencies ( node )
void qucs::checker::constants ( void  )

Definition at line 2462 of file equation.cpp.

void qucs::eqn::checker::constants ( void  )
bool qucs::checker::containsVariable ( char *  ident)

Definition at line 2433 of file equation.cpp.

bool qucs::eqn::checker::containsVariable ( char *  )
node* qucs::eqn::checker::createComplex ( const char *  ,
const char *  ,
nr_complex_t   
)
node * qucs::checker::createComplex ( const char *  type,
const char *  ident,
nr_complex_t  value 
)

Definition at line 2547 of file equation.cpp.

node * qucs::checker::createDouble ( const char *  type,
const char *  ident,
nr_double_t  value 
)

Definition at line 2528 of file equation.cpp.

node* qucs::eqn::checker::createDouble ( const char *  ,
const char *  ,
nr_double_t   
)
node* qucs::eqn::checker::createReference ( const char *  ,
const char *  ,
char *   
)
node * qucs::checker::createReference ( const char *  type,
const char *  ident,
char *  value 
)

Definition at line 2566 of file equation.cpp.

int qucs::eqn::checker::detectCycles ( void  )
int qucs::checker::detectCycles ( void  )

Definition at line 1692 of file equation.cpp.

void qucs::eqn::checker::dropEquation ( node )
void qucs::checker::dropEquation ( node eqn)

Definition at line 1753 of file equation.cpp.

int qucs::checker::findDuplicate ( void  )

Definition at line 1633 of file equation.cpp.

int qucs::eqn::checker::findDuplicate ( void  )
node * qucs::checker::findEquation ( node root,
char *  n 
)
static

Definition at line 1670 of file equation.cpp.

static node* qucs::eqn::checker::findEquation ( node ,
char *   
)
static
node* qucs::eqn::checker::findEquation ( char *  )
node * qucs::checker::findEquation ( char *  n)

Definition at line 1681 of file equation.cpp.

node* qucs::eqn::checker::findProperty ( char *  )
node * qucs::checker::findProperty ( char *  var)

Definition at line 1562 of file equation.cpp.

int qucs::eqn::checker::findUndefined ( int  )
int qucs::checker::findUndefined ( int  noundefined)

Definition at line 1513 of file equation.cpp.

static strlist* qucs::eqn::checker::foldDependencies ( strlist *  )
static
strlist * qucs::checker::foldDependencies ( strlist *  deps)
static

Definition at line 1719 of file equation.cpp.

struct definition_t* qucs::eqn::checker::getDefinitions ( void  )
inline

Definition at line 311 of file parse_netlist.y.

struct definition_t* qucs::eqn::checker::getDefinitions ( void  )
inline

Definition at line 311 of file equation.h.

nr_double_t qucs::checker::getDouble ( char *  ident)

Definition at line 2586 of file equation.cpp.

nr_double_t qucs::eqn::checker::getDouble ( char *  )
node* qucs::eqn::checker::getEquations ( void  )
inline

Definition at line 278 of file equation.h.

node* qucs::eqn::checker::getEquations ( void  )
inline

Definition at line 278 of file parse_netlist.y.

strlist* qucs::eqn::checker::getVariables ( void  )
strlist * qucs::checker::getVariables ( void  )

Definition at line 1620 of file equation.cpp.

qucs::vector qucs::checker::getVector ( char *  ident)

Definition at line 2618 of file equation.cpp.

qucs::vector qucs::eqn::checker::getVector ( char *  )
static int qucs::eqn::checker::isGenerated ( char *  )
static
int qucs::checker::isGenerated ( char *  var)
static

Definition at line 1496 of file equation.cpp.

static node* qucs::eqn::checker::lastEquation ( node )
static
node * qucs::checker::lastEquation ( node root)
static

Definition at line 1745 of file equation.cpp.

void qucs::eqn::checker::list ( void  )
void qucs::checker::list ( void  )

Definition at line 1473 of file equation.cpp.

void qucs::checker::reorderEquations ( void  )

Definition at line 1770 of file equation.cpp.

void qucs::eqn::checker::reorderEquations ( void  )
void qucs::eqn::checker::setDefinitions ( struct definition_t d)
inline

Definition at line 310 of file parse_netlist.y.

void qucs::eqn::checker::setDefinitions ( struct definition_t d)
inline

Definition at line 310 of file equation.h.

void qucs::eqn::checker::setDouble ( char *  ,
nr_double_t   
)
void qucs::checker::setDouble ( char *  ident,
nr_double_t  val 
)

Definition at line 2600 of file equation.cpp.

void qucs::checker::setEquations ( node eqns)

Definition at line 1812 of file equation.cpp.

void qucs::eqn::checker::setEquations ( node )
static const char* qucs::eqn::checker::tag2key ( int  )
static
static const char* qucs::eqn::checker::tag2key ( int  )
static
strlist* qucs::eqn::checker::variables ( void  )
strlist * qucs::checker::variables ( void  )

Definition at line 2422 of file equation.cpp.

Field Documentation

bool qucs::eqn::checker::consts
private

Definition at line 318 of file equation.h.

struct definition_t * qucs::eqn::checker::defs
private

Definition at line 319 of file equation.h.

node * qucs::eqn::checker::equations

Definition at line 315 of file equation.h.


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