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
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a36f738f
Commit
a36f738f
authored
Jul 06, 2012
by
Stefan Philips
Browse files
[DOC] Documentation for typedefs and some forgotten parameters
parent
398982f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
src/core/dataHandler/WGridRegular3D.h
src/core/dataHandler/WGridRegular3D.h
+6
-0
src/core/dataHandler/WGridTransformOrtho.h
src/core/dataHandler/WGridTransformOrtho.h
+15
-0
No files found.
src/core/dataHandler/WGridRegular3D.h
View file @
a36f738f
...
...
@@ -68,7 +68,11 @@ class WGridRegular3DTemplate : public WGrid // NOLINT
*/
friend
class
WGridRegular3DTest
;
public:
/**
* Convenience typedef for 3d vectors of the appropriate numerical type.
*/
typedef
WMatrixFixed
<
T
,
3
,
1
>
Vector3Type
;
/**
* Convenience typedef for a boost::shared_ptr< WGridRegular3DTemplate >.
*/
...
...
@@ -87,6 +91,8 @@ public:
/**
* Copy constructor.
* Copies the data from an WGridRegular3DTemplate object with arbitary numerical type.
*
* \param rhs A WGridRegular3DTemplate object, which mustn't have the same numerical type.
*/
template
<
typename
InputType
>
WGridRegular3DTemplate
(
WGridRegular3DTemplate
<
InputType
>
const
&
rhs
);
// NOLINT -- no explicit, this allows casts
...
...
src/core/dataHandler/WGridTransformOrtho.h
View file @
a36f738f
...
...
@@ -43,7 +43,11 @@ class WGridTransformOrthoTemplate
template
<
class
U
>
friend
class
WGridTransformOrthoTemplate
;
public:
/**
* Convenience typedef for 3d vectors of the appropriate numerical type.
*/
typedef
WMatrixFixed
<
T
,
3
,
1
>
Vector3Type
;
/**
* Constructs an identity transform.
*/
...
...
@@ -52,6 +56,8 @@ public:
/**
* Copy constructor.
* Copies the data from an WGridTransformOrthoTemplate object with arbitary numerical type.
*
* \param rhs A WGridTransformOrthoTemplate object, which mustn't have the same numerical type.
*/
template
<
typename
InputType
>
WGridTransformOrthoTemplate
(
WGridTransformOrthoTemplate
<
InputType
>
const
&
rhs
);
// NOLINT -- no explicit, this allows casts
...
...
@@ -81,6 +87,10 @@ public:
/**
* Assignment operator.
* Copies the data from an WGridTransformOrthoTemplate object with arbitary numerical type.
*
* \param rhs A WGridTransformOrthoTemplate object, which mustn't have the same numerical type.
*
* \return this
*/
template
<
typename
InputType
>
WGridTransformOrthoTemplate
<
T
>&
operator
=
(
WGridTransformOrthoTemplate
<
InputType
>
const
&
rhs
);
...
...
@@ -223,6 +233,11 @@ public:
void
scale
(
VecType
const
&
scale
);
private:
/**
* This is a helper function which copies the parameter of another instance to its own.
*
* \param input A WGridTransformOrthoTemplate object with the numerical type InputType.
*/
template
<
typename
InputType
>
void
copyFrom
(
WGridTransformOrthoTemplate
<
InputType
>
const
&
input
);
...
...
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