Develop Biology
The language of life
|
#include <Surface.h>
Public Member Functions | |
Surface (const Surface &toCopy) | |
virtual | ~Surface () |
template<typename T > | |
T | Bind (T toBind, BondType bondType=bond_type::Temporary()) |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (molecular, Surface) Surface(Name name | |
template<typename T > | |
T | Manage (T varPtr) |
template<typename T > | |
T | operator+= (T toBind) |
virtual physical::Waves | operator-- () |
virtual chemical::Substance * | operator-= (Name toRelease) |
virtual physical::Wave * | operator-= (physical::Wave *toRelease) |
virtual chemical::Substance * | operator-= (StandardDimension toRelease) |
virtual Code | Reify (physical::Symmetry *symmetry) |
virtual chemical::Substance * | Release (Name toRelease, physical::Perspective< StandardDimension > *perspective=NULL, BondType bondType=bond_type::Temporary()) |
virtual physical::Wave * | Release (physical::Wave *toRelease, BondType bondType=bond_type::Temporary()) |
virtual chemical::Substance * | Release (StandardDimension toRelease, physical::Perspective< StandardDimension > *perspective=NULL, BondType bondType=bond_type::Temporary()) |
virtual physical::Waves | ReleaseAll (BondType bondType=bond_type::Temporary()) |
virtual void | SetEnvironment (Molecule *environment) |
virtual void | SetPerspective (Molecule *perspective) |
virtual physical::Symmetry * | Spin () const |
template<typename T > | |
T | Use (T varPtr) |
Public Member Functions inherited from bio::molecular::Class< Surface > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (chemical, Surface) Class(Surface *object | |
Public Member Functions inherited from bio::chemical::Class< T > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, T) Class(T *object | |
Public Member Functions inherited from bio::physical::Class< T > | |
Class (T *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
T * | Convert (Wave *wave) |
virtual | operator 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 |
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 * () |
Public Member Functions inherited from bio::log::Writer | |
Writer (Engine *logEngine, Filter logFilter) | |
virtual | ~Writer () |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Writer) Writer() | |
void | ExternalLog (Filter logFilter, Level level, const char *format,...) const |
Engine * | GetLogEngine () |
const Engine * | GetLogEngine () const |
bool | HasLogEngine () const |
virtual void | SetLogEngine (Engine *logEngine) |
Public Member Functions inherited from bio::physical::Filterable | |
Filterable (Filter filter) | |
virtual | ~Filterable () |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Filterable) Filterable() | |
Filter | GetFilter () const |
virtual void | InitializeImplementation (ByteStreams args) |
virtual Code | Reify (Symmetry *symmetry) |
virtual void | SetFilter (Filter filter) |
virtual Symmetry * | Spin () const |
Public Member Functions inherited from bio::physical::Class< Filterable > | |
Class (Filterable *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Filterable * | Convert (Wave *wave) |
virtual | operator Filterable * () |
virtual | operator Wave * () |
Public Member Functions inherited from bio::physical::Class< Writer > | |
Class (Writer *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Writer * | Convert (Wave *wave) |
virtual | operator Wave * () |
virtual | operator Writer * () |
Public Member Functions inherited from bio::chemical::Atom | |
Atom (const Atom &other) | |
virtual | ~Atom () |
template<typename T > | |
T | As () |
template<typename T > | |
const T | As () const |
template<typename T > | |
T | AsBonded () |
template<typename T > | |
const T | AsBonded () const |
template<typename T > | |
T | AsBondedQuantum () |
template<typename T > | |
const T | AsBondedQuantum () const |
virtual Code | Attenuate (const Wave *other) |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Atom) explicit Atom() | |
template<typename T > | |
bool | BreakBond (T toDisassociate, BondType type=bond_type::Unknown()) |
virtual Code | Disattenuate (const Wave *other) |
template<typename T > | |
bool | FormBond (T toBond, BondType type=bond_type::Unknown()) |
Bonds * | GetAllBonds () |
const Bonds * | GetAllBonds () const |
Wave * | GetBonded (Valence position) |
const Wave * | GetBonded (Valence position) const |
template<typename T > | |
Valence | GetBondPosition () const |
Valence | GetBondPosition (AtomicNumber bondedId) const |
Valence | GetBondPosition (Name typeName) const |
template<typename T > | |
BondType | GetBondType () const |
BondType | GetBondType (Valence position) const |
template<typename T > | |
operator T () | |
virtual Code | Reify (physical::Symmetry *symmetry) |
virtual physical::Symmetry * | Spin () const |
Public Member Functions inherited from bio::physical::Class< Atom > | |
Class (Atom *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Atom * | Convert (Wave *wave) |
virtual | operator Atom * () |
virtual | operator Wave * () |
Public Member Functions inherited from bio::chemical::Substance | |
Substance | Substance (const typename UnorderedMotif< Property >::Contents *properties, const typename UnorderedMotif< State >::Contents *states) |
virtual | ~Substance () |
BIO_DEFAULT_IDENTIFIABLE_CONSTRUCTORS_WITH_CTOR_COMMON (chemical, Substance, &SubstancePerspective::Instance(), filter::Chemical()) BIO_DISAMBIGUATE_ALL_CLASS_METHODS(chemical | |
virtual void | Disable () |
virtual void | Enable () |
virtual bool | IsEnabled () const |
Public Member Functions inherited from bio::chemical::Structure | |
Structure () | |
virtual | ~Structure () |
Public Member Functions inherited from bio::chemical::UnorderedStructureInterface | |
UnorderedStructureInterface () | |
virtual | ~UnorderedStructureInterface () |
template<typename T > | |
T | Add (const T t) |
template<typename T > | |
void | Clear () |
template<typename T > | |
Container * | GetAll () |
template<typename T > | |
const Container * | GetAll () const |
template<typename T > | |
std::vector< T > | GetAllAsVector () |
template<typename T > | |
const std::vector< T > | GetAllAsVector () const |
template<typename T > | |
unsigned long | GetCount () const |
template<typename T > | |
unsigned int | GetNumMatching (const Container *other) const |
template<typename T > | |
std::string | GetStringFrom (std::string separator=", ") |
template<typename T > | |
bool | Has (T content) const |
template<typename T > | |
bool | HasAll (const Container *contents) const |
template<typename T > | |
void | Import (const std::vector< T > &other) |
template<typename T > | |
void | Import (const UnorderedMotif< T > *other) |
Code | ImportAll (const physical::Wave *other) |
template<typename T > | |
T | Remove (const T t) |
Public Member Functions inherited from bio::ThreadSafe | |
ThreadSafe () | |
ThreadSafe (const ThreadSafe &toCopy) | |
virtual | ~ThreadSafe () |
void | LockThread () const |
void | UnlockThread () const |
Public Member Functions inherited from bio::chemical::LinearStructureInterface | |
LinearStructureInterface () | |
virtual | ~LinearStructureInterface () |
template<typename T > | |
Emission | ForEach (ExcitationBase *excitation) |
template<typename T > | |
T | GetById (StandardDimension id) |
template<typename T > | |
const T | GetById (StandardDimension id) const |
template<typename T > | |
T | GetByName (Name name) |
template<typename T > | |
const T | GetByName (Name name) const |
template<typename T > | |
T | GetOrCreateById (StandardDimension id) |
template<typename T > | |
T | GetOrCreateByName (Name name) |
template<typename T > | |
Code | Insert (T toAdd, const Position position=BOTTOM, const StandardDimension optionalPositionArg=0, const bool transferSubContents=false) |
Public Member Functions inherited from bio::chemical::Class< Substance > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Substance) Class(Substance *object | |
Public Member Functions inherited from bio::chemical::UnorderedMotif< Property > | |
UnorderedMotif (const Contents *contents) | |
UnorderedMotif (const UnorderedMotif< Property > *toCopy) | |
virtual | ~UnorderedMotif () |
virtual Property | AddImplementation (const Property content) |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (chemical, UnorderedMotif< Property >) UnorderedMotif() | |
virtual void | ClearImplementation () |
virtual unsigned long | GetCountImplementation () const |
virtual unsigned int | GetNumMatchingImplementation (const Container *other) const |
virtual std::string | GetStringFromImplementation (std::string separator=", ") |
virtual bool | HasAllImplementation (const Container *contents) const |
virtual bool | HasImplementation (const Property content) const |
virtual void | ImportImplementation (const UnorderedMotif< Property > *other) |
virtual Property | RemoveImplementation (const Property content) |
Public Member Functions inherited from bio::chemical::Class< UnorderedMotif< Property > > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, UnorderedMotif< Property >) Class(UnorderedMotif< Property > *object | |
Public Member Functions inherited from bio::chemical::AbstractMotif | |
AbstractMotif () | |
virtual | ~AbstractMotif () |
virtual void | ClearImplementation () |
virtual Container * | GetAllImplementation () |
virtual const Container * | GetAllImplementation () const |
virtual unsigned long | GetCountImplementation () const |
virtual std::string | GetStringFromImplementation (std::string separator=", ") |
virtual void | ImportImplementation (const void *other) |
Public Member Functions inherited from bio::chemical::UnorderedMotif< State > | |
UnorderedMotif (const Contents *contents) | |
UnorderedMotif (const UnorderedMotif< State > *toCopy) | |
virtual | ~UnorderedMotif () |
virtual State | AddImplementation (const State content) |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (chemical, UnorderedMotif< State >) UnorderedMotif() | |
virtual void | ClearImplementation () |
virtual unsigned long | GetCountImplementation () const |
virtual unsigned int | GetNumMatchingImplementation (const Container *other) const |
virtual std::string | GetStringFromImplementation (std::string separator=", ") |
virtual bool | HasAllImplementation (const Container *contents) const |
virtual bool | HasImplementation (const State content) const |
virtual void | ImportImplementation (const UnorderedMotif< State > *other) |
virtual State | RemoveImplementation (const State content) |
Public Member Functions inherited from bio::chemical::Class< UnorderedMotif< State > > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, UnorderedMotif< State >) Class(UnorderedMotif< State > *object | |
Public Member Functions inherited from bio::chemical::LinearMotif< Molecule * > | |
LinearMotif (const Contents *contents, physical::Perspective< StandardDimension > *perspective=NULL) | |
LinearMotif (const LinearMotif< Molecule * > &toCopy) | |
LinearMotif (physical::Perspective< StandardDimension > *perspective=NULL) | |
virtual | ~LinearMotif () |
virtual Molecule * | AddImplementation (Molecule * content) |
virtual Code | Attenuate (const physical::Wave *other) |
BIO_DISAMBIGUATE_REQUIRED_CLASS_METHODS (chemical, LinearMotif< Molecule * >) BIO_DISAMBIGUATE_OPTIONAL_CLASS_METHODS(physical | |
virtual void | ClearImplementation () |
virtual Molecule * | CreateImplementation (StandardDimension id) |
virtual Code | Disattenuate (const physical::Wave *other) |
virtual Emission | ForEachImplementation (ExcitationBase *excitation) |
virtual Molecule * | GetByIdImplementation (StandardDimension id) |
virtual const Molecule * | GetByIdImplementation (StandardDimension id) const |
virtual Molecule * | GetByNameImplementation (Name name) |
virtual const Molecule * | GetByNameImplementation (Name name) const |
virtual Molecule * | GetOrCreateByIdImplementation (StandardDimension id) |
virtual Molecule * | GetOrCreateByNameImplementation (Name name) |
virtual std::string | GetStringFromImplementation (std::string separator=", ") |
physical::Perspective< StandardDimension > * | GetStructuralPerspective () |
const physical::Perspective< StandardDimension > * | GetStructuralPerspective () const |
virtual bool | HasImplementation (const Molecule * &content) const |
virtual void | ImportImplementation (const LinearMotif< Molecule * > *other) |
virtual Code | InsertImplementation (Molecule * toAdd, const Position position=BOTTOM, const StandardDimension optionalPositionArg=0, const bool transferSubContents=false) |
Public Member Functions inherited from bio::chemical::Elementary< LinearMotif< Molecule * > > | |
Elementary () | |
Elementary (const Properties properties) | |
virtual | ~Elementary () |
void | RegisterProperties (const Properties properties) |
Public Member Functions inherited from bio::chemical::Class< LinearMotif< Molecule * > > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, LinearMotif< Molecule * >) Class(LinearMotif< Molecule * > *object | |
Public Member Functions inherited from bio::chemical::UnorderedMotif< Molecule * > | |
UnorderedMotif (const Contents *contents) | |
UnorderedMotif (const UnorderedMotif< Molecule * > *toCopy) | |
virtual | ~UnorderedMotif () |
virtual Molecule * | AddImplementation (const Molecule * content) |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (chemical, UnorderedMotif< Molecule * >) UnorderedMotif() | |
virtual void | ClearImplementation () |
virtual unsigned long | GetCountImplementation () const |
virtual unsigned int | GetNumMatchingImplementation (const Container *other) const |
virtual std::string | GetStringFromImplementation (std::string separator=", ") |
virtual bool | HasAllImplementation (const Container *contents) const |
virtual bool | HasImplementation (const Molecule * content) const |
virtual void | ImportImplementation (const UnorderedMotif< Molecule * > *other) |
virtual Molecule * | RemoveImplementation (const Molecule * content) |
Public Member Functions inherited from bio::chemical::Class< UnorderedMotif< Molecule * > > | |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, UnorderedMotif< Molecule * >) Class(UnorderedMotif< Molecule * > *object | |
Public Member Functions inherited from bio::molecular::EnvironmentDependent< Molecule > | |
EnvironmentDependent (Molecule *environment=NULL) | |
virtual | ~EnvironmentDependent () |
virtual Molecule * | GetEnvironment () |
virtual const Molecule * | GetEnvironment () const |
virtual void | SetEnvironment (Molecule *environment) |
Additional Inherited Members | |
Public Types inherited from bio::physical::Identifiable< StandardDimension > | |
typedef StandardDimension | Id |
typedef std::vector< Id > | Ids |
Public Types inherited from bio::physical::Observer< Perspective< StandardDimension > > | |
typedef Perspective< StandardDimension > | Perspective |
Public Types inherited from bio::chemical::UnorderedMotif< Property > | |
typedef physical::Arrangement< Property > | Contents |
Public Types inherited from bio::chemical::UnorderedMotif< State > | |
typedef physical::Arrangement< State > | Contents |
Public Types inherited from bio::chemical::LinearMotif< Molecule * > | |
typedef physical::Line | Contents |
Public Types inherited from bio::chemical::UnorderedMotif< Molecule * > | |
typedef physical::Arrangement< Molecule * > | Contents |
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) |
Static Public Member Functions inherited from bio::chemical::AbstractMotif | |
static Properties | GetClassProperties () |
Static Public Member Functions inherited from bio::chemical::LinearMotif< Molecule * > | |
static LinearMotif< Molecule * > Properties | GetClassProperties () |
Static Public Attributes inherited from bio::chemical::Elementary< LinearMotif< Molecule * > > | |
static bool | hasRegistered |
Protected Member Functions inherited from bio::physical::Observer< Perspective< StandardDimension > > | |
virtual void | InitializeImplementation (ByteStreams args) |
Protected Member Functions inherited from bio::VirtualBase | |
VirtualBase () | |
virtual | ~VirtualBase () |
void | Initialize (ByteStream arg1) |
void | Initialize (ByteStream arg1, ByteStream arg2) |
void | Initialize (ByteStream arg1, ByteStream arg2, ByteStream arg3) |
void | Initialize (ByteStreams args) |
virtual void | InitializeImplementation (ByteStreams args)=0 |
Protected Member Functions inherited from bio::log::Writer | |
virtual void | InitializeImplementation (ByteStreams args) |
void | Log (Level level, const char *format,...) const |
Protected Member Functions inherited from bio::chemical::Atom | |
virtual bool | BreakBondImplementation (Wave *toDisassociate, AtomicNumber id, BondType type) |
virtual bool | FormBondImplementation (Wave *toBond, AtomicNumber id, BondType type) |
Protected Attributes inherited from bio::physical::Class< T > | |
T * | m_object |
Protected Attributes inherited from bio::physical::Wave | |
Wave * | m_signal |
Symmetry * | m_symmetry |
Protected Attributes inherited from bio::VirtualBase | |
bool | m_hasBeenInitialized |
Protected Attributes inherited from bio::physical::Class< Identifiable< StandardDimension > > | |
Identifiable< StandardDimension > * | m_object |
Protected Attributes inherited from bio::physical::Filterable | |
Filter | m_filter |
Protected Attributes inherited from bio::physical::Class< Filterable > | |
Filterable * | m_object |
Protected Attributes inherited from bio::physical::Class< Writer > | |
Writer * | m_object |
Protected Attributes inherited from bio::chemical::Atom | |
Bonds | m_bonds |
Protected Attributes inherited from bio::physical::Class< Atom > | |
Atom * | m_object |
Protected Attributes inherited from bio::chemical::AbstractMotif | |
Container * | m_contents |
Protected Attributes inherited from bio::molecular::EnvironmentDependent< Molecule > | |
Molecule * | m_environment |
Surfaces can be thought of as variables for the Biology syntax. They either hold a single, Quantum value, or are composed of a complex array of Molecules. See Molecule.h for a more detailed explanation.
bio::molecular::Surface::Surface | ( | const Surface & | toCopy | ) |
Copying a Surface generates a new set of Molecules and will Clone any Manage()d Waves from toCopy into *this. NOTE: all Use()d Waves will be lost. Since *this does not control what it Uses, it cannot (will not) duplicate it. Keep in mind that *this will delete all Managed Waves on destruction.
toCopy |
Definition at line 30 of file Surface.cpp.
|
virtual |
deletes all Manage()d Bonds.
Definition at line 76 of file Surface.cpp.
References bio::chemical::Bond::Break(), bio::Container::End(), bio::chemical::Bond::GetBonded(), bio::chemical::Bond::GetType(), bio::SmartIterator::IsAtBeginning(), bio::chemical::Atom::m_bonds, and bio::bond_type::Manage().
|
inline |
Binding, as opposed to permanent Bonding, forms a temporary association with the given Substance. Binding forms a Temporary Bond, allowing *this to be treated as the Bound Substance.
T |
toBind | |
bondType |
Definition at line 129 of file Surface.h.
References bio::chemical::Atom::FormBond().
Referenced by bio::genetic::FetchPlasmid::Activate(), and bio::genetic::Plasmid::TranscribeFor().
bio::molecular::Surface::BIO_DISAMBIGUATE_ALL_CLASS_METHODS | ( | molecular | , |
Surface | |||
) |
Ensure virtual methods point to Class implementations.
name |
|
inline |
Create a Manage()d Bond with the given var. varPtr will be deleted when *this is destroyed. See Bonds.h for more on what Manage() does.
T |
varPtr |
Definition at line 97 of file Surface.h.
References bio::chemical::Atom::FormBond(), and bio::bond_type::Manage().
Referenced by bio::molecular::Molecule::Define().
|
inline |
|
virtual |
Wrapper around ReleaseAll
Definition at line 242 of file Surface.cpp.
References ReleaseAll().
|
virtual |
Wrapper around Release
toRelease |
Definition at line 232 of file Surface.cpp.
References Release().
|
virtual |
Wrapper around Release
toRelease |
Definition at line 227 of file Surface.cpp.
References Release().
|
virtual |
Wrapper around Release
toRelease |
Definition at line 237 of file Surface.cpp.
References Release().
|
virtual |
Required method from Wave. See that class for details. Reconstruct *this from the given Symmetry.
symmetry |
Reimplemented from bio::chemical::Atom.
Definition at line 107 of file Surface.cpp.
References bio::code::NotImplemented().
|
virtual |
Breaks the Temporary Bond formed by Bind. NOTE: the given Substance could be Identifiable through some unknown Perspective, so this does actual string comparison. Unless a Perspective is given, in which case numeric comparison is done on the given Name.
toRelease | |
perspective | |
bondType |
Definition at line 145 of file Surface.cpp.
References BIO_SANITIZE_AT_SAFETY_LEVEL_2, bio::chemical::Bond::Break(), bio::Container::End(), bio::chemical::Bond::GetBonded(), bio::physical::Observer< PERSPECTIVE >::GetPerspective(), bio::chemical::Bond::GetType(), bio::SmartIterator::IsAtBeginning(), bio::chemical::Atom::m_bonds, and bio::molecular::Class< Surface >::perspective.
|
virtual |
Breaks the Temporary Bond formed by Bind.
toRelease | |
bondType |
Definition at line 119 of file Surface.cpp.
References BIO_SANITIZE_AT_SAFETY_LEVEL_2, bio::chemical::Bond::Break(), bio::Container::End(), bio::chemical::Bond::GetBonded(), bio::chemical::Bond::GetType(), bio::SmartIterator::IsAtBeginning(), and bio::chemical::Atom::m_bonds.
Referenced by operator-=().
|
virtual |
Breaks the Temporary Bond formed by Bind. NOTE: the given Substance could be Identifiable through some unknown Perspective, so this does an unreliable numeric comparison. However, if a Perspective is given, we can be certain if the id we find is correct or not.
toRelease | |
perspective | |
bondType |
Definition at line 176 of file Surface.cpp.
References BIO_SANITIZE_AT_SAFETY_LEVEL_2, bio::chemical::Bond::Break(), bio::Container::End(), bio::chemical::Bond::GetBonded(), bio::physical::Observer< PERSPECTIVE >::GetPerspective(), bio::chemical::Bond::GetType(), bio::SmartIterator::IsAtBeginning(), bio::chemical::Atom::m_bonds, and bio::molecular::Class< Surface >::perspective.
|
virtual |
Releases all Temporarily Bound Substances
Definition at line 207 of file Surface.cpp.
References bio::chemical::Bond::Break(), bio::Container::End(), bio::chemical::Bond::GetBonded(), bio::chemical::Bond::GetType(), bio::SmartIterator::IsAtBeginning(), and bio::chemical::Atom::m_bonds.
Referenced by bio::genetic::FetchPlasmid::Activate(), bio::genetic::RegisterPlasmid::Activate(), operator--(), and bio::genetic::Plasmid::TranscribeFor().
|
virtual |
Sets both the m_environment and m_perspective and updates m_id.
environment |
Reimplemented from bio::molecular::EnvironmentDependent< Molecule >.
Definition at line 95 of file Surface.cpp.
References environment, bio::molecular::EnvironmentDependent< Molecule >::m_environment, and bio::physical::Observer< Perspective< StandardDimension > >::SetPerspective().
Referenced by SetPerspective().
|
virtual |
Sets both the m_environment and m_perspective and updates m_id.
perspective | a Molecule. |
Definition at line 102 of file Surface.cpp.
References bio::molecular::Class< Surface >::perspective, and SetEnvironment().
|
virtual |
Required method from Wave. See that class for details.
Reimplemented from bio::chemical::Atom.
Definition at line 113 of file Surface.cpp.
|
inline |
Create a Use()d Bond with the given var. These will not be deleted by *this. See Bonds.h for more on what Use() does.
T |
varPtr |
Definition at line 113 of file Surface.h.
References bio::chemical::Atom::FormBond(), and bio::bond_type::Use().
Referenced by bio::molecular::Molecule::Use().
Molecule* bio::molecular::Surface::environment |