Develop Biology
The language of life
|
#include <Line.h>
Public Member Functions | |
Line (Index expectedSize=2) | |
virtual | ~Line () |
ByteStream | Access (const Index index) |
const ByteStream | Access (const Index index) const |
virtual bool | AreEqual (Index internal, const ByteStream external) const |
virtual Identifiable< StandardDimension > * | LinearAccess (Index index) |
virtual const Identifiable< StandardDimension > * | LinearAccess (Index index) const |
virtual Index | SeekToId (StandardDimension id) |
virtual Index | SeekToName (Name name) |
Public Member Functions inherited from bio::physical::Arrangement< Linear > | |
Arrangement (const Index expectedSize=2) | |
virtual | ~Arrangement () |
ByteStream | Access (const Index index) |
const ByteStream | Access (const Index index) const |
Index | Add (const ByteStream content) |
virtual bool | AreEqual (Index internal, const ByteStream external) const |
bool | Erase (const Index index) |
virtual const std::size_t | GetStepSize () const |
virtual Linear | OptimizedAccess (Index index) |
virtual const Linear | OptimizedAccess (Index index) const |
Public Member Functions inherited from bio::Container | |
Container (const Container &other) | |
Container (const Index expectedSize=2, std::size_t stepSize=sizeof(ByteStream)) | |
virtual | ~Container () |
virtual ByteStream | Access (const Index index) |
virtual const ByteStream | Access (const Index index) const |
ByteStream | Access (const SmartIterator itt) |
virtual const ByteStream | Access (const SmartIterator itt) const |
virtual Index | Add (const ByteStream content) |
template<typename T > | |
std::vector< T > | AsVector () const |
virtual SmartIterator | Begin () const |
virtual void | Clear () |
virtual Iterator * | ConstructClassIterator (const Index index=InvalidIndex()) const |
virtual SmartIterator | End () const |
bool | Erase (const SmartIterator itt) |
virtual bool | Erase (Index index) |
virtual void | Expand () |
virtual Index | GetAllocatedSize () const |
virtual Index | GetBeginIndex () const |
virtual Index | GetCapacity () const |
virtual Index | GetEndIndex () const |
virtual Index | GetNumberOfElements () const |
bool | Has (const ByteStream content) const |
virtual void | Import (const Container *other) |
virtual Index | Insert (const ByteStream content, const Index index) |
virtual bool | IsAllocated (const Index index) const |
virtual bool | IsFree (const Index index) const |
virtual bool | IsInRange (const Index index) const |
virtual ByteStream | operator[] (const Index index) |
virtual const ByteStream | operator[] (const Index index) const |
virtual ByteStream | operator[] (const SmartIterator itt) |
virtual const ByteStream | operator[] (const SmartIterator itt) const |
Index | SeekTo (const ByteStream content) const |
Additional Inherited Members | |
Protected Member Functions inherited from bio::Container | |
virtual bool | AreEqual (Index internal, const ByteStream external) const |
virtual Index | GetNextAvailableIndex () |
virtual const std::size_t | GetStepSize () const |
Protected Attributes inherited from bio::Container | |
std::deque< Index > | m_deallocated |
Index | m_firstFree |
Index | m_size |
unsigned char * | m_store |
Iterator * | m_tempItt |
bio::physical::Line::Line | ( | Index | expectedSize = 2 | ) |
expectedSize |
|
virtual |
We want to return an Identifiable< StandardDimension >*, not a Linear.
index |
Reimplemented from bio::Container.
Definition at line 40 of file Line.cpp.
References bio::physical::Arrangement< Linear >::OptimizedAccess().
|
virtual |
We want to return an Identifiable< StandardDimension >*, not a Linear.
index |
Reimplemented from bio::Container.
Definition at line 45 of file Line.cpp.
References bio::physical::Arrangement< Linear >::OptimizedAccess().
|
virtual |
Since we operate on Identifiable< StandardDimension >*, not Linears, we want to treat the external datum as Identifiable< StandardDimension >*.
internal | |
external |
Reimplemented from bio::physical::Arrangement< Linear >.
Definition at line 50 of file Line.cpp.
References BIO_SANITIZE, bio::ByteStream::Is(), and bio::physical::Arrangement< Linear >::OptimizedAccess().
|
virtual |
Convenience wrapper around OptimizedAccess.
index |
Definition at line 56 of file Line.cpp.
References bio::physical::Arrangement< Linear >::OptimizedAccess().
Referenced by SeekToId(), and SeekToName().
|
virtual |
Convenience wrapper around OptimizedAccess.
index |
Definition at line 61 of file Line.cpp.
References bio::physical::Arrangement< Linear >::OptimizedAccess().
|
virtual |
Get the position of an Identifiable< StandardDimension >* with the given id in *this.
id |
Definition at line 83 of file Line.cpp.
References bio::Container::ConstructClassIterator(), bio::Container::GetEndIndex(), bio::Iterator::GetIndex(), bio::InvalidIndex(), bio::Iterator::IsAtBeginning(), LinearAccess(), bio::Container::m_tempItt, and bio::Iterator::MoveTo().
Get the position of an Identifiable< StandardDimension >* with the given name in *this.
name |
Definition at line 66 of file Line.cpp.
References bio::Container::ConstructClassIterator(), bio::Container::GetEndIndex(), bio::Iterator::GetIndex(), bio::InvalidIndex(), bio::Iterator::IsAtBeginning(), LinearAccess(), bio::Container::m_tempItt, and bio::Iterator::MoveTo().