Develop Biology
The language of life
|
#include <Symmetry.h>
Public Member Functions | |
Symmetry (Name name, Name type) | |
Symmetry (Name name, Name type) | |
Symmetry (Name name, SymmetryType type) | |
Symmetry (Name name, SymmetryType type) | |
Symmetry (StandardDimension id, Name type) | |
Symmetry (StandardDimension id, SymmetryType type) | |
virtual | ~Symmetry () |
virtual | ~Symmetry () |
virtual ByteStream * | AccessValue () |
AddSymmetry (Symmetry *symmetry) | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Symmetry) Symmetry() | |
Name | GetType () const |
const Identifiable< SymmetryType > & | GetType () const |
virtual const ByteStream & | GetValue () const |
void | SetType (Name type) |
void | SetType (SymmetryType type) |
SetValue (const ByteStream &bytes) | |
virtual void | SetValue (const ByteStream &bytes) |
Public Member Functions inherited from bio::physical::Identifiable< SymmetryType > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Identifiable< SymmetryType >) explicit Identifiable(Perspective< SymmetryType > *perspective | |
void | CloneIntoName (Name name) |
Public Member Functions inherited from bio::physical::Observer< Perspective< SymmetryType > > | |
Observer (const Observer &other) | |
Observer (Perspective *perspective=NULL) | |
virtual | ~Observer () |
virtual Perspective * | GetPerspective () const |
virtual void | SetPerspective (Perspective *perspective) |
Public Member Functions inherited from bio::physical::Class< Identifiable< SymmetryType > > | |
Class (Identifiable< SymmetryType > *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Identifiable< SymmetryType > * | Convert (Wave *wave) |
virtual | operator Identifiable< SymmetryType > * () |
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 |
Public Member Functions inherited from bio::physical::Identifiable< StandardDimension > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Identifiable< StandardDimension >) explicit Identifiable(Perspective< StandardDimension > *perspective | |
void | CloneIntoName (Name name) |
Public Member Functions inherited from bio::physical::Observer< Perspective< StandardDimension > > | |
Observer (const Observer &other) | |
Observer (Perspective *perspective=NULL) | |
virtual | ~Observer () |
virtual Perspective * | GetPerspective () const |
virtual void | SetPerspective (Perspective *perspective) |
Public Member Functions inherited from bio::physical::Class< Identifiable< StandardDimension > > | |
Class (Identifiable< StandardDimension > *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Identifiable< StandardDimension > * | Convert (Wave *wave) |
virtual | operator Identifiable< StandardDimension > * () |
virtual | operator Wave * () |
Protected Attributes | |
Name | m_name |
Identifiable< SymmetryType > | m_type |
ByteStream | m_value |
Protected Attributes inherited from bio::VirtualBase | |
bool | m_hasBeenInitialized |
Protected Attributes inherited from bio::physical::Class< Identifiable< SymmetryType > > | |
Identifiable< SymmetryType > * | m_object |
Protected Attributes inherited from bio::physical::Wave | |
Wave * | m_signal |
Symmetry * | m_symmetry |
Protected Attributes inherited from bio::physical::Class< Identifiable< StandardDimension > > | |
Identifiable< StandardDimension > * | m_object |
physical::Symmetry only contains a Name, a type, and a value. See SymmetryTypes.h for what types of Symmetry are available on a physical level. Both Symmetry and SymmetryTypes are intended to grow with each namespace, as the complexity of what is being Rotated grows.
Definition at line 32 of file Symmetry.h.
Definition at line 37 of file Symmetry.cpp.
References bio::VirtualBase::Initialize().
bio::physical::Symmetry::Symmetry | ( | Name | name, |
SymmetryType | type | ||
) |
Definition at line 53 of file Symmetry.cpp.
References bio::VirtualBase::Initialize().
|
virtual |
bio::physical::Symmetry::Symmetry | ( | Name | name, |
SymmetryType | type | ||
) |
name | |
type |
bio::physical::Symmetry::Symmetry | ( | StandardDimension | id, |
Name | type | ||
) |
id | |
type |
Definition at line 69 of file Symmetry.cpp.
References bio::VirtualBase::Initialize().
bio::physical::Symmetry::Symmetry | ( | StandardDimension | id, |
SymmetryType | type | ||
) |
id | |
type |
Definition at line 85 of file Symmetry.cpp.
References bio::VirtualBase::Initialize().
|
virtual |
Reimplemented in bio::chemical::Symmetry.
|
virtual |
Get the m_value of *this for direct editing.
Definition at line 130 of file Symmetry.cpp.
References m_value.
Referenced by bio::physical::Filterable::Spin(), bio::physical::Periodic::Spin(), and bio::physical::Quantum< T >::Spin().
bio::physical::Symmetry::AddSymmetry | ( | Symmetry * | symmetry | ) |
bio::physical::Symmetry::BIO_DISAMBIGUATE_ALL_CLASS_METHODS | ( | physical | , |
Symmetry | |||
) |
Ensure virtual methods point to Class implementations.
|
inline |
Definition at line 48 of file Symmetry.h.
const Identifiable< SymmetryType > & bio::physical::Symmetry::GetType | ( | ) | const |
With Symmetry, we make "Type" what is Identifiable and Name ancillary.
|
virtual |
Get the m_value of *this.
Definition at line 125 of file Symmetry.cpp.
References m_value.
Referenced by bio::physical::Filterable::Reify(), bio::physical::Periodic::Reify(), and bio::physical::Quantum< T >::Reify().
void bio::physical::Symmetry::SetType | ( | Name | type | ) |
Set the type of *this.
type |
Definition at line 115 of file Symmetry.cpp.
References m_type.
void bio::physical::Symmetry::SetType | ( | SymmetryType | type | ) |
Set the type of *this.
type |
Definition at line 110 of file Symmetry.cpp.
References m_type.
void bio::physical::Symmetry::SetValue | ( | const ByteStream & | bytes | ) |
|
virtual |
Set the m_value of *this.
bytes |
|
protected |
Definition at line 59 of file Symmetry.h.
|
protected |
Definition at line 133 of file Symmetry.h.
Referenced by SetType().
|
protected |
Definition at line 60 of file Symmetry.h.
Referenced by AccessValue(), GetValue(), and SetValue().