Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
b5248da8
Commit
b5248da8
authored
Nov 07, 2018
by
gineshidalgo99
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed pendantic warnings
parent
3c99dc96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
cvdef.h
modules/core/include/opencv2/core/cvdef.h
+11
-11
mat.hpp
modules/core/include/opencv2/core/mat.hpp
+5
-5
features2d.hpp
modules/features2d/include/opencv2/features2d.hpp
+1
-1
No files found.
modules/core/include/opencv2/core/cvdef.h
View file @
b5248da8
...
...
@@ -425,7 +425,7 @@ as well as exposing the C++11 enum class members for backwards compatibility
@code
// Provides operators required for flag enums
CV_ENUM_FLAGS(AccessFlag)
;
CV_ENUM_FLAGS(AccessFlag)
// Exposes the listed members of the enum class AccessFlag to the current namespace
CV_ENUM_CLASS_EXPOSE(AccessFlag, ACCESS_READ [, ACCESS_WRITE [, ...] ]);
...
...
@@ -539,18 +539,18 @@ static inline EnumType& operator^=(EnumType& _this, const Arg1Type& val)
__CV_EXPAND(__CV_CAT(__CV_ENUM_CLASS_EXPOSE_, __CV_VA_NUM_ARGS(__VA_ARGS__))(EnumType, __VA_ARGS__)); \
#define CV_ENUM_FLAGS(EnumType) \
__CV_ENUM_FLAGS_LOGICAL_NOT (EnumType)
;
\
__CV_ENUM_FLAGS_LOGICAL_EQ (EnumType, int)
;
\
__CV_ENUM_FLAGS_LOGICAL_NOT_EQ (EnumType, int)
;
\
__CV_ENUM_FLAGS_LOGICAL_NOT (EnumType)
\
__CV_ENUM_FLAGS_LOGICAL_EQ (EnumType, int)
\
__CV_ENUM_FLAGS_LOGICAL_NOT_EQ (EnumType, int)
\
\
__CV_ENUM_FLAGS_BITWISE_NOT (EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_OR (EnumType, EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_AND (EnumType, EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_XOR (EnumType, EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_NOT (EnumType)
\
__CV_ENUM_FLAGS_BITWISE_OR (EnumType, EnumType, EnumType)
\
__CV_ENUM_FLAGS_BITWISE_AND (EnumType, EnumType, EnumType)
\
__CV_ENUM_FLAGS_BITWISE_XOR (EnumType, EnumType, EnumType)
\
\
__CV_ENUM_FLAGS_BITWISE_OR_EQ (EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_AND_EQ (EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_XOR_EQ (EnumType, EnumType)
;
\
__CV_ENUM_FLAGS_BITWISE_OR_EQ (EnumType, EnumType)
\
__CV_ENUM_FLAGS_BITWISE_AND_EQ (EnumType, EnumType)
\
__CV_ENUM_FLAGS_BITWISE_XOR_EQ (EnumType, EnumType)
\
/****************************************************************************************\
* static analysys *
...
...
modules/core/include/opencv2/core/mat.hpp
View file @
b5248da8
...
...
@@ -63,8 +63,8 @@ namespace cv
enum
AccessFlag
{
ACCESS_READ
=
1
<<
24
,
ACCESS_WRITE
=
1
<<
25
,
ACCESS_RW
=
3
<<
24
,
ACCESS_MASK
=
ACCESS_RW
,
ACCESS_FAST
=
1
<<
26
};
CV_ENUM_FLAGS
(
AccessFlag
)
;
__CV_ENUM_FLAGS_BITWISE_AND
(
AccessFlag
,
int
,
AccessFlag
)
;
CV_ENUM_FLAGS
(
AccessFlag
)
__CV_ENUM_FLAGS_BITWISE_AND
(
AccessFlag
,
int
,
AccessFlag
)
CV__DEBUG_NS_BEGIN
...
...
@@ -259,8 +259,8 @@ protected:
void
init
(
int
_flags
,
const
void
*
_obj
);
void
init
(
int
_flags
,
const
void
*
_obj
,
Size
_sz
);
};
CV_ENUM_FLAGS
(
_InputArray
::
KindFlag
)
;
__CV_ENUM_FLAGS_BITWISE_AND
(
_InputArray
::
KindFlag
,
int
,
_InputArray
::
KindFlag
)
;
CV_ENUM_FLAGS
(
_InputArray
::
KindFlag
)
__CV_ENUM_FLAGS_BITWISE_AND
(
_InputArray
::
KindFlag
,
int
,
_InputArray
::
KindFlag
)
/** @brief This type is very similar to InputArray except that it is used for input/output and output function
parameters.
...
...
@@ -563,7 +563,7 @@ struct CV_EXPORTS UMatData
int
mapcount
;
UMatData
*
originalUMatData
;
};
CV_ENUM_FLAGS
(
UMatData
::
MemoryFlag
)
;
CV_ENUM_FLAGS
(
UMatData
::
MemoryFlag
)
struct
CV_EXPORTS
MatSize
...
...
modules/features2d/include/opencv2/features2d.hpp
View file @
b5248da8
...
...
@@ -1199,7 +1199,7 @@ enum struct DrawMatchesFlags
DRAW_RICH_KEYPOINTS
=
4
//!< For each keypoint the circle around keypoint with keypoint size and
//!< orientation will be drawn.
};
CV_ENUM_FLAGS
(
DrawMatchesFlags
)
;
CV_ENUM_FLAGS
(
DrawMatchesFlags
)
/** @brief Draws keypoints.
...
...
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