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
B
Base
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
Base
Commits
4f8bd49e
Commit
4f8bd49e
authored
Mar 30, 2020
by
Martin Marinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Checksum::Level parameter to Checksum::NumberT
parent
fb7a78b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
Test/ChecksumNumberT.hh
Test/ChecksumNumberT.hh
+9
-8
No files found.
Test/ChecksumNumberT.hh
View file @
4f8bd49e
// (C) Copyright 20
19
by Autodesk, Inc.
// (C) Copyright 20
20
by Autodesk, Inc.
#ifndef BASE_CHECKSUMLOGVALUET_HH_INCLUDE
#define BASE_CHECKSUMLOGVALUET_HH_INCLUDE
...
...
@@ -45,18 +45,19 @@ private:
};
/*!
Generic checksum class to record and compare a value of a certain type.
Generic checksum class to record and compare a value of a certain type.
*/
template
<
typename
ValueT
,
class
CompareT
=
DefaultCompareT
<
ValueT
>
>
class
NumberT
:
public
Object
{
public:
NumberT
(
const
char
*
const
_name
,
//!<[in] Checksum name.
const
CompareT
&
_comp
=
CompareT
()
//!<[in] Comparison function.
)
:
Object
(
_name
),
comp_
(
_comp
)
{}
NumberT
(
const
char
*
const
_name
,
//!<[in] Checksum name
const
Level
_lvl
=
L_ALL
,
//!<[in] Checksum level
const
CompareT
&
_comp
=
CompareT
()
//!<[in] Comparison function
)
:
Object
(
_name
,
_lvl
),
comp_
(
_comp
)
{
}
protected:
//! Generic implementation of number data comparison
...
...
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