Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Namespaces | Macros | Typedefs | Variables
circuit.h File Reference

The circuit class header file. More...

#include <map>
#include "integrator.h"
#include "valuelist.h"

Go to the source code of this file.

Data Structures

class  qucs::circuit
 base class for qucs circuit elements. More...
 

Namespaces

 qucs
 

Macros

#define NODE_1   0
 
#define NODE_2   1
 
#define NODE_3   2
 
#define NODE_4   3
 
#define NODE_5   4
 
#define NODE_6   5
 
#define VSRC_1   0
 
#define VSRC_2   1
 
#define VSRC_3   2
 
#define VSRC_4   3
 
#define VSRC_5   4
 
#define MODFLAG(val, bit)   if (val) flag |= (bit); else flag &= ~(bit);
 
#define RETFLAG(bit)   ((flag & (bit)) != 0)
 
#define CREATOR(val)
 

Typedefs

typedef qucs::circuitmaker_t ()
 
typedef qucs::circuitcreator_t ()
 
typedef struct define_tdefs_t ()
 

Variables

std::map< std::string,
creator_t *, std::less
< std::string > > 
factorycreate
 
std::map< std::string, defs_t
*, std::less< std::string > > 
factorydef
 

Detailed Description

The circuit class header file.

Contains the circuit class definition.

Definition in file circuit.h.

Macro Definition Documentation

#define CREATOR (   val)
Value:
val (); \
static qucs::circuit * create (void) { return new val (); } \
static struct define_t cirdef; \
static struct define_t * definition (void) { return &cirdef; }
base class for qucs circuit elements.
Definition: circuit.h:92

Definition at line 49 of file circuit.h.

#define MODFLAG (   val,
  bit 
)    if (val) flag |= (bit); else flag &= ~(bit);

Definition at line 46 of file circuit.h.

#define NODE_1   0

Definition at line 34 of file circuit.h.

#define NODE_2   1

Definition at line 35 of file circuit.h.

#define NODE_3   2

Definition at line 36 of file circuit.h.

#define NODE_4   3

Definition at line 37 of file circuit.h.

#define NODE_5   4

Definition at line 38 of file circuit.h.

#define NODE_6   5

Definition at line 39 of file circuit.h.

#define RETFLAG (   bit)    ((flag & (bit)) != 0)

Definition at line 47 of file circuit.h.

#define VSRC_1   0

Definition at line 40 of file circuit.h.

#define VSRC_2   1

Definition at line 41 of file circuit.h.

#define VSRC_3   2

Definition at line 42 of file circuit.h.

#define VSRC_4   3

Definition at line 43 of file circuit.h.

#define VSRC_5   4

Definition at line 44 of file circuit.h.

Typedef Documentation

typedef qucs::circuit* creator_t()

Definition at line 365 of file circuit.h.

typedef struct define_t* defs_t()

Definition at line 366 of file circuit.h.

typedef qucs::circuit* maker_t()

Definition at line 363 of file circuit.h.

Variable Documentation

std::map<std::string, creator_t *, std::less<std::string> > factorycreate

Definition at line 56 of file module.cpp.

std::map<std::string, defs_t *, std::less<std::string> > factorydef

Definition at line 58 of file module.cpp.