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::CBackInsertable< T > Struct Template Reference

#include <CBackInsertable.h>

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

Public Types

typedef T::value_type value_type

Public Member Functions

 BOOST_CONCEPT_USAGE (CBackInsertable)
void checkConstConstraints () const

Private Attributes

myX
value_type myV

Detailed Description

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

Aim: Represents types for which a std::back_insert_iterator can be constructed with std::back_inserter. Back Insertion Sequence are refinements of CBackInsertable. They require more services than CBackInsertable, for instance read services or erase services.

Description of concept 'CBackInsertable'

Refinement of

Associated types :

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Add to back x.push_back( e )adds the element e at the end of object x

Invariants

Models

Notes

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

Definition at line 92 of file CBackInsertable.h.


Member Typedef Documentation

template<typename T >
typedef T::value_type DGtal::CBackInsertable< T >::value_type

Reimplemented in DGtal::CPositiveIrreducibleFraction< T >.

Definition at line 96 of file CBackInsertable.h.


Member Function Documentation

template<typename T >
DGtal::CBackInsertable< T >::BOOST_CONCEPT_USAGE ( CBackInsertable< T >  )
inline
template<typename T >
void DGtal::CBackInsertable< T >::checkConstConstraints ( ) const
inline

Field Documentation

template<typename T >
value_type DGtal::CBackInsertable< T >::myV
private

Definition at line 108 of file CBackInsertable.h.

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

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

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