Go to the documentation of this file. 1 #ifndef __JTOOLS__JTUPLE__
2 #define __JTOOLS__JTUPLE__
46 public JMath < JTuple<T> >,
157 first = va_arg(ap, T);
170 return in >> tuple.
first;
183 return out << tuple.
first;
196 return in >> tuple.
first;
209 return out << tuple.
first;
221 template<
class JHead_t,
class JTail_t>
223 public JMath < JTuple< JTypeList<JHead_t, JTail_t> > >,
224 public JComparable< JTuple< JTypeList<JHead_t, JTail_t> > >
291 second.add(tuple.second);
306 second.sub(tuple.second);
351 return second < tuple.second;
364 first = va_arg(ap, JHead_t);
443 template<
class JHead_t,
class JTail_t>
445 public JMath < JTuple<JTypeList<JHead_t, JTypeList<JTail_t, JNullType> > > >,
446 public JComparable< JTuple<JTypeList<JHead_t, JTypeList<JTail_t, JNullType> > > >
479 second(__second.
first)
506 second += tuple.second;
521 second -= tuple.second;
566 return second < tuple.second;
579 first = va_arg(ap, JHead_t);
580 second = va_arg(ap, JTail_t);
657 template<
class JHead_t>
811 JTuple<typename JTYPELIST<A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z>::typelist>
839 return JTuple<typename JTYPELIST<A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z>::typelist>(a,
make_tuple(b,c,d,e,f,g,h,i,
j,k,l,m,
n,o,p,q,
r,s,t,
u,
v,
w,x,y,z));
856 template<
class JObject_t,
class JHead_t,
class JTail_t,
class T>
880 template<
class JObject_t,
class JTypelist_t,
class T>
897 template<
class JObject_t,
class T>
Interface for binary input.
Auxiliary class for a type holder.
Auxiliary class for no type definition.
JArgument< T >::argument_type argument_type
Auxiliary class for recursive type list generation.
Template for generic class types.
Auxiliary base class for aritmetic operations of derived class types.
JTuple< typename JTYPELIST< A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z >::typelist > make_tuple(const A &a, const B &b=JNullType(), const C &c=JNullType(), const D &d=JNullType(), const E &e=JNullType(), const F &f=JNullType(), const G &g=JNullType(), const H &h=JNullType(), const I &i=JNullType(), const J &j=JNullType(), const K &k=JNullType(), const L &l=JNullType(), const M &m=JNullType(), const N &n=JNullType(), const O &o=JNullType(), const P &p=JNullType(), const Q &q=JNullType(), const R &r=JNullType(), const S &s=JNullType(), const T &t=JNullType(), const U &u=JNullType(), const V &v=JNullType(), const W &w=JNullType(), const X &x=JNullType(), const Y &y=JNullType(), const Z &z=JNullType())
Helper method for tuple.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Interface for binary output.
static const uint32_t K[64]
JObject_t & for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
Template definition of auxiliary base class for comparison of data structures.
Wrapper class for integer value.