| Concept UnsignedIntegerConcept An integral type without a sign.
LessThanComparableConcept
ComparableConcept | EqualityComparableConcept
IntegerConcept
UnsignedIntegerConcept
Concept Definition Refines IntegerConcept Required Functions
operator> | C++ built-in greater-than comparison operator. (ComparableConcept)
operator>= | C++ built-in greather-than-or-equal comparison operator. (ComparableConcept)
operator< | C++ built-in less-than comparison operator. (LessThanComparableConcept)
operator<= | C++ built-in less-than-or-equal comparison operator. (ComparableConcept)
UnsignedIntegerConcept<T> Include Headers seqan/basic.h Remarks Expects an instance of type T to represent non-negative integral values and to provide the same operations as unsigned int. Every type T that fulfills the IntegerConcept fulfills either the SignedIntegerConcept or the UnsignedIntegerConcept. Functions
appendValue | Appends a value to a container.
createCompressedSa | This functions creates a compressed suffix array with a specified compression factor.
getCharacter | Returns the character of a given position within the prefix sum table.
getValue | Returns the prefix sum of a given position.
prefixSum | Returns a reference to the entry of the prefix sum table of a given position.
resize | Resize the prefix sum table to be able to store more or less characters.
sentinelPosition | Returns whether a specified position is a sentinel position.
setPrefixSum | Returns a reference to the entry of the prefix-sum table of a given position.
toSuffixPosition | This function computes the position of a specified position in the suffix array (additionally containing entries for the sentinels. The returned position correspond to the suffix array of the original text without sentinels.
value | Returns the value stored at a specified position in the compressed suffix-array.
Examples //SEQAN_CONCEPT_ASSERT((UnsignedIntegerConcept<int>)); // fails to compile SEQAN_CONCEPT_ASSERT((UnsignedIntegerConcept<unsigned short>)); std::cout << Is<UnsignedIntegerConcept<char> >::VALUE << std::endl; // 0 std::cout << Is<UnsignedIntegerConcept<int> >::VALUE << std::endl; // 0 std::cout << Is<UnsignedIntegerConcept<unsigned short> >::VALUE << std::endl; // 1 std::cout << Is<UnsignedIntegerConcept<double> >::VALUE << std::endl; // 0 Valid expressions: T a; unsigned int b; a = 1u; b = a; std::cout << static_cast<T>(0) < static_cast<T>(-1) << std::endl; // 1 See Also IntegerConcept SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2014/10/13 16:12:57