|
Qucs-core
0.0.19
|
generic object class. More...
#include <object.h>


Public Member Functions | |
| object () | |
| Constructor creates an unnamed instance of the object class. | |
| object (const std::string &n) | |
| This constructor creates a named instance of the object class. | |
| void | setName (const std::string &n) |
| Sets the name of the object. | |
| const char * | getName (void) const |
| Get the name of the object. | |
| void | addProperty (const std::string &n, const char *const val, const bool def=false) |
| void | addProperty (const std::string &n, const nr_double_t, const bool def=false) |
| void | addProperty (const std::string &n, variable *const, const bool def=false) |
| void | setProperty (const std::string &n, const char *const) |
| void | setProperty (const std::string &n, nr_double_t) |
| void | setScaledProperty (const std::string &n, const nr_double_t) |
| void | setProperty (const std::string &n, variable *const) |
| vector * | getPropertyVector (const std::string &n) const |
| const char * | getPropertyString (const std::string &n) const |
| const char * | getPropertyReference (const std::string &n) const |
| nr_double_t | getPropertyDouble (const std::string &n) const |
| nr_double_t | getScaledProperty (const std::string &n) const |
| int | getPropertyInteger (const std::string &n) const |
| bool | hasProperty (const std::string &n) const |
| bool | isPropertyGiven (const std::string &n) const |
| int | countProperties (void) const |
| const char * | propertyList (void) const |
Private Attributes | |
| std::string | name |
| properties | props |
generic object class.
Generic object class from which many Qucs classes are inheirited.
| qucs::object::object | ( | ) | [inline] |
| qucs::object::object | ( | const std::string & | n | ) | [inline] |
| void qucs::object::addProperty | ( | const std::string & | n, |
| const char *const | val, | ||
| const bool | def = false |
||
| ) |
Definition at line 45 of file object.cpp.
| void qucs::object::addProperty | ( | const std::string & | n, |
| const nr_double_t | val, | ||
| const bool | def = false |
||
| ) |
Definition at line 64 of file object.cpp.
| void qucs::object::addProperty | ( | const std::string & | n, |
| variable * const | val, | ||
| const bool | def = false |
||
| ) |
Definition at line 90 of file object.cpp.
| int qucs::object::countProperties | ( | void | ) | const |
Definition at line 181 of file object.cpp.
| const char* qucs::object::getName | ( | void | ) | const [inline] |
| nr_double_t qucs::object::getPropertyDouble | ( | const std::string & | n | ) | const |
Definition at line 132 of file object.cpp.
| int qucs::object::getPropertyInteger | ( | const std::string & | n | ) | const |
Definition at line 155 of file object.cpp.
| const char * qucs::object::getPropertyReference | ( | const std::string & | n | ) | const |
Definition at line 121 of file object.cpp.
| const char * qucs::object::getPropertyString | ( | const std::string & | n | ) | const |
Definition at line 111 of file object.cpp.
| qucs::vector * qucs::object::getPropertyVector | ( | const std::string & | n | ) | const |
Definition at line 100 of file object.cpp.
| nr_double_t qucs::object::getScaledProperty | ( | const std::string & | n | ) | const |
Definition at line 143 of file object.cpp.
| bool qucs::object::hasProperty | ( | const std::string & | n | ) | const |
Definition at line 165 of file object.cpp.
| bool qucs::object::isPropertyGiven | ( | const std::string & | n | ) | const |
Definition at line 172 of file object.cpp.
| const char * qucs::object::propertyList | ( | void | ) | const |
Definition at line 186 of file object.cpp.
| void qucs::object::setName | ( | const std::string & | n | ) | [inline] |
| void qucs::object::setProperty | ( | const std::string & | n, |
| const char * const | val | ||
| ) |
Definition at line 54 of file object.cpp.
| void qucs::object::setProperty | ( | const std::string & | n, |
| nr_double_t | val | ||
| ) |
Definition at line 73 of file object.cpp.
| void qucs::object::setProperty | ( | const std::string & | n, |
| variable * | const | ||
| ) |
| void qucs::object::setScaledProperty | ( | const std::string & | n, |
| const nr_double_t | val | ||
| ) |
Definition at line 84 of file object.cpp.
std::string qucs::object::name [private] |
properties qucs::object::props [private] |
1.7.6.1