Public Member Functions | |
| OrderedPair (const A &_a, const B &_b) | |
| bool | operator< (const OrderedPair< A, B > &other) const |
| const A & | first () const |
| const B & | second () const |
Private Attributes | |
| A | a_ |
| B | b_ |
OrderedPair provides a means of lexigraphic comparison of a pair of objects. The pair {a1, b1} is compared to {a2, b2} by first comparing the most significant entries a1 and a2, and if they are equal, comparing the least significant entries b1 and b2.
Definition at line 59 of file SundanceOrderedTuple.hpp.
| Sundance::OrderedPair< A, B >::OrderedPair | ( | const A & | _a, |
| const B & | _b | ||
| ) | [inline] |
Definition at line 63 of file SundanceOrderedTuple.hpp.
| const A& Sundance::OrderedPair< A, B >::first | ( | ) | const [inline] |
Definition at line 83 of file SundanceOrderedTuple.hpp.
Referenced by Sundance::OrderedTriple< B, C, D >::b(), Sundance::OrderedQuartet< A, B, C, D >::b(), Sundance::OrderedQuartet< A, B, C, D >::c(), Sundance::Assembler::findNonzeroBlocks(), Sundance::Assembler::getGraph(), Sundance::Assembler::incrementalGetGraph(), Sundance::InhomogeneousEdgeLocalizedDOFMap::InhomogeneousEdgeLocalizedDOFMap(), and Sundance::operator<<().
| bool Sundance::OrderedPair< A, B >::operator< | ( | const OrderedPair< A, B > & | other | ) | const [inline] |
Definition at line 67 of file SundanceOrderedTuple.hpp.
| const B& Sundance::OrderedPair< A, B >::second | ( | ) | const [inline] |
Definition at line 86 of file SundanceOrderedTuple.hpp.
Referenced by Sundance::OrderedTriple< B, C, D >::c(), Sundance::OrderedQuartet< A, B, C, D >::c(), Sundance::OrderedQuartet< A, B, C, D >::d(), Sundance::Assembler::findNonzeroBlocks(), Sundance::Assembler::getGraph(), and Sundance::Assembler::incrementalGetGraph().
A Sundance::OrderedPair< A, B >::a_ [private] |
Definition at line 89 of file SundanceOrderedTuple.hpp.
Referenced by Sundance::OrderedPair< C, D >::first(), and Sundance::OrderedPair< C, D >::operator<().
B Sundance::OrderedPair< A, B >::b_ [private] |
Definition at line 90 of file SundanceOrderedTuple.hpp.
Referenced by Sundance::OrderedPair< C, D >::operator<(), and Sundance::OrderedPair< C, D >::second().