libbio
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bio::PlasmidPerspectiveImplementation Class Reference

#include <PlasmidPerspective.h>

Inheritance diagram for bio::PlasmidPerspectiveImplementation:
Inheritance graph
[legend]
Collaboration diagram for bio::PlasmidPerspectiveImplementation:
Collaboration graph
[legend]

Public Member Functions

Id GetIdFromName (const Name &name)
 
- Public Member Functions inherited from bio::physical::TypedPerspective< Id >
 TypedPerspective ()
 
virtual ~TypedPerspective ()
 
virtual bool AssociateType (const Id &id, Pointer< physical::Wave > type)
 
virtual bool DisassociateType (const Id &id)
 
virtual bool IsTypeAssociated (const Id &id) const
 
virtual Pointer< const WaveGetTypeFromId (const Id &id) const
 
virtual Pointer< const WaveGetTypeFromName (const Name &name) const
 
const T GetTypeFromIdAs (const Id &id) const
 
const T GetTypeFromNameAs (const Name &name) const
 
virtual Pointer< WaveGetNewObjectFromId (const Id &id) const
 
virtual Pointer< WaveGetNewObjectFromName (const Name &name)
 
T GetNewObjectFromIdAs (const Id &id)
 
T GetNewObjectFromNameAs (const Name &name)
 
- Public Member Functions inherited from bio::physical::Perspective< DIMENSION >
 Perspective ()
 
virtual ~Perspective ()
 
SmartIterator Find (const DIMENSION &id)
 
SmartIterator Find (const DIMENSION &id) const
 
virtual Name GetNameFromId (const DIMENSION &id) const
 
virtual DIMENSION GetUniqueIdFor (const Name &name)
 
virtual DIMENSION GetIdWithoutCreation (const Name &name) const
 
virtual DIMENSION GetNumUsedIds () const
 
- Public Member Functions inherited from bio::ThreadSafe
 ThreadSafe ()
 
 ThreadSafe (const ThreadSafe &toCopy)
 
ThreadSafeoperator= (const ThreadSafe &toCopy)
 
 ~ThreadSafe ()
 
void LockThread () const
 
void UnlockThread () const
 
void LockMutexShared () const
 
void UnlockMutexShared () const
 

Additional Inherited Members

- Static Public Member Functions inherited from bio::physical::Perspective< DIMENSION >
static DIMENSION InvalidId ()
 
static Name InvalidName ()
 
- Protected Member Functions inherited from bio::physical::TypedPerspective< Id >
virtual Pointer< Brane< Id > > CreateBrane (Id id, const Name &name)
 
- Protected Member Functions inherited from bio::physical::Perspective< DIMENSION >
void RegisterBrane (Pointer< Brane< DIMENSION > > brane)
 
virtual Pointer< Brane< DIMENSION > > CreateBrane (DIMENSION id, const Name &name)
 
template<class T >
T GetBraneAs (DIMENSION id)
 
template<class T >
const T GetBraneAs (DIMENSION id) const
 
- Static Protected Member Functions inherited from bio::physical::Perspective< DIMENSION >
::std::string IndexKeyFor (const Name &name)
 
- Protected Attributes inherited from bio::physical::Perspective< DIMENSION >
Pointer< ContainermBranes
 
DIMENSION mNextId
 
mutable ::std::map< DIMENSION, IndexmByIdIndex
 

Detailed Description

The PlasmidPerspective is an additional Perspective that allows Plasmid objects to be retrieved by human-readable, non-unique, and/or short Names.
The PeriodicTable is incapable of associating common names (e.g. "MyPlasmid") with globally unique objects (e.g. MyPlasmid*).

Member Function Documentation

◆ GetIdFromName()

Id bio::PlasmidPerspectiveImplementation::GetIdFromName ( const Name name)
inlinevirtual

This will create a new DIMENSION for the given name if one does not exist.

Parameters
name
Returns
the DIMENSION associated with the given name

Reimplemented from bio::physical::Perspective< DIMENSION >.


The documentation for this class was generated from the following file: