#include <signaltyperefs.h>
Collaboration diagram for Geddei::SignalTypeRefs:
Public Member Functions | |
const bool | allSame () const |
const uint | count () const |
SignalTypeRefs & | operator= (const SignalType &src) |
SignalTypeRefs & | operator= (const SignalTypeRef &src) |
SignalTypeRefs & | operator= (const SignalTypeRefs &src) |
SignalTypeRef | operator[] (const uint i) |
const SignalTypeRef | operator[] (const uint i) const |
~SignalTypeRefs () | |
Friends | |
class | Combination |
class | DomProcessor |
class | DRCoupling |
class | Processor |
class | RSCoupling |
class | SubProcessor |
class | xSCoupling |
Though this class uses pointers in its storage mechanism (hence SignalTypeRefs) it DOES own all data it points at. It will be deleted with this class, so don't try to delete any of the pointers you get from it data.
Its really a no-brainer: Just set it and forget about it. Copy methods can be used if you want to keep ownership of the data.
None of the data is ever shared either implicitly or explicitly.
Geddei::SignalTypeRefs::~SignalTypeRefs | ( | ) |
Default destructor.
const bool Geddei::SignalTypeRefs::allSame | ( | ) | const |
Check if all SignalType objects contained in this object are actually equivalent.
const uint Geddei::SignalTypeRefs::count | ( | ) | const [inline] |
Get the amount of SignalTypePtr spaces currently allocated.
SignalTypeRefs & Geddei::SignalTypeRefs::operator= | ( | const SignalType & | src | ) |
Assignment operator. Copies one of src into each slot.
src | The SignalType object to make copies of. |
SignalTypeRefs & Geddei::SignalTypeRefs::operator= | ( | const SignalTypeRef & | src | ) |
Assignment operator. Copies one of src into each slot.
src | The SignalTypeRef to use for the copy. |
SignalTypeRefs & Geddei::SignalTypeRefs::operator= | ( | const SignalTypeRefs & | src | ) |
Assignment operator. Makes an identical copy of the list given by src .
src | The SignalTypeRefs object to make a copy of. |