![]() |
Rosetta
2019.07
|
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 platform::SSize | 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. More... | |
vectorL (vectorL const &v) | |
Copy constructor. More... | |
template<ssize_type L_, typename T_ , typename A_ > | |
vectorL (vectorL< L_, T_, A_ > const &v) | |
Assignable copy constructor. More... | |
vectorL (super const &v) | |
std::vector constructor More... | |
template<typename T_ , typename A_ > | |
vectorL (std::vector< T_, A_ > const &v) | |
Assignable std::vector constructor. More... | |
vectorL (size_type const num) | |
Size constructor. More... | |
vectorL (size_type const num, value_type const &value, allocator_type const &alloc=allocator_type()) | |
Uniform value constructor. More... | |
template<typename InputIterator > | |
vectorL (InputIterator const beg, InputIterator const end, allocator_type const &alloc=allocator_type()) | |
Iterator range constructor. More... | |
vectorL (vectorL &&v) | |
C++11 Move constructor. More... | |
vectorL (super &&v) | |
C++11 std::vector move constructor. More... | |
vectorL (std::initializer_list< bool > init, const A &alloc=A()) | |
C++11 initializer list constructor. More... | |
virtual | ~vectorL () |
Destructor. More... | |
vectorL & | operator= (vectorL const &v) |
Copy assignment. More... | |
template<ssize_type L_, typename T_ , typename A_ > | |
vectorL & | operator= (vectorL< L_, T_, A_ > const &v) |
Assignable copy assignment. More... | |
vectorL & | operator= (super const &v) |
std::vector assignment More... | |
template<typename T_ , typename A_ > | |
vectorL & | operator= (std::vector< T_, A_ > const &v) |
Assignable std::vector assignment. More... | |
super const & | vector () const |
std::vector const explicit conversion More... | |
super & | vector () |
std::vector explicit conversion More... | |
void | shrink () |
Shrink the index map to remove unused capacity. More... | |
bool | has (index_type const i) const |
Has an element with an index? More... | |
const_reference | operator[] (index_type const i) const |
vectorL[ i ] const More... | |
reference | operator[] (index_type const i) |
vectorL[ i ] More... | |
const_reference | at (index_type const i) const |
vectorL.at( i ) const More... | |
reference | at (index_type const i) |
vectorL.at( i ) More... | |
index_type | l () const |
Lower index. More... | |
index_type | u () const |
Upper index. More... | |
vectorL< L, bool, A > | invert () const |
Inversion operator. More... | |
bool | has_value (bool const &t) const |
useful function – was commented out previously due, I think, to a conflict with has() in OptionKeys! Now renamed to has_value(). More... | |
void | swap (vectorL &v) |
swap( vectorL ) More... | |
Public Attributes | |
typedef | vectorL_IndexSelector< L > = 0 >::index_type index_type |
Private Types | |
typedef std::vector< bool, A > | super |
Static Private Attributes | |
static index_type const | l_ |
Lower index in index type. More... | |
Friends | |
bool | operator== (vectorL const &a, vectorL const &b) |
vectorL == vectorL More... | |
bool | operator!= (vectorL const &a, vectorL const &b) |
vectorL != vectorL More... | |
bool | operator< (vectorL const &a, vectorL const &b) |
vectorL < vectorL More... | |
bool | operator<= (vectorL const &a, vectorL const &b) |
vectorL <= vectorL More... | |
bool | operator>= (vectorL const &a, vectorL const &b) |
vectorL >= vectorL More... | |
bool | operator> (vectorL const &a, vectorL const &b) |
vectorL > vectorL More... | |
bool | operator== (vectorL const &a, super const &b) |
vectorL == std::vector More... | |
bool | operator!= (vectorL const &a, super const &b) |
vectorL != std::vector More... | |
bool | operator< (vectorL const &a, super const &b) |
vectorL < std::vector More... | |
bool | operator<= (vectorL const &a, super const &b) |
vectorL <= std::vector More... | |
bool | operator>= (vectorL const &a, super const &b) |
vectorL >= std::vector More... | |
bool | operator> (vectorL const &a, super const &b) |
vectorL > std::vector More... | |
bool | operator== (super const &a, vectorL const &b) |
std::vector == vectorL More... | |
bool | operator!= (super const &a, vectorL const &b) |
std::vector != vectorL More... | |
bool | operator< (super const &a, vectorL const &b) |
std::vector < vectorL More... | |
bool | operator<= (super const &a, vectorL const &b) |
std::vector <= vectorL More... | |
bool | operator>= (super const &a, vectorL const &b) |
std::vector >= vectorL More... | |
bool | operator> (super const &a, vectorL const &b) |
std::vector > vectorL More... | |
template<platform::SSize LL, typename AA > | |
void | swap (vectorL< LL, AA > &a, vectorL< LL, AA > &b) |
swap( vectorL, vectorL ) More... | |
template<platform::SSize LL, typename AA > | |
void | swap (vectorL< LL, AA > &a, std::vector< bool, AA > &b) |
swap( vectorL, std::vector ) More... | |
template<platform::SSize LL, typename AA > | |
void | swap (std::vector< bool, AA > &a, vectorL< LL, AA > &b) |
swap( std::vector, vectorL ) More... | |
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 platform::SSize utility::vectorL< L, bool, A >::ssize_type |
|
private |
typedef super::value_type utility::vectorL< L, bool, A >::Value |
typedef super::value_type utility::vectorL< L, bool, A >::value_type |
|
inlineexplicit |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Assignable copy constructor.
|
inlineexplicit |
std::vector constructor
|
inlineexplicit |
Assignable std::vector constructor.
|
inlineexplicit |
Size constructor.
|
inline |
Uniform value constructor.
|
inline |
Iterator range constructor.
|
inline |
C++11 Move constructor.
|
inlineexplicit |
C++11 std::vector move constructor.
|
inline |
C++11 initializer list constructor.
|
inlinevirtual |
Destructor.
|
inline |
vectorL.at( i ) const
References debug_assert, and utility::vectorL< SSize, T, A >::l_.
|
inline |
vectorL.at( i )
References debug_assert, and utility::vectorL< SSize, T, A >::l_.
|
inline |
Has an element with an index?
References utility::vectorL< SSize, T, A >::l_, and amino_acids::size.
|
inline |
useful function – was commented out previously due, I think, to a conflict with has() in OptionKeys! Now renamed to has_value().
References begin, and basic::options::OptionKeys::cutoutdomain::end.
|
inline |
Inversion operator.
|
inline |
Lower index.
References utility::vectorL< SSize, T, A >::l_.
|
inline |
Copy assignment.
|
inline |
Assignable copy assignment.
|
inline |
std::vector assignment
|
inline |
Assignable std::vector assignment.
|
inline |
vectorL[ i ] const
References debug_assert, utility::vectorL< SSize, T, A >::l_, and amino_acids::size.
|
inline |
vectorL[ i ]
References debug_assert, utility::vectorL< SSize, T, A >::l_, and amino_acids::size.
|
inline |
Shrink the index map to remove unused capacity.
References amino_acids::size, and utility::vectorL< SSize, T, A >::vectorL().
|
inline |
swap( vectorL )
References swap().
|
inline |
Upper index.
References debug_assert, basic::options::OptionKeys::score::empty, utility::vectorL< SSize, T, A >::l_, and amino_acids::size.
|
inline |
std::vector const explicit conversion
|
inline |
std::vector explicit conversion
|
friend |
vectorL != std::vector
|
friend |
std::vector != vectorL
|
friend |
vectorL < std::vector
|
friend |
std::vector < vectorL
|
friend |
vectorL <= std::vector
|
friend |
std::vector <= vectorL
|
friend |
vectorL == std::vector
|
friend |
std::vector == vectorL
|
friend |
vectorL > std::vector
|
friend |
std::vector > vectorL
|
friend |
vectorL >= std::vector
|
friend |
std::vector >= vectorL
|
friend |
swap( vectorL, vectorL )
|
friend |
swap( vectorL, std::vector )
|
friend |
swap( std::vector, vectorL )
|
staticprivate |
Lower index in index type.
typedef utility::vectorL< L, bool, A >::vectorL_IndexSelector< L > = 0 >::index_type index_type |