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

generic object class. More...

#include <object.h>

Inheritance diagram for qucs::object:
qucs::analysis qucs::circuit qucs::dataset qucs::dataset qucs::input qucs::net qucs::node qucs::substrate qucs::sweep qucs::vector qucs::vector

Public Member Functions

 object ()
 
 object (const char *)
 
 object (const object &)
 
virtual ~object ()
 
objectgetNext (void)
 
void setNext (object *o)
 
objectgetPrev (void)
 
void setPrev (object *o)
 
void setName (const char *)
 
char * getName (void)
 
void addProperty (property *)
 
propertyaddProperty (const char *, const char *)
 
propertyaddProperty (const char *, nr_double_t)
 
propertyaddProperty (const char *, variable *)
 
void setProperty (const char *, char *)
 
void setProperty (const char *, nr_double_t)
 
void setScaledProperty (const char *, nr_double_t)
 
void setProperty (const char *, variable *)
 
vectorgetPropertyVector (const char *)
 
char * getPropertyString (const char *)
 
char * getPropertyReference (const char *)
 
nr_double_t getPropertyDouble (const char *)
 
nr_double_t getScaledProperty (const char *)
 
int getPropertyInteger (const char *)
 
bool hasProperty (const char *)
 
bool isPropertyGiven (const char *)
 
void copyProperties (property *)
 
void deleteProperties (void)
 
int countProperties (void)
 
char * propertyList (void)
 
 object ()
 
 object (const char *)
 
 object (const object &)
 
virtual ~object ()
 
objectgetNext (void)
 
void setNext (object *o)
 
objectgetPrev (void)
 
void setPrev (object *o)
 
void setName (const char *)
 
char * getName (void)
 
void addProperty (property *)
 
propertyaddProperty (const char *, const char *)
 
propertyaddProperty (const char *, nr_double_t)
 
propertyaddProperty (const char *, variable *)
 
void setProperty (const char *, char *)
 
void setProperty (const char *, nr_double_t)
 
void setScaledProperty (const char *, nr_double_t)
 
void setProperty (const char *, variable *)
 
vectorgetPropertyVector (const char *)
 
char * getPropertyString (const char *)
 
char * getPropertyReference (const char *)
 
nr_double_t getPropertyDouble (const char *)
 
nr_double_t getScaledProperty (const char *)
 
int getPropertyInteger (const char *)
 
bool hasProperty (const char *)
 
bool isPropertyGiven (const char *)
 
void copyProperties (property *)
 
void deleteProperties (void)
 
int countProperties (void)
 
char * propertyList (void)
 

Private Attributes

char * name
 
objectnext
 
objectprev
 
propertyprop
 
char * ptxt
 

Detailed Description

generic object class.

Generic object class from which many Qucs classes are inheirited.

Definition at line 52 of file object.h.

Constructor & Destructor Documentation

qucs::object::object ( )

Definition at line 43 of file object.cpp.

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

Definition at line 51 of file object.cpp.

qucs::object::object ( const object o)

Definition at line 62 of file object.cpp.

qucs::object::~object ( )
virtual

Definition at line 71 of file object.cpp.

qucs::object::object ( )
qucs::object::object ( const char *  )
qucs::object::object ( const object )
virtual qucs::object::~object ( )
virtual

Member Function Documentation

void qucs::object::addProperty ( property p)

Definition at line 89 of file object.cpp.

property * qucs::object::addProperty ( const char *  n,
const char *  val 
)

Definition at line 96 of file object.cpp.

void qucs::object::addProperty ( property )
property * qucs::object::addProperty ( const char *  n,
nr_double_t  val 
)

Definition at line 114 of file object.cpp.

property* qucs::object::addProperty ( const char *  ,
const char *   
)
property* qucs::object::addProperty ( const char *  ,
nr_double_t   
)
property * qucs::object::addProperty ( const char *  n,
variable val 
)

Definition at line 141 of file object.cpp.

