DGtal
0.6.devel
|
#include <CBackInsertable.h>
Public Types | |
typedef T::value_type | value_type |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CBackInsertable) | |
void | checkConstConstraints () const |
Private Attributes | |
T | myX |
value_type | myV |
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'
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 |
T | the type that should be a model of CBackInsertable. |
Definition at line 92 of file CBackInsertable.h.
typedef T::value_type DGtal::CBackInsertable< T >::value_type |
Reimplemented in DGtal::CPositiveIrreducibleFraction< T >.
Definition at line 96 of file CBackInsertable.h.
|
inline |
Definition at line 97 of file CBackInsertable.h.
References DGtal::CBackInsertable< T >::checkConstConstraints(), DGtal::CBackInsertable< T >::myV, and DGtal::CBackInsertable< T >::myX.
|
inline |
Reimplemented in DGtal::CPositiveIrreducibleFraction< T >.
Definition at line 102 of file CBackInsertable.h.
Referenced by DGtal::CBackInsertable< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 108 of file CBackInsertable.h.
Referenced by DGtal::CBackInsertable< T >::BOOST_CONCEPT_USAGE().
|
private |
Reimplemented in DGtal::CPositiveIrreducibleFraction< T >.
Definition at line 107 of file CBackInsertable.h.
Referenced by DGtal::CBackInsertable< T >::BOOST_CONCEPT_USAGE().