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

#include <variable.h>

Data Structures

union  value_t
 

Public Member Functions

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

Private Attributes

char * name
 
char * text
 
bool pass
 
int type
 
union qucs::variable::value_t value
 
variablenext
 

Detailed Description

Definition at line 54 of file variable.h.

Constructor & Destructor Documentation

qucs::variable::variable ( )

Definition at line 42 of file variable.cpp.

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

Definition at line 51 of file variable.cpp.

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

Definition at line 61 of file variable.cpp.

qucs::variable::~variable ( )
virtual

Destructor deletes an instance of the variable class.

Definition at line 71 of file variable.cpp.

Member Function Documentation

analysis* qucs::variable::getAnalysis ( void  )
inline

Definition at line 77 of file variable.h.

eqn::constant* qucs::variable::getConstant ( void  )
inline

Definition at line 69 of file variable.h.

char * qucs::variable::getName ( void  )

Definition at line 83 of file variable.cpp.

variable* qucs::variable::getNext ( void  )
inline

Definition at line 64 of file variable.h.

bool qucs::variable::getPassing ( void  )
inline

Definition at line 80 of file variable.h.

eqn::reference* qucs::variable::getReference ( void  )
inline

Definition at line 71 of file variable.h.

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

Definition at line 73 of file variable.h.

int qucs::variable::getType ( void  )
inline

Definition at line 67 of file variable.h.

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

Definition at line 75 of file variable.h.

void qucs::variable::setAnalysis ( analysis *  a)
inline

Definition at line 76 of file variable.h.

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

Definition at line 68 of file variable.h.

void qucs::variable::setName ( char *  n)

Definition at line 77 of file variable.cpp.

void qucs::variable::setNext ( variable v)
inline

Definition at line 63 of file variable.h.

void qucs::variable::setPassing ( bool  p)
inline

Definition at line 79 of file variable.h.

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

Definition at line 70 of file variable.h.

void qucs::variable::setSubstrate ( substrate s)
inline

Definition at line 72 of file variable.h.

void qucs::variable::setType ( int  t)
inline

Definition at line 66 of file variable.h.

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

Definition at line 74 of file variable.h.

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

Definition at line 88 of file variable.cpp.

Field Documentation

char* qucs::variable::name
private

Definition at line 83 of file variable.h.

variable* qucs::variable::next
private

Definition at line 94 of file variable.h.

bool qucs::variable::pass
private

Definition at line 85 of file variable.h.

char* qucs::variable::text
private

Definition at line 84 of file variable.h.

int qucs::variable::type
private

Definition at line 86 of file variable.h.

union qucs::variable::value_t qucs::variable::value
private

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