45 template<
class Type1,
class Type2,
class Type3>
48 template<
class Type1,
class Type2,
class Type3>
49 inline Istream&
operator>>(Istream&, Tuple3<Type1, Type2, Type3>&);
51 template<
class Type1,
class Type2,
class Type3>
52 inline Ostream&
operator<<(Ostream&,
const Tuple3<Type1, Type2, Type3>&);
59 template<
class Type1,
class Type2,
class Type3>
104 inline Tuple3(
const Type1&
f,
const Type2&
s,
const Type3& t)
121 inline const Type1&
first()
const
127 inline Type1&
first()
133 inline const Type2&
second()
const
145 inline const Type3&
third()
const
151 inline Type3&
third()
159 friend Istream&
operator>> <Type1, Type2, Type3>
166 friend Ostream& operator<< <Type1, Type2, Type3>
174 template<
class Type1,
class Type2,
class Type3>
175 template<
class HashT1,
class HashT2,
class HashT3>
185 val = HashT1()(t.first(), val);
186 val = HashT2()(t.second(), val);
187 val = HashT3()(t.third(), val);
193 template<
class Type1,
class Type2,
class Type3>
203 template<
class Type1,
class Type2,
class Type3>
204 inline bool operator==
219 template<
class Type1,
class Type2,
class Type3>
220 inline bool operator!=
230 template<
class Type1,
class Type2,
class Type3>
234 is >> t3.f_ >> t3.s_ >> t3.t_;
238 is.
check(
"operator>>(Istream&, Tuple3<Type1, Type2, Type3>&)");
244 template<
class Type1,
class Type2,
class Type3>
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Istream & readEnd(const char *funcName)
Istream & readBegin(const char *funcName)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 3-tuple for storing three objects of different types.
static const char *const typeName
const Type3 & third() const
Return third.
const Type2 & second() const
Return second.
friend Ostream & operator(Ostream &os, const Tuple3< Type1, Type2, Type3 > &t3)
const Type1 & first() const
Return first.
Tuple3()
Null constructor for lists.
T & first()
Return the first element of the list.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void reverse(UList< T > &, const label n)
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)