Class
TripleStore three arbitrary object.
Store three arbitrary object.
Implements | ComparableConcept, LessThanComparableConcept |
---|---|
All Subcl's | PackedTriple |
All Impl'd | ComparableConcept, EqualityComparableConcept, LessThanComparableConcept |
Defined in | <seqan/basic.h> |
Signature |
template <typename T1, typename T3, typename T3[, typename TSpec]>
class Triple;
|
Template Parameters
T1 |
Type of first object. |
---|---|
T2 |
Type of second object. |
T3 |
Type of third object. |
TSpec |
Tag for specialization (Default: void). |
Member Function Overview
-
Triple::Triple(), Triple::Triple(other), Triple::Triple(x1, x2, x3)
Default and copy construction and construction with three objects.
Member Functions Inherited From ComparableConcept
Member Functions Inherited From EqualityComparableConcept
Member Functions Inherited From LessThanComparableConcept
Interface Function Overview
-
void assignValueI1(triple, val);
Set first entry of a triple. -
void assignValueI2(triple, val);
Set second entry of a triple. -
void assignValueI3(triple, val);
Set third entry of a triple. -
T1 getValue(triple);
The get-value of the Triple's first entry. -
T2 getValue(triple);
The get-value of the Triple's second entry. -
T3 getValue(triple);
The get-value of the Triple's third entry. -
void setValueI1(triple, val);
Set first entry of a triple. -
void setValueI2(triple, val);
Set second entry of a triple. -
void setValueI3(triple, val);
Set third entry of a triple.
Interface Functions Inherited From ComparableConcept
Interface Metafunction Overview
-
LENGTH<TTriple>::VALUE
Return (only type-depending) length of a triple: 3. -
Spec<TTriple>::Type;
Return specialization tag. -
Value<TTriple, I>::Type;
Return ith type of the triple.
Member Variable Overview
-
T1 Triple::i1
First value of triple. -
T2 Triple::i2
Second value of triple. -
T3 Triple::i3
Third value of triple.
Member Functions Detail
Triple::Triple()
Triple::Triple(other)
Triple::Triple(x1, x2, x3)
Default and copy construction and construction with three objects.
Parameters
other
|
Other Triple object to copy from. |
---|---|
x1
|
First object. |
x2
|
Second object. |
x3
|
Third object. |
x1 must be convertible to T1, x2 to T2, x3 to T3. For example, a Triple of three int values can be constructed with three double values.
Data Races
Thread safety unknown!
Interface Functions Detail
void assignValueI1(triple, val);
Set first entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's first entry. |
Data Races
Thread safety unknown!
void assignValueI2(triple, val);
Set second entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's second entry. |
Data Races
Thread safety unknown!
void assignValueI3(triple, val);
Set third entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's third entry. |
Data Races
Thread safety unknown!
T1 getValue(triple);
The get-value of the Triple's first entry.
Parameters
triple
|
The triple to get entry from. |
---|
Returns
T1 |
The first entry of the Triple. |
---|
Data Races
Thread safety unknown!
T2 getValue(triple);
The get-value of the Triple's second entry.
Parameters
triple
|
The triple to get entry from. |
---|
Returns
T2 |
The second entry of the Triple. |
---|
Data Races
Thread safety unknown!
T3 getValue(triple);
The get-value of the Triple's third entry.
Parameters
triple
|
The triple to get entry from. |
---|
Returns
T3 |
The third entry of the Triple. |
---|
Data Races
Thread safety unknown!
void setValueI1(triple, val);
Set first entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's first entry. |
Data Races
Thread safety unknown!
void setValueI2(triple, val);
Set second entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's second entry. |
Data Races
Thread safety unknown!
void setValueI3(triple, val);
Set third entry of a triple.
Parameters
triple
|
The triple to get entry from. |
---|---|
val
|
Set the value of the Triple's third entry. |
Data Races
Thread safety unknown!
Member Variables Detail
T1 Triple::i1
First value of triple.
signature T1 Triple::i1;
T2 Triple::i2
Second value of triple.
signature T2 Triple::i2;
T3 Triple::i3
Third value of triple.
signature T3 Triple::i3;