#include <Class.h>
Inherits bio::physical::Wave.
Inherited by bio::chemical::Class< LinearMotif< Organelle * > >, bio::chemical::Class< UnorderedMotif< Organelle * > >, bio::chemical::Class< LinearMotif< genetic::Plasmid * > >, bio::chemical::Class< UnorderedMotif< genetic::Plasmid * > >, bio::chemical::Class< LinearMotif< Tissue * > >, bio::chemical::Class< UnorderedMotif< Tissue * > >, bio::chemical::Class< LinearMotif< Organ * > >, bio::chemical::Class< UnorderedMotif< Organ * > >, bio::chemical::Class< LinearMotif< Cell * > >, bio::chemical::Class< UnorderedMotif< Cell * > >, bio::chemical::Class< LinearMotif< CONTENT_TYPE > >, bio::chemical::Class< Reactant >, bio::chemical::Class< Reactants >, bio::chemical::Class< LinearMotif< Substance * > >, bio::chemical::Class< UnorderedMotif< Substance * > >, bio::chemical::Class< Reaction >, bio::chemical::Class< Substance >, bio::chemical::Class< UnorderedMotif< Property > >, bio::chemical::Class< UnorderedMotif< State > >, bio::chemical::Class< LinearMotif< Symmetry * > >, bio::chemical::Class< UnorderedMotif< Symmetry * > >, bio::chemical::Class< Symmetry >, bio::chemical::Class< UnorderedMotif< CONTENT_TYPE > >, bio::chemical::Class< UnorderedMotif< TranscriptionFactor > >, bio::chemical::Class< LinearMotif< Plasmid * > >, bio::chemical::Class< UnorderedMotif< Plasmid * > >, bio::chemical::Class< LinearMotif< molecular::Protein * > >, bio::chemical::Class< UnorderedMotif< molecular::Protein * > >, bio::chemical::Class< LinearMotif< Gene * > >, bio::chemical::Class< UnorderedMotif< Gene * > >, bio::chemical::Class< LinearMotif< Surface * > >, bio::chemical::Class< UnorderedMotif< Surface * > >, bio::chemical::Class< Pathway >, bio::chemical::Class< LinearMotif< chemical::Reaction * > >, bio::chemical::Class< UnorderedMotif< chemical::Reaction * > >, bio::chemical::Class< LinearMotif< Protein * > >, bio::chemical::Class< UnorderedMotif< Protein * > >, bio::chemical::Class< LinearMotif< Molecule * > >, bio::chemical::Class< UnorderedMotif< Molecule * > >, bio::chemical::Class< LinearMotif< Organism * > >, bio::chemical::Class< UnorderedMotif< Organism * > >, bio::chemical::Class< LinearMotif< cellular::OrganSystem * > >, bio::chemical::Class< UnorderedMotif< cellular::OrganSystem * > >, bio::chemical::Class< T >, and bio::physical::Symmetry [private]
.
template<typename T>
class bio::physical::Class< T >
A physical::Class is a Wave. That is all. Class in other namespaces will grow to include more complex, templated logic. This pattern prevents you from having to define virtual methods each of your child classes, so long as you always derive from the appropriate Class<T>.
- Template Parameters
-
Definition at line 37 of file Class.h.
◆ Class()
NOTE: you may wish to explicitly instantiate Wave in you ctor.
- Parameters
-
Definition at line 46 of file Class.h.
50 :
53 {
54
55 }
Wave(Symmetry *symmetry=NULL)
◆ ~Class()
◆ AsWave() [1/2]
◆ AsWave() [2/2]
Used for resolving ambiguous inheritance without the need to explicitly derive from Wave.
- Returns
- this
Reimplemented from bio::physical::Wave.
Definition at line 108 of file Class.h.
109 {
110 return this;
111 }
◆ Clone()
◆ Convert()
If you have a Class object and need to convert from Wave to the furthest derived Class, use Convert.
- Parameters
-
- Returns
- the
Definition at line 79 of file Class.h.
80 {
81 return Cast< T* >(wave);
82 }
◆ operator T*()
Make it so we can treat *this as the calling T.
- Returns
- the m_object *this was created for.
Definition at line 69 of file Class.h.
◆ operator Wave *()
Wave conversion. When treating an object as a Wave*, always use the nearest Class, as that will allow you to access all other Waves in the object.
- Returns
- this.
Definition at line 118 of file Class.h.
119 {
120 return this;
121 }
◆ m_object
The documentation for this class was generated from the following file:
- /home/eons/git/biology/lib_bio/inc/bio/physical/common/Class.h