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

#include <CDigitalSet.h>

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

Public Types

typedef T::Domain Domain
typedef T::Point Point
typedef T::Size Size
typedef T::Iterator Iterator
typedef T::ConstIterator ConstIterator

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost_concepts::ReadableIteratorConcept< Iterator >))
 BOOST_CONCEPT_ASSERT ((boost_concepts::BidirectionalTraversalConcept< Iterator >))
 BOOST_CONCEPT_ASSERT ((boost_concepts::ReadableIteratorConcept< ConstIterator >))
 BOOST_CONCEPT_ASSERT ((boost_concepts::BidirectionalTraversalConcept< ConstIterator >))
 BOOST_CONCEPT_USAGE (CDigitalSet)
void checkConstConstraints () const
void checkNonConstConstraints ()

Private Attributes

myX
Domain myDomain
Size mySize
bool myBool
Point myPoint
Iterator myIterator
ConstIterator myConstIterator
PointmyOutputIt

Detailed Description

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

Aim: Represents a set of points within the given domain. This set of points is modifiable by the user.

Description of concept 'CDigitalSet'

Refinement of boost::CopyConstructible, boost::Assignable

\xrefitem todo 54.

Associated types :

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity

Invariants

Models

Notes

Template Parameters:
Tthe type that should be a model of CDigitalSet.

Definition at line 113 of file CDigitalSet.h.


Member Typedef Documentation

template<typename T >
typedef T::ConstIterator DGtal::CDigitalSet< T >::ConstIterator

Definition at line 124 of file CDigitalSet.h.

template<typename T >
typedef T::Domain DGtal::CDigitalSet< T >::Domain

Definition at line 120 of file CDigitalSet.h.

template<typename T >
typedef T::Iterator DGtal::CDigitalSet< T >::Iterator

Definition at line 123 of file CDigitalSet.h.

template<typename T >
typedef T::Point DGtal::CDigitalSet< T >::Point

Definition at line 121 of file CDigitalSet.h.

template<typename T >
typedef T::Size DGtal::CDigitalSet< T >::Size

Definition at line 122 of file CDigitalSet.h.


Member Function Documentation

template<typename T >
DGtal::CDigitalSet< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::ReadableIteratorConcept< Iterator >)  )
template<typename T >
DGtal::CDigitalSet< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::BidirectionalTraversalConcept< Iterator >)  )
template<typename T >
DGtal::CDigitalSet< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::ReadableIteratorConcept< ConstIterator >)  )
template<typename T >
DGtal::CDigitalSet< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::BidirectionalTraversalConcept< ConstIterator >)  )
template<typename T >
DGtal::CDigitalSet< T >::BOOST_CONCEPT_USAGE ( CDigitalSet< T >  )
inline

Definition at line 141 of file CDigitalSet.h.

References DGtal::CDigitalSet< T >::checkConstConstraints(), DGtal::CDigitalSet< T >::checkNonConstConstraints(), DGtal::CDigitalSet< T >::myBool, DGtal::CDigitalSet< T >::myDomain, DGtal::CDigitalSet< T >::myIterator, DGtal::CDigitalSet< T >::myOutputIt, DGtal::CDigitalSet< T >::myPoint, DGtal::CDigitalSet< T >::mySize, DGtal::CDigitalSet< T >::myX, and DGtal::ConceptUtils::sameType().

{
myX.insert( myPoint );
// template <typename PointInputIterator>
// BOOST_CONCEPT_REQUIRES
// ( ((boost::InputIterator<PointInputIterator>)),
// (void) )
// myX.insert( PointInputIterator, PointInputIterator );
myX.insertNew( myPoint );
myX.erase( myIterator );
myX.clear();
ConceptUtils::sameType( myX, myX.operator+=( myX ) );
myX.computeComplement( myOutputIt );
myX.assignFromComplement( myX );
myX.computeBoundingBox( myPoint, myPoint );
// look at CInteger.h for testing tags.
}
template<typename T >
void DGtal::CDigitalSet< T >::checkConstConstraints ( ) const
inline
template<typename T >
void DGtal::CDigitalSet< T >::checkNonConstConstraints ( )
inline

Field Documentation

template<typename T >
bool DGtal::CDigitalSet< T >::myBool
private

Definition at line 192 of file CDigitalSet.h.

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

template<typename T >
ConstIterator DGtal::CDigitalSet< T >::myConstIterator
private

Definition at line 195 of file CDigitalSet.h.

Referenced by DGtal::CDigitalSet< T >::checkConstConstraints().

template<typename T >
Domain DGtal::CDigitalSet< T >::myDomain
private

Definition at line 190 of file CDigitalSet.h.

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

template<typename T >
Iterator DGtal::CDigitalSet< T >::myIterator
private
template<typename T >
Point* DGtal::CDigitalSet< T >::myOutputIt
private

Definition at line 196 of file CDigitalSet.h.

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

template<typename T >
Point DGtal::CDigitalSet< T >::myPoint
private
template<typename T >
Size DGtal::CDigitalSet< T >::mySize
private

Definition at line 191 of file CDigitalSet.h.

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

template<typename T >
T DGtal::CDigitalSet< T >::myX
private

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