Subversion Repositories gelsvn

Rev

Rev 45 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45 Rev 595
-
 
1
/* ----------------------------------------------------------------------- *
-
 
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
-
 
3
 * Copyright (C) the authors and DTU Informatics
-
 
4
 * For license and list of authors, see ../../doc/intro.pdf
-
 
5
 * ----------------------------------------------------------------------- */
-
 
6
 
-
 
7
/** @file ArithVecInt.h
-
 
8
 * @brief Abstract integer vector class
-
 
9
 */
-
 
10
 
1
#ifndef __CGLA__ARITHVECINT_H__
11
#ifndef __CGLA__ARITHVECINT_H__
2
#define __CGLA__ARITHVECINT_H__
12
#define __CGLA__ARITHVECINT_H__
3
 
13
 
4
#include "ArithVec.h"
14
#include "ArithVec.h"
5
 
15
 
6
namespace CGLA {
16
namespace CGLA {
7
 
17
 
8
	template<class T, class V, unsigned int N>
18
	template<class T, class V, unsigned int N>
9
	class ArithVecInt: public ArithVec<T,V,N>
19
	class ArithVecInt: public ArithVec<T,V,N>
10
	{
20
	{
11
	public:
21
	public:
12
 
22
 
13
		ArithVecInt() {}
23
		ArithVecInt() {}
14
 
24
 
15
		ArithVecInt(T a): 
25
		ArithVecInt(T a): 
16
			ArithVec<T,V,N>(a) {}
26
			ArithVec<T,V,N>(a) {}
17
 
27
 
18
		ArithVecInt(T a, T b): 
28
		ArithVecInt(T a, T b): 
19
			ArithVec<T,V,N>(a,b) {}
29
			ArithVec<T,V,N>(a,b) {}
20
 
30
 
21
		ArithVecInt(T a, T b, T c): 
31
		ArithVecInt(T a, T b, T c): 
22
			ArithVec<T,V,N>(a,b,c) {}
32
			ArithVec<T,V,N>(a,b,c) {}
23
 
33
 
24
		ArithVecInt(T a, T b, T c, T d): 
34
		ArithVecInt(T a, T b, T c, T d): 
25
			ArithVec<T,V,N>(a,b,c,d) {}
35
			ArithVec<T,V,N>(a,b,c,d) {}
26
 
36
 
27
	};
37
	};
28
}
38
}
29
 
39
 
30
#endif
40
#endif
31
 
41
 
32
 
42