ITK/Proposals:Concept Checking: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
No edit summary |
|||
Line 11: | Line 11: | ||
{| border="1" | {| border="1" | ||
|- bgcolor="#abcdef" | |- bgcolor="#abcdef" | ||
! Index !! Concept | ! Index !! Concept !! Description | ||
|- | |- | ||
| 1 || DefaultConstructible | | 1 || DefaultConstructible || Concept requiring T to have a default constructor. | ||
|- | |- | ||
| 2 || CopyConstructible | | 2 || CopyConstructible || Concept requiring T to have a copy constructor. | ||
|- | |- | ||
| 3 || Convertible | | 3 || Convertible || Concept requiring T1 to be convertible to T2. | ||
|- | |- | ||
| 4 || Assignable | | 4 || Assignable || Concept requiring T to have operator =. | ||
|- | |- | ||
| 5 || LessThanComparable | | 5 || LessThanComparable || Concept requiring T to have operator <. | ||
|- | |- | ||
| 6 || EqualityComparable | | 6 || EqualityComparable || Concept requiring T to have operators == and !=. | ||
|- | |- | ||
| 7 || Comparable | | 7 || Comparable || Concept requiring T to have operators <, >, <=, >=, ==, !=. | ||
|- | |- | ||
| 8 || AdditiveOperators | | 8 || AdditiveOperators || Concept requiring T to have operators +, -, +=, -=. | ||
|- | |- | ||
| 9 || MultiplicativeOperators | | 9 || MultiplicativeOperators || Concept requiring T to have operators *, /, *=, /=. | ||
|- | |- | ||
| 10 || Signed | | 10 || Signed || Concept requiring T to be signed. | ||
|- | |- | ||
| 11 || SameType | | 11 || SameType || Concept requiring T1 and T2 to be the same type. | ||
|- | |- | ||
| 12 || SameDimension | | 12 || SameDimension || Concept requiring D1 and D2 to be the same dimension. | ||
|} | |} | ||
Revision as of 09:53, 17 February 2006
Introduction
Macro Implementation
List of Concepts
See Insight/Code/Common/itkConceptChecking.h.
Index | Concept | Description |
---|---|---|
1 | DefaultConstructible | Concept requiring T to have a default constructor. |
2 | CopyConstructible | Concept requiring T to have a copy constructor. |
3 | Convertible | Concept requiring T1 to be convertible to T2. |
4 | Assignable | Concept requiring T to have operator =. |
5 | LessThanComparable | Concept requiring T to have operator <. |
6 | EqualityComparable | Concept requiring T to have operators == and !=. |
7 | Comparable | Concept requiring T to have operators <, >, <=, >=, ==, !=. |
8 | AdditiveOperators | Concept requiring T to have operators +, -, +=, -=. |
9 | MultiplicativeOperators | Concept requiring T to have operators *, /, *=, /=. |
10 | Signed | Concept requiring T to be signed. |
11 | SameType | Concept requiring T1 and T2 to be the same type. |
12 | SameDimension | Concept requiring D1 and D2 to be the same dimension. |
Integration into Filters
Schedule
Please follow the link below for a detailed list of filters and their associated concepts.