DGtal  0.9.3
Public Member Functions | Private Attributes
DGtal::concepts::CUnsignedNumber< T > Struct Template Reference

#include <DGtal/kernel/CUnsignedNumber.h>

Inheritance diagram for DGtal::concepts::CUnsignedNumber< T >:
Collaboration diagram for DGtal::concepts::CUnsignedNumber< T >:

Public Member Functions


Private Attributes

NumberTraits< T >::IsUnsigned myIsUnsigned

Detailed Description

template<typename T>
struct DGtal::concepts::CUnsignedNumber< T >

Aim: Concept checking for Unsigned numbers. Models of this concept should be listed in NumberTraits class and should have the isUnsigned property.

Description of concept 'CUnsignedNumber'

Refinement of

Associated types :



Valid expressions

Name Expression Type requirements Return typePrecondition Semantics Postcondition Complexity
X should be tagged true in NumberTraits for IsUnsigned. typename NumberTraits<X>::IsUnsigned TagTrue



unsigned short, unsigned int, unsigned long long, uint16_t, uint32_t, uint64_t.


Definition at line 94 of file CUnsignedNumber.h.

Member Function Documentation


template<typename T >
DGtal::concepts::CUnsignedNumber< T >::BOOST_CONCEPT_USAGE ( CUnsignedNumber< T >  )

Definition at line 98 of file CUnsignedNumber.h.

References DGtal::concepts::ConceptUtils::checkTrue(), and DGtal::concepts::CUnsignedNumber< T >::myIsUnsigned.

99  {
100  // Will compile iff Unsigned.
102  }
void checkTrue(const TagTrue &tag)
NumberTraits< T >::IsUnsigned myIsUnsigned

Field Documentation

◆ myIsUnsigned

template<typename T >
NumberTraits<T>::IsUnsigned DGtal::concepts::CUnsignedNumber< T >::myIsUnsigned

The documentation for this struct was generated from the following file: