Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Concept::Detail Namespace Reference


Detailed Description

Namespace containing concept check implementation details.


Classes

struct  UniqueType
struct  UniqueType_bool
struct  UniqueType_int
struct  UniqueType_unsigned_int

Functions

template<typename T>
void IgnoreUnusedVariable (T)
template<class T>
void RequireBooleanExpression (const T &t)


Function Documentation

template<typename T>
void itk::Concept::Detail::IgnoreUnusedVariable (  )  [inline]

Concept checks may require a variable to be declared but not used. This function can be called with the variable to prevent the compiler warning. (BOOST)

Definition at line 115 of file itkConceptChecking.h.

Referenced by itk::Concept::CopyConstructible< T >::Constraints::const_constraints(), itk::Concept::IsFixedPoint< T >::Constraints::constraints(), itk::Concept::IsFloatingPoint< T >::Constraints::constraints(), itk::Concept::IsNonInteger< T >::Constraints::constraints(), itk::Concept::IsInteger< T >::Constraints::constraints(), itk::Concept::HasZero< T >::Constraints::constraints(), itk::Concept::HasPixelTraits< T >::Constraints::constraints(), itk::Concept::HasNumericTraits< T >::Constraints::constraints(), itk::Concept::SameDimension< D1, D2 >::Constraints::constraints(), itk::Concept::SameType< T1, T2 >::Constraints::constraints(), itk::Concept::Signed< T >::Constraints::constraints(), itk::Concept::Convertible< T1, T2 >::Constraints::constraints(), itk::Concept::CopyConstructible< T >::Constraints::constraints(), itk::Concept::DefaultConstructible< T >::Constraints::constraints(), and RequireBooleanExpression().

template<class T>
void itk::Concept::Detail::RequireBooleanExpression ( const T &  t  ) 

Concept checks may require that an expression be convertible to bool. Passing the expression to this function will enforce this requirement. (BOOST)

Definition at line 123 of file itkConceptChecking.h.

References IgnoreUnusedVariable().

Referenced by itk::Concept::Comparable< T1, T2 >::Constraints::constraints(), itk::Concept::EqualityComparable< T1, T2 >::Constraints::constraints(), itk::Concept::GreaterThanComparable< T1, T2 >::Constraints::constraints(), and itk::Concept::LessThanComparable< T1, T2 >::Constraints::constraints().


Generated at Wed Jul 30 11:58:29 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000