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

#include <CSignedInteger.h>

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

Public Member Functions

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

Private Attributes

NumberTraits< T >::IsSigned myIsSigned

Detailed Description

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

Aim: Concept checking for Signed Integer.

Description of concept 'CSignedInteger'

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 IsSigned. typename NumberTraits<X>::IsSigned TagTrue

Invariants

Models

short, int, long long, int16_t, int32_t, int64_t.

Notes

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

Definition at line 112 of file CSignedInteger.h.


Member Function Documentation

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

Definition at line 116 of file CSignedInteger.h.

References DGtal::ConceptUtils::checkTrue(), and DGtal::CSignedInteger< T >::myIsSigned.

{
// Will compile iff Signed.
}

Field Documentation

template<typename T >
NumberTraits<T>::IsSigned DGtal::CSignedInteger< T >::myIsSigned
private

Reimplemented from DGtal::CInteger< T >.

Definition at line 127 of file CSignedInteger.h.

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


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