Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
d3483500
Commit
d3483500
authored
12 years ago
by
Andreas Schenk
Browse files
Options
Downloads
Patches
Plain Diff
fixed 12 parameters ctor adapter for image state algorithm
parent
69501bf8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/img/base/src/image_state/image_state_algorithm.hh
+18
-18
18 additions, 18 deletions
modules/img/base/src/image_state/image_state_algorithm.hh
with
18 additions
and
18 deletions
modules/img/base/src/image_state/image_state_algorithm.hh
+
18
−
18
View file @
d3483500
...
@@ -34,7 +34,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -34,7 +34,7 @@ namespace ost { namespace img { namespace image_state {
/*
/*
one-time definition of the constructor adapters, allowing
one-time definition of the constructor adapters, allowing
zero to 1
0
ctor parameters to be automagically used. There
zero to 1
2
ctor parameters to be automagically used. There
is probably a recursive way to do this more elegantly...
is probably a recursive way to do this more elegantly...
this version includes a call to a base class to allow a name
this version includes a call to a base class to allow a name
...
@@ -52,14 +52,14 @@ namespace ost { namespace img { namespace image_state {
...
@@ -52,14 +52,14 @@ namespace ost { namespace img { namespace image_state {
template <class P0, \
template <class P0, \
class P1> \
class P1> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1): \
const P1& p1): \
FNC(p0,p1), BASE (FNC::GetAlgorithmName()) {} \
FNC(p0,p1), BASE (FNC::GetAlgorithmName()) {} \
/* 3 params */
\
/* 3 params */
\
template <class P0, \
template <class P0, \
class P1, \
class P1, \
class P2> \
class P2> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2): \
const P2& p2): \
FNC(p0,p1,p2), BASE (FNC::GetAlgorithmName()) {} \
FNC(p0,p1,p2), BASE (FNC::GetAlgorithmName()) {} \
/* 4 params */
\
/* 4 params */
\
...
@@ -68,7 +68,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -68,7 +68,7 @@ namespace ost { namespace img { namespace image_state {
class P2, \
class P2, \
class P3> \
class P3> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3): \
const P3& p3): \
FNC(p0,p1,p2,p3), BASE (FNC::GetAlgorithmName()) {} \
FNC(p0,p1,p2,p3), BASE (FNC::GetAlgorithmName()) {} \
...
@@ -79,7 +79,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -79,7 +79,7 @@ namespace ost { namespace img { namespace image_state {
class P3, \
class P3, \
class P4> \
class P4> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4): \
const P4& p4): \
...
@@ -92,7 +92,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -92,7 +92,7 @@ namespace ost { namespace img { namespace image_state {
class P4, \
class P4, \
class P5> \
class P5> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -107,7 +107,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -107,7 +107,7 @@ namespace ost { namespace img { namespace image_state {
class P5, \
class P5, \
class P6> \
class P6> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -124,7 +124,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -124,7 +124,7 @@ namespace ost { namespace img { namespace image_state {
class P6, \
class P6, \
class P7> \
class P7> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -143,7 +143,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -143,7 +143,7 @@ namespace ost { namespace img { namespace image_state {
class P7, \
class P7, \
class P8> \
class P8> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -164,7 +164,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -164,7 +164,7 @@ namespace ost { namespace img { namespace image_state {
class P8, \
class P8, \
class P9> \
class P9> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -187,7 +187,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -187,7 +187,7 @@ namespace ost { namespace img { namespace image_state {
class P9, \
class P9, \
class PA> \
class PA> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -212,7 +212,7 @@ namespace ost { namespace img { namespace image_state {
...
@@ -212,7 +212,7 @@ namespace ost { namespace img { namespace image_state {
class PA, \
class PA, \
class PB> \
class PB> \
CLASS (const P0& p0, \
CLASS (const P0& p0, \
const P1& p1, \
const P1& p1, \
const P2& p2, \
const P2& p2, \
const P3& p3, \
const P3& p3, \
const P4& p4, \
const P4& p4, \
...
@@ -221,8 +221,8 @@ namespace ost { namespace img { namespace image_state {
...
@@ -221,8 +221,8 @@ namespace ost { namespace img { namespace image_state {
const P7& p7, \
const P7& p7, \
const P8& p8, \
const P8& p8, \
const P9& p9, \
const P9& p9, \
const P
9
& pa, \
const P
A
& pa, \
const P
A
& pb): \
const P
B
& pb): \
FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,pa,pb), BASE (FNC::GetAlgorithmName()) {}
FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,pa,pb), BASE (FNC::GetAlgorithmName()) {}
...
@@ -356,8 +356,8 @@ private:
...
@@ -356,8 +356,8 @@ private:
*/
*/
template
<
class
FNC
>
template
<
class
FNC
>
class
TEMPLATE_EXPORT
ImageStateConstModIPAlgorithm
:
public
FNC
,
class
TEMPLATE_EXPORT
ImageStateConstModIPAlgorithm
:
public
FNC
,
public
ConstModIPAlgorithm
,
public
ConstModIPAlgorithm
,
public
ImageStateConstModIPVisitorBase
{
public
ImageStateConstModIPVisitorBase
{
public:
public:
IMAGE_STATE_VISITOR_CTOR_ADAPTERS
(
ImageStateConstModIPAlgorithm
,
ConstModIPAlgorithm
)
IMAGE_STATE_VISITOR_CTOR_ADAPTERS
(
ImageStateConstModIPAlgorithm
,
ConstModIPAlgorithm
)
...
@@ -409,8 +409,8 @@ private:
...
@@ -409,8 +409,8 @@ private:
//! out-of-place modifying image state const visitor plus op algorithm
//! out-of-place modifying image state const visitor plus op algorithm
template
<
class
FNC
>
template
<
class
FNC
>
class
TEMPLATE_EXPORT
ImageStateConstModOPAlgorithm
:
public
FNC
,
class
TEMPLATE_EXPORT
ImageStateConstModOPAlgorithm
:
public
FNC
,
public
ConstModOPAlgorithm
,
public
ConstModOPAlgorithm
,
public
ImageStateConstModOPVisitorBase
{
public
ImageStateConstModOPVisitorBase
{
public:
public:
IMAGE_STATE_VISITOR_CTOR_ADAPTERS
(
ImageStateConstModOPAlgorithm
,
ConstModOPAlgorithm
)
IMAGE_STATE_VISITOR_CTOR_ADAPTERS
(
ImageStateConstModOPAlgorithm
,
ConstModOPAlgorithm
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment