DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Private Attributes
DGtal::CUnsignedInteger< T > Struct Template Reference

#include <CUnsignedInteger.h>

Inheritance diagram for DGtal::CUnsignedInteger< T >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::CUnsignedInteger< T >:
Collaboration graph
[legend]

Public Member Functions

 BOOST_CONCEPT_USAGE (CUnsignedInteger)
- Public Member Functions inherited from DGtal::CInteger< T >
 BOOST_CONCEPT_USAGE (CInteger)

Private Attributes

NumberTraits< T >::IsUnsigned myIsUnsigned

Detailed Description

template<typename T>
struct DGtal::CUnsignedInteger< T >

Aim: Concept checking for Unsigned Integer.

Description of concept 'CUnsignedInteger'

Refinement of CInteger

Associated types :

Notation

Definitions

Valid expressions and

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

Invariants

Models

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

Notes

Template Parameters:
Tthe type that is checked. T should be a model of CBoundedInteger.

Definition at line 111 of file CUnsignedInteger.h.


Member Function Documentation

template<typename T >
DGtal::CUnsignedInteger< T >::BOOST_CONCEPT_USAGE ( CUnsignedInteger< T >  )
inline

Definition at line 115 of file CUnsignedInteger.h.

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

{
// Will compile iff Unsigned.
}

Field Documentation

template<typename T >
NumberTraits<T>::IsUnsigned DGtal::CUnsignedInteger< T >::myIsUnsigned
private

Reimplemented from DGtal::CInteger< T >.

Definition at line 126 of file CUnsignedInteger.h.

Referenced by DGtal::CUnsignedInteger< T >::BOOST_CONCEPT_USAGE().


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