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

#include <DGtal/base/CBackInsertable.h>

Inheritance diagram for DGtal::concepts::CBackInsertable< T >:
[legend]
Collaboration diagram for DGtal::concepts::CBackInsertable< T >:
[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::concepts::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 95 of file CBackInsertable.h.

Member Typedef Documentation

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

Definition at line 99 of file CBackInsertable.h.

Member Function Documentation

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

Definition at line 105 of file CBackInsertable.h.

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

106  {
107  }

Field Documentation

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

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