Subversion Repositories gelsvn

Rev

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

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