Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtal
1.4.2
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
Variables
a
d
e
f
h
i
l
n
o
p
t
w
x
Typedefs
a
b
c
d
e
i
k
l
n
o
p
r
s
u
v
z
Enumerations
Enumerator
a
b
c
d
e
g
h
i
j
l
m
n
o
p
s
t
u
v
w
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
c
e
f
h
i
l
m
n
o
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
l
m
o
p
r
s
t
u
v
x
y
z
Related Symbols
a
b
c
d
e
f
g
i
k
l
m
o
p
s
t
u
Examples
►
DGtal
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
CBackInsertable.h
1
17
#pragma once
18
31
#if defined(CBackInsertable_RECURSES)
32
#error Recursive header files inclusion detected in CBackInsertable.h
33
#else
// defined(CBackInsertable_RECURSES)
35
#define CBackInsertable_RECURSES
36
37
#if !defined CBackInsertable_h
39
#define CBackInsertable_h
40
42
// Inclusions
43
#include "DGtal/base/Common.h"
45
46
namespace
DGtal
47
{
48
49
namespace
concepts
50
{
51
53
// class CBackInsertable
93
template
<
typename
T>
94
struct
CBackInsertable
95
{
96
// ----------------------- Concept checks ------------------------------
97
public
:
98
typedef
typename
T::value_type
value_type
;
99
BOOST_CONCEPT_USAGE
(
CBackInsertable
)
100
{
101
myX
.push_back(
myV
);
102
checkConstConstraints
();
103
}
99
BOOST_CONCEPT_USAGE
(
CBackInsertable
) {
…
}
104
void
checkConstConstraints
()
const
105
{
106
}
104
void
checkConstConstraints
()
const
{
…
}
107
// ------------------------- Private Datas --------------------------------
108
private
:
109
T
myX
;
// do not require T to be default constructible.
110
value_type
myV
;
111
112
// ------------------------- Internals ------------------------------------
113
private
:
114
115
};
// end of concept CBackInsertable
94
struct
CBackInsertable
{
…
};
116
117
}
// namespace concepts
118
119
}
// namespace DGtal
120
121
// //
123
124
#endif
// !defined CBackInsertable_h
125
126
#undef CBackInsertable_RECURSES
127
#endif
// else defined(CBackInsertable_RECURSES)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CBackInsertable
Aim: Represents types for which a std::back_insert_iterator can be constructed with std::back_inserte...
Definition
CBackInsertable.h:95
DGtal::concepts::CBackInsertable::myX
T myX
Definition
CBackInsertable.h:109
DGtal::concepts::CBackInsertable::value_type
T::value_type value_type
Definition
CBackInsertable.h:98
DGtal::concepts::CBackInsertable::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CBackInsertable)
Definition
CBackInsertable.h:99
DGtal::concepts::CBackInsertable::checkConstConstraints
void checkConstConstraints() const
Definition
CBackInsertable.h:104
DGtal::concepts::CBackInsertable::myV
value_type myV
Definition
CBackInsertable.h:110
src
DGtal
base
CBackInsertable.h
Generated on Mon Dec 23 2024 11:13:23 for DGtal by
1.12.0