Qucs-core  0.0.19
Data Structures | Public Member Functions | Private Attributes
qucs::variable Class Reference

#include <variable.h>

Collaboration diagram for qucs::variable:
Collaboration graph
[legend]

Data Structures

union  value_t

Public Member Functions

 variable ()
 variable (const char *const n)
 variable (const variable &)
virtual ~variable ()
void setName (const char *const n)
 Sets the name of the variable.
const char * getName (void) const
 Returns the name of the variable.
void setNext (variable *const v)
variablegetNext (void) const
void setType (const int t)
int getType (void) const
void setConstant (eqn::constant *const c)
eqn::constant * getConstant (void) const
void setReference (eqn::reference *const r)
eqn::reference * getReference (void) const
void setSubstrate (substrate *const s)
substrategetSubstrate (void)
void setValue (eqn::constant *const v)
eqn::constant * getValue (void)
void setAnalysis (analysis *const a)
analysis * getAnalysis (void) const
const char * toString (void)
void setPassing (const bool p)
bool getPassing (void) const

Private Attributes

std::string name
bool pass
int type
union qucs::variable::value_t value
variablenext

Detailed Description

Definition at line 58 of file variable.h.


Constructor & Destructor Documentation

qucs::variable::variable ( )

Definition at line 42 of file variable.cpp.

qucs::variable::variable ( const char *const  n)

Definition at line 49 of file variable.cpp.

qucs::variable::variable ( const variable o)

Definition at line 58 of file variable.cpp.

virtual qucs::variable::~variable ( ) [virtual]

Member Function Documentation

analysis* qucs::variable::getAnalysis ( void  ) const [inline]

Definition at line 90 of file variable.h.

eqn::constant* qucs::variable::getConstant ( void  ) const [inline]

Definition at line 82 of file variable.h.

const char* qucs::variable::getName ( void  ) const [inline]

Returns the name of the variable.

Definition at line 72 of file variable.h.

variable* qucs::variable::getNext ( void  ) const [inline]

Definition at line 76 of file variable.h.

bool qucs::variable::getPassing ( void  ) const [inline]

Definition at line 93 of file variable.h.

eqn::reference* qucs::variable::getReference ( void  ) const [inline]

Definition at line 84 of file variable.h.

substrate* qucs::variable::getSubstrate ( void  ) [inline]

Definition at line 86 of file variable.h.

int qucs::variable::getType ( void  ) const [inline]

Definition at line 79 of file variable.h.

eqn::constant* qucs::variable::getValue ( void  ) [inline]

Definition at line 88 of file variable.h.

void qucs::variable::setAnalysis ( analysis *const  a) [inline]

Definition at line 89 of file variable.h.

void qucs::variable::setConstant ( eqn::constant *const  c) [inline]

Definition at line 81 of file variable.h.

void qucs::variable::setName ( const char *const  n) [inline]

Sets the name of the variable.

Definition at line 67 of file variable.h.

void qucs::variable::setNext ( variable *const  v) [inline]

Definition at line 75 of file variable.h.

void qucs::variable::setPassing ( const bool  p) [inline]

Definition at line 92 of file variable.h.

void qucs::variable::setReference ( eqn::reference *const  r) [inline]

Definition at line 83 of file variable.h.

void qucs::variable::setSubstrate ( substrate *const  s) [inline]

Definition at line 85 of file variable.h.

void qucs::variable::setType ( const int  t) [inline]

Definition at line 78 of file variable.h.

void qucs::variable::setValue ( eqn::constant *const  v) [inline]

Definition at line 87 of file variable.h.

const char * qucs::variable::toString ( void  )

Definition at line 68 of file variable.cpp.


Field Documentation

std::string qucs::variable::name [private]

Definition at line 96 of file variable.h.

Definition at line 106 of file variable.h.

bool qucs::variable::pass [private]

Definition at line 97 of file variable.h.

Definition at line 98 of file variable.h.

union qucs::variable::value_t qucs::variable::value [private]

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