14 : first(), second(), third()
22 : first(A.first), second(A.second), third(A.third)
31 : first(A), second(B), third(C)
69 return (first == A.first && second == A.second && third == A.third);
95 if (second > A.second)
97 if (second < A.second)
114 return A.operator<(*this);
163template <
typename F,
typename S,
typename T>
165 : first(), second(), third()
171template <
typename F,
typename S,
typename T>
173 : first(A.first), second(A.second), third(A.third)
180template <
typename F,
typename S,
typename T>
182 : first(A), second(B), third(C)
191template <
typename F,
typename S,
typename T>
207template <
typename F,
typename S,
typename T>
214template <
typename F,
typename S,
typename T>
222 return (first == A.first && second == A.second && third == A.third);
225template <
typename F,
typename S,
typename T>
231 return !(*
this == A);
234template <
typename F,
typename S,
typename T>
246 if (second > A.second)
248 if (second < A.second)
250 if (third >= A.third)
255template <
typename F,
typename S,
typename T>
263 return A.operator<(*this);
272template class DTriple<Geometry::Rule *, int, Geometry::Rule *>;
273template class DTriple<std::string, int, int>;
274template class DTriple<int, int, double>;
275template class DTriple<int, int, std::string>;
276template class DTriple<int, double, std::string>;
277template class Triple<int>;
278template class Triple<double>;
Triple of three different things.
bool operator>(const DTriple< F, S, T > &) const
Operator> takes first to last precidence.
bool operator!=(const DTriple< F, S, T > &) const
Operator!= any component is not equal.
DTriple< F, S, T > & operator=(const DTriple< F, S, T > &)
Assignment from a 3 value input.
bool operator==(const DTriple< F, S, T > &) const
Operator== all components must be equal.
~DTriple()
Standard Destructor.
DTriple()
Standard Constructor.
bool operator<(const DTriple< F, S, T > &) const
Operator< takes first to last precidence.
Object generation rule tree.
Triple of three identical types.
bool operator==(const Triple< T > &) const
Operator== all components must be equal.
T operator[](const int A) const
Accessor Value Function.
bool operator>(const Triple< T > &) const
Operator> takes first to last precidence.
bool operator<(const Triple< T > &) const
Operator< takes first to last precidence.
Triple< T > & operator=(const Triple< T > &)
Standard Assignment Constructor.
Triple()
Standard Constructor.
bool operator!=(const Triple< T > &) const
Operator!= any component is not equal.
~Triple()
Standard Destructor.
Helper class which provides the Collimation Length for SANS instruments.