Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Pitiot
CGoGN
Commits
77055cac
Commit
77055cac
authored
May 03, 2012
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bla
parent
d148d703
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
include/Topology/generic/attributeHandler.h
include/Topology/generic/attributeHandler.h
+5
-8
include/Topology/generic/attributeHandler.hpp
include/Topology/generic/attributeHandler.hpp
+1
-1
No files found.
include/Topology/generic/attributeHandler.h
View file @
77055cac
...
...
@@ -193,10 +193,10 @@ public:
* shortcut class for Vertex Attribute (Handler)
*/
template
<
typename
T
>
class
VertexAttribute
:
public
AttributeHandler
<
T
,
VERTEX
>
class
VertexAttribute
:
public
AttributeHandler
<
T
,
VERTEX
>
{
public:
VertexAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
VERTEX
>&
ta
)
{
this
->
AttributeHandler
<
T
,
VERTEX
>::
operator
=
(
ta
);
return
*
this
;
}
VertexAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
VERTEX
>&
ta
)
{
this
->
AttributeHandler
<
T
,
VERTEX
>::
operator
=
(
ta
);
return
*
this
;
}
};
/**
...
...
@@ -206,7 +206,7 @@ template <typename T>
class
EdgeAttribute
:
public
AttributeHandler
<
T
,
EDGE
>
{
public:
EdgeAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
EDGE
>&
ta
)
{
this
->
AttributeHandler
<
T
,
EDGE
>::
operator
=
(
ta
);
return
*
this
;
}
EdgeAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
EDGE
>&
ta
)
{
this
->
AttributeHandler
<
T
,
EDGE
>::
operator
=
(
ta
);
return
*
this
;
}
};
/**
...
...
@@ -216,7 +216,7 @@ template <typename T>
class
FaceAttribute
:
public
AttributeHandler
<
T
,
FACE
>
{
public:
FaceAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
FACE
>&
ta
)
{
this
->
AttributeHandler
<
T
,
FACE
>::
operator
=
(
ta
);
return
*
this
;
}
FaceAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
FACE
>&
ta
)
{
this
->
AttributeHandler
<
T
,
FACE
>::
operator
=
(
ta
);
return
*
this
;
}
};
/**
...
...
@@ -226,12 +226,9 @@ template <typename T>
class
VolumeAttribute
:
public
AttributeHandler
<
T
,
VOLUME
>
{
public:
VolumeAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
VOLUME
>&
ta
)
{
this
->
AttributeHandler
<
T
,
VOLUME
>::
operator
=
(
ta
);
return
*
this
;
}
VolumeAttribute
<
T
>&
operator
=
(
const
AttributeHandler
<
T
,
VOLUME
>&
ta
)
{
this
->
AttributeHandler
<
T
,
VOLUME
>::
operator
=
(
ta
);
return
*
this
;
}
};
}
// namespace CGoGN
#include "Topology/generic/attributeHandler.hpp"
...
...
include/Topology/generic/attributeHandler.hpp
View file @
77055cac
...
...
@@ -86,7 +86,7 @@ inline AttributeHandler<T, ORBIT>& AttributeHandler<T, ORBIT>::operator=(const A
valid
=
ta
.
valid
;
if
(
valid
)
registerInMap
()
;
return
*
this
;
return
*
this
;
}
template
<
typename
T
,
unsigned
int
ORBIT
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment