Rosetta 3.3
|
std::vector with L-based indexing: bool specialization More...
#include <vectorL_bool.hh>
Public Types | |
typedef super::value_type | value_type |
typedef super::reference | reference |
typedef super::const_reference | const_reference |
typedef super::pointer | pointer |
typedef super::const_pointer | const_pointer |
typedef super::iterator | iterator |
typedef super::const_iterator | const_iterator |
typedef super::reverse_iterator | reverse_iterator |
typedef super::const_reverse_iterator | const_reverse_iterator |
typedef super::size_type | size_type |
typedef super::difference_type | difference_type |
typedef super::allocator_type | allocator_type |
typedef ssize_t | ssize_type |
typedef super::value_type | Value |
typedef super::reference | Reference |
typedef super::const_reference | ConstReference |
typedef super::pointer | Pointer |
typedef super::const_pointer | ConstPointer |
typedef super::iterator | Iterator |
typedef super::const_iterator | ConstIterator |
typedef super::reverse_iterator | ReverseIterator |
typedef super::const_reverse_iterator | ConstReverseIterator |
typedef super::size_type | Size |
typedef super::difference_type | Difference |
typedef super::allocator_type | Allocator |
typedef platform::SSize | SSize |
Public Member Functions | |
vectorL (allocator_type const &alloc=allocator_type()) | |
Default constructor. | |
vectorL (vectorL const &v) | |
Copy constructor. | |
template<ssize_type L_, typename T_ , typename A_ > | |
vectorL (vectorL< L_, T_, A_ > const &v) | |
Assignable copy constructor. | |
vectorL (super const &v) | |
std::vector constructor | |
template<typename T_ , typename A_ > | |
vectorL (std::vector< T_, A_ > const &v) | |
Assignable std::vector constructor. | |
vectorL (size_type const num) | |
Size constructor. | |
vectorL (size_type const num, value_type const &value, allocator_type const &alloc=allocator_type()) | |
Uniform value constructor. | |
template<typename InputIterator > | |
vectorL (InputIterator const beg, InputIterator const end, allocator_type const &alloc=allocator_type()) | |
Iterator range constructor. | |
virtual | ~vectorL () |
Destructor. | |
vectorL & | operator= (vectorL const &v) |
Copy assignment. | |
template<ssize_type L_, typename T_ , typename A_ > | |
vectorL & | operator= (vectorL< L_, T_, A_ > const &v) |
Assignable copy assignment. | |
vectorL & | operator= (super const &v) |
std::vector assignment | |
template<typename T_ , typename A_ > | |
vectorL & | operator= (std::vector< T_, A_ > const &v) |
Assignable std::vector assignment. | |
super const & | vector () const |
std::vector const explicit conversion | |
super & | vector () |
std::vector explicit conversion | |
void | shrink () |
Shrink the index map to remove unused capacity. | |
bool | has (index_type const i) const |
Has an element with an index? | |
const_reference | operator[] (index_type const i) const |
vectorL[ i ] const | |
reference | operator[] (index_type const i) |
vectorL[ i ] | |
const_reference | at (index_type const i) const |
vectorL.at( i ) const | |
reference | at (index_type const i) |
vectorL.at( i ) | |
index_type | l () const |
Lower index. | |
index_type | u () const |
Upper index. | |
void | swap (vectorL &v) |
swap( vectorL ) | |
Public Attributes | |
typedef | vectorL_IndexSelector< L > = 0 >::index_type index_type |
Friends | |
bool | operator== (vectorL const &a, vectorL const &b) |
vectorL == vectorL | |
bool | operator!= (vectorL const &a, vectorL const &b) |
vectorL != vectorL | |
bool | operator< (vectorL const &a, vectorL const &b) |
vectorL < vectorL | |
bool | operator<= (vectorL const &a, vectorL const &b) |
vectorL <= vectorL | |
bool | operator>= (vectorL const &a, vectorL const &b) |
vectorL >= vectorL | |
bool | operator> (vectorL const &a, vectorL const &b) |
vectorL > vectorL | |
bool | operator== (vectorL const &a, super const &b) |
vectorL == std::vector | |
bool | operator!= (vectorL const &a, super const &b) |
vectorL != std::vector | |
bool | operator< (vectorL const &a, super const &b) |
vectorL < std::vector | |
bool | operator<= (vectorL const &a, super const &b) |
vectorL <= std::vector | |
bool | operator>= (vectorL const &a, super const &b) |
vectorL >= std::vector | |
bool | operator> (vectorL const &a, super const &b) |
vectorL > std::vector | |
bool | operator== (super const &a, vectorL const &b) |
std::vector == vectorL | |
bool | operator!= (super const &a, vectorL const &b) |
std::vector != vectorL | |
bool | operator< (super const &a, vectorL const &b) |
std::vector < vectorL | |
bool | operator<= (super const &a, vectorL const &b) |
std::vector <= vectorL | |
bool | operator>= (super const &a, vectorL const &b) |
std::vector >= vectorL | |
bool | operator> (super const &a, vectorL const &b) |
std::vector > vectorL | |
void | swap (vectorL &a, vectorL &b) |
swap( vectorL, vectorL ) | |
void | swap (vectorL &a, super &b) |
swap( vectorL, std::vector ) | |
void | swap (super &a, vectorL &b) |
swap( std::vector, vectorL ) |
std::vector with L-based indexing: bool specialization
typedef super::allocator_type utility::vectorL< L, bool, A >::Allocator |
typedef super::allocator_type utility::vectorL< L, bool, A >::allocator_type |
typedef super::const_iterator utility::vectorL< L, bool, A >::const_iterator |
typedef super::const_pointer utility::vectorL< L, bool, A >::const_pointer |
typedef super::const_reference utility::vectorL< L, bool, A >::const_reference |
typedef super::const_reverse_iterator utility::vectorL< L, bool, A >::const_reverse_iterator |
typedef super::const_iterator utility::vectorL< L, bool, A >::ConstIterator |
typedef super::const_pointer utility::vectorL< L, bool, A >::ConstPointer |
typedef super::const_reference utility::vectorL< L, bool, A >::ConstReference |
typedef super::const_reverse_iterator utility::vectorL< L, bool, A >::ConstReverseIterator |
typedef super::difference_type utility::vectorL< L, bool, A >::Difference |
typedef super::difference_type utility::vectorL< L, bool, A >::difference_type |
typedef super::iterator utility::vectorL< L, bool, A >::Iterator |
typedef super::iterator utility::vectorL< L, bool, A >::iterator |
typedef super::pointer utility::vectorL< L, bool, A >::Pointer |
typedef super::pointer utility::vectorL< L, bool, A >::pointer |
typedef super::reference utility::vectorL< L, bool, A >::reference |
typedef super::reference utility::vectorL< L, bool, A >::Reference |
typedef super::reverse_iterator utility::vectorL< L, bool, A >::reverse_iterator |
typedef super::reverse_iterator utility::vectorL< L, bool, A >::ReverseIterator |
typedef super::size_type utility::vectorL< L, bool, A >::Size |
typedef super::size_type utility::vectorL< L, bool, A >::size_type |
typedef platform::SSize utility::vectorL< L, bool, A >::SSize |
typedef ssize_t utility::vectorL< L, bool, A >::ssize_type |
typedef super::value_type utility::vectorL< L, bool, A >::Value |
typedef super::value_type utility::vectorL< L, bool, A >::value_type |
utility::vectorL< L, bool, A >::vectorL | ( | allocator_type const & | alloc = allocator_type() | ) | [inline, explicit] |
Default constructor.
utility::vectorL< L, bool, A >::vectorL | ( | vectorL< L, bool, A > const & | v | ) | [inline] |
Copy constructor.
utility::vectorL< L, bool, A >::vectorL | ( | vectorL< L_, T_, A_ > const & | v | ) | [inline] |
Assignable copy constructor.
utility::vectorL< L, bool, A >::vectorL | ( | super const & | v | ) | [inline, explicit] |
std::vector constructor
utility::vectorL< L, bool, A >::vectorL | ( | std::vector< T_, A_ > const & | v | ) | [inline, explicit] |
Assignable std::vector constructor.
utility::vectorL< L, bool, A >::vectorL | ( | size_type const | num | ) | [inline, explicit] |
Size constructor.
utility::vectorL< L, bool, A >::vectorL | ( | size_type const | num, |
value_type const & | value, | ||
allocator_type const & | alloc = allocator_type() |
||
) | [inline] |
Uniform value constructor.
utility::vectorL< L, bool, A >::vectorL | ( | InputIterator const | beg, |
InputIterator const | end, | ||
allocator_type const & | alloc = allocator_type() |
||
) | [inline] |
Iterator range constructor.
virtual utility::vectorL< L, bool, A >::~vectorL | ( | ) | [inline, virtual] |
Destructor.
const_reference utility::vectorL< L, bool, A >::at | ( | index_type const | i | ) | const [inline] |
vectorL.at( i ) const
References utility::vectorL< L, T, A >::at().
reference utility::vectorL< L, bool, A >::at | ( | index_type const | i | ) | [inline] |
vectorL.at( i )
References utility::vectorL< L, T, A >::at().
bool utility::vectorL< L, bool, A >::has | ( | index_type const | i | ) | const [inline] |
Has an element with an index?
References amino_acids::size.
index_type utility::vectorL< L, bool, A >::l | ( | ) | const [inline] |
Lower index.
vectorL& utility::vectorL< L, bool, A >::operator= | ( | vectorL< L_, T_, A_ > const & | v | ) | [inline] |
Assignable copy assignment.
vectorL& utility::vectorL< L, bool, A >::operator= | ( | std::vector< T_, A_ > const & | v | ) | [inline] |
Assignable std::vector assignment.
vectorL& utility::vectorL< L, bool, A >::operator= | ( | vectorL< L, bool, A > const & | v | ) | [inline] |
Copy assignment.
References utility::vectorL< L, T, A >::operator=().
vectorL& utility::vectorL< L, bool, A >::operator= | ( | super const & | v | ) | [inline] |
std::vector assignment
References utility::vectorL< L, T, A >::operator=().
const_reference utility::vectorL< L, bool, A >::operator[] | ( | index_type const | i | ) | const [inline] |
vectorL[ i ] const
References utility::vectorL< L, T, A >::operator[](), and amino_acids::size.
reference utility::vectorL< L, bool, A >::operator[] | ( | index_type const | i | ) | [inline] |
vectorL[ i ]
References utility::vectorL< L, T, A >::operator[](), and amino_acids::size.
void utility::vectorL< L, bool, A >::shrink | ( | ) | [inline] |
Shrink the index map to remove unused capacity.
References amino_acids::size, and utility::vectorL< L, T, A >::vectorL().
void utility::vectorL< L, bool, A >::swap | ( | vectorL< L, bool, A > & | v | ) | [inline] |
index_type utility::vectorL< L, bool, A >::u | ( | ) | const [inline] |
Upper index.
References basic::options::OptionKeys::score::empty, and amino_acids::size.
super const& utility::vectorL< L, bool, A >::vector | ( | ) | const [inline] |
std::vector const explicit conversion
super& utility::vectorL< L, bool, A >::vector | ( | ) | [inline] |
std::vector explicit conversion
bool operator!= | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL != std::vector
bool operator!= | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector != vectorL
bool operator< | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL < std::vector
bool operator< | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector < vectorL
bool operator<= | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector <= vectorL
bool operator<= | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL <= std::vector
bool operator== | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector == vectorL
bool operator== | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL == std::vector
bool operator> | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector > vectorL
bool operator> | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL > std::vector
bool operator>= | ( | super const & | a, |
vectorL< L, bool, A > const & | b | ||
) | [friend] |
std::vector >= vectorL
bool operator>= | ( | vectorL< L, bool, A > const & | a, |
super const & | b | ||
) | [friend] |
vectorL >= std::vector
swap( vectorL, std::vector )
void swap | ( | vectorL< L, bool, A > & | a, |
vectorL< L, bool, A > & | b | ||
) | [friend] |
swap( vectorL, vectorL )
swap( std::vector, vectorL )
typedef utility::vectorL< L, bool, A >::vectorL_IndexSelector< L > = 0 >::index_type index_type |