property* qucs::object::addProperty ( const char *  ,
variable  
)
void qucs::object::copyProperties ( property org)

Definition at line 223 of file object.cpp.

void qucs::object::copyProperties ( property )
int qucs::object::countProperties ( void  )

Definition at line 242 of file object.cpp.

int qucs::object::countProperties ( void  )
void qucs::object::deleteProperties ( void  )

Definition at line 232 of file object.cpp.

void qucs::object::deleteProperties ( void  )
char * qucs::object::getName ( void  )

Definition at line 84 of file object.cpp.

char* qucs::object::getName ( void  )
object* qucs::object::getNext ( void  )
inline

Definition at line 59 of file object.h.

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

Definition at line 60 of file parse_citi.y.

object* qucs::object::getPrev ( void  )
inline

Definition at line 61 of file object.h.

object* qucs::object::getPrev ( void  )
inline

Definition at line 62 of file parse_citi.y.

nr_double_t qucs::object::getPropertyDouble ( const char *  n)

Definition at line 176 of file object.cpp.

nr_double_t qucs::object::getPropertyDouble ( const char *  )
int qucs::object::getPropertyInteger ( const char *  n)

Definition at line 198 of file object.cpp.

int qucs::object::getPropertyInteger ( const char *  )
char * qucs::object::getPropertyReference ( const char *  n)

Definition at line 167 of file object.cpp.

char* qucs::object::getPropertyReference ( const char *  )
char * qucs::object::getPropertyString ( const char *  n)

Definition at line 159 of file object.cpp.

char* qucs::object::getPropertyString ( const char *  )
qucs::vector * qucs::object::getPropertyVector ( const char *  n)

Definition at line 150 of file object.cpp.

vector* qucs::object::getPropertyVector ( const char *  )
nr_double_t qucs::object::getScaledProperty ( const char *  n)

Definition at line 185 of file object.cpp.

nr_double_t qucs::object::getScaledProperty ( const char *  )
bool qucs::object::hasProperty ( const char *  n)

Definition at line 206 of file object.cpp.

bool qucs::object::hasProperty ( const char *  )
bool qucs::object::isPropertyGiven ( const char *  n)

Definition at line 213 of file object.cpp.

bool qucs::object::isPropertyGiven ( const char *  )
char * qucs::object::propertyList ( void  )

Definition at line 249 of file object.cpp.

char* qucs::object::propertyList ( void  )
void qucs::object::setName ( const char *  n)

Definition at line 78 of file object.cpp.

void qucs::object::setName ( const char *  )
void qucs::object::setNext ( object o)
inline

Definition at line 60 of file object.h.

void qucs::object::setNext ( object o)
inline

Definition at line 61 of file parse_citi.y.

void qucs::object::setPrev ( object o)
inline

Definition at line 62 of file object.h.

void qucs::object::setPrev ( object o)
inline

Definition at line 63 of file parse_citi.y.

void qucs::object::setProperty ( const char *  n,
char *  val 
)

Definition at line 104 of file object.cpp.

void qucs::object::setProperty ( const char *  ,
char *   
)
void qucs::object::setProperty ( const char *  n,
nr_double_t  val 
)

Definition at line 122 of file object.cpp.

void qucs::object::setProperty ( const char *  ,
nr_double_t   
)
void qucs::object::setProperty ( const char *  ,
variable  
)
void qucs::object::setProperty ( const char *  ,
variable  
)
void qucs::object::setScaledProperty ( const char *  n,
nr_double_t  val 
)

Definition at line 133 of file object.cpp.

void qucs::object::setScaledProperty ( const char *  ,
nr_double_t   
)

Field Documentation

char * qucs::object::name
private

Definition at line 87 of file object.h.

object * qucs::object::next
private

Definition at line 88 of file object.h.

object * qucs::object::prev
private

Definition at line 89 of file object.h.

property * qucs::object::prop
private

Definition at line 90 of file object.h.

char * qucs::object::ptxt
private

Definition at line 91 of file object.h.


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