Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtal
1.4.2
Main Page
Related Pages
Modules
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 Functions
a
b
c
d
e
f
g
i
k
l
m
o
p
s
t
u
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
CImageCacheWritePolicy.h
1
17
#pragma once
18
31
#if defined(CImageCacheWritePolicy_RECURSES)
32
#error Recursive header files inclusion detected in CImageCacheWritePolicy.h
33
#else
// defined(CImageCacheWritePolicy_RECURSES)
35
#define CImageCacheWritePolicy_RECURSES
36
37
#if !defined CImageCacheWritePolicy_h
39
#define CImageCacheWritePolicy_h
40
42
// Inclusions
43
#include <iostream>
44
#include "DGtal/base/Common.h"
46
47
namespace
DGtal
48
{
49
namespace
concepts
50
{
52
// class CImageCacheWritePolicy
90
template
<
typename
T>
91
struct
CImageCacheWritePolicy
92
{
93
// ----------------------- Concept checks ------------------------------
94
public
:
95
96
typedef
typename
T::ImageContainer
ImageContainer
;
97
98
BOOST_CONCEPT_USAGE
(
CImageCacheWritePolicy
)
99
{
100
myT
.writeInPage(
myIC
,
myPoint
,
myValue
);
101
myT
.flushPage(
myIC
);
102
103
// check const methods.
104
checkConstConstraints
();
105
}
106
107
void
checkConstConstraints
()
const
108
{
109
}
110
111
// ------------------------- Private Datas --------------------------------
112
private
:
113
T
myT
;
// do not require T to be default constructible.
114
ImageContainer
*
myIC
;
115
typename
T::Point
myPoint
;
116
typename
T::Value
myValue
;
117
118
// ------------------------- Internals ------------------------------------
119
private
:
120
121
};
// end of concept CImageCacheWritePolicy
122
}
123
}
// namespace DGtal
124
125
// //
127
128
#endif
// !defined CImageCacheWritePolicy_h
129
130
#undef CImageCacheWritePolicy_RECURSES
131
#endif
// else defined(CImageCacheWritePolicy_RECURSES)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::concepts::CImageCacheWritePolicy
Aim: Defines the concept describing a cache write policy.
Definition:
CImageCacheWritePolicy.h:92
DGtal::concepts::CImageCacheWritePolicy::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CImageCacheWritePolicy)
Definition:
CImageCacheWritePolicy.h:98
DGtal::concepts::CImageCacheWritePolicy::ImageContainer
T::ImageContainer ImageContainer
Definition:
CImageCacheWritePolicy.h:96
DGtal::concepts::CImageCacheWritePolicy::myPoint
T::Point myPoint
Definition:
CImageCacheWritePolicy.h:115
DGtal::concepts::CImageCacheWritePolicy::myValue
T::Value myValue
Definition:
CImageCacheWritePolicy.h:116
DGtal::concepts::CImageCacheWritePolicy::myT
T myT
Definition:
CImageCacheWritePolicy.h:113
DGtal::concepts::CImageCacheWritePolicy::checkConstConstraints
void checkConstConstraints() const
Definition:
CImageCacheWritePolicy.h:107
DGtal::concepts::CImageCacheWritePolicy::myIC
ImageContainer * myIC
Definition:
CImageCacheWritePolicy.h:114
Point
MyPointD Point
Definition:
testClone2.cpp:383
Value
double Value
Definition:
testSimpleRandomAccessRangeFromPoint.cpp:38
src
DGtal
images
CImageCacheWritePolicy.h
Generated on Mon Dec 23 2024 13:18:31 for DGtal by
1.9.1