|
Develop Biology
The language of life
|
#include <Quantum.h>
Inheritance diagram for bio::physical::Quantum< T >:
Collaboration diagram for bio::physical::Quantum< T >:Public Member Functions | |
| Quantum (const Quantum< T > &other) | |
| Quantum (const T &assignment) | |
| virtual | ~Quantum () |
| BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Quantum< T >) Quantum() | |
| operator T () const | |
| operator T* () | |
| virtual Code | Reify (Symmetry *symmetry) |
| virtual Symmetry * | Spin () const |
Public Member Functions inherited from bio::physical::Class< Quantum< T > > | |
| Class (Quantum< T > *object, Symmetry *symmetry=NULL) | |
| virtual | ~Class () |
| virtual Wave * | AsWave () |
| virtual const Wave * | AsWave () const |
| virtual Wave * | Clone () const |
| Quantum< T > * | Convert (Wave *wave) |
| virtual | operator Quantum< T > * () |
| virtual | operator Wave * () |
Public Member Functions inherited from bio::physical::Wave | |
| Wave (Symmetry *symmetry=NULL) | |
| virtual | ~Wave () |
| virtual chemical::Atom * | AsAtom () |
| virtual const chemical::Atom * | AsAtom () const |
| virtual Wave * | AsWave () |
| virtual const Wave * | AsWave () const |
| virtual Code | Attenuate (const Wave *other) |
| virtual Wave * | Clone () const |
| virtual Wave * | Demodulate () |
| virtual const Wave * | Demodulate () const |
| virtual Code | Disattenuate (const Wave *other) |
| virtual Properties | GetProperties () const |
| virtual Wave * | Modulate (Wave *signal) |
| virtual Wave * | operator* () |
| virtual const Wave * | operator* () const |
| virtual Wave * | operator* (Wave *signal) |
| virtual void | operator+ (const Wave *other) |
| virtual void | operator- (const Wave *other) |
| virtual void | operator| (Symmetry *symmetry) |
| virtual Code | Reify (Symmetry *symmetry) |
| virtual Symmetry * | Spin () const |
Protected Attributes | |
| T * | m_quantized |
Protected Attributes inherited from bio::physical::Class< Quantum< T > > | |
| Quantum< T > * | m_object |
Protected Attributes inherited from bio::physical::Wave | |
| Wave * | m_signal |
| Symmetry * | m_symmetry |
Additional Inherited Members | |
Static Public Member Functions inherited from bio::physical::Wave | |
| static Properties | GetResonanceBetween (const Wave *wave, const Properties &properties) |
| static Properties | GetResonanceBetween (const Wave *wave1, const Wave *wave2) |
| static Properties | GetResonanceBetween (ConstWaves waves) |
Quanta are simple Waves intended for built-in types. They allow anything to be treated as a Biological Wave. Iff you cannot derive from Wave, use Quantum<> instead. Each Quantum<T> will store a pointer to a T which it will new on creation and delete on destruction.
| T |
|
inline |
| assignment |
Definition at line 70 of file Quantum.h.
|
inline |
| other |
Definition at line 84 of file Quantum.h.
|
inlinevirtual |
Definition at line 99 of file Quantum.h.
References bio::physical::Quantum< T >::m_quantized.
|
inline |
Ensure virtual methods point to Class implementations.
Definition at line 49 of file Quantum.h.
|
inline |
Read only access to the value of *this. For ease of use.
Definition at line 118 of file Quantum.h.
References BIO_SANITIZE, and bio::physical::Quantum< T >::m_quantized.
|
inline |
this can be treated as a T directly.
Definition at line 108 of file Quantum.h.
References bio::physical::Quantum< T >::m_quantized.
|
inlinevirtual |
Required method from Wave. See that class for details. Reconstruct *this from the given Symmetry.
| symmetry |
Reimplemented from bio::physical::Wave.
Definition at line 140 of file Quantum.h.
References bio::code::BadArgument1(), BIO_SANITIZE, bio::physical::Symmetry::GetValue(), bio::physical::Quantum< T >::m_quantized, and bio::code::Success().
|
inlinevirtual |
Required method from Wave. See that class for details.
Reimplemented from bio::physical::Wave.
Definition at line 129 of file Quantum.h.
References bio::physical::Symmetry::AccessValue(), bio::physical::Quantum< T >::m_quantized, bio::physical::Wave::m_symmetry, bio::ByteStream::Set(), and bio::physical::Wave::Spin().
|
protected |
Definition at line 150 of file Quantum.h.
Referenced by bio::physical::Quantum< T >::~Quantum(), bio::physical::Quantum< T >::operator T(), bio::physical::Quantum< T >::operator T*(), bio::physical::Quantum< T >::Reify(), and bio::physical::Quantum< T >::Spin().