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
489bd59b
Commit
489bd59b
authored
Mar 28, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move implementation of C++ container classes to types.hpp
parent
6c071cbd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
cvstd.inl.hpp
modules/core/include/opencv2/core/cvstd.inl.hpp
+16
-0
operations.hpp
modules/core/include/opencv2/core/operations.hpp
+0
-0
types.hpp
modules/core/include/opencv2/core/types.hpp
+0
-0
No files found.
modules/core/include/opencv2/core/cvstd.inl.hpp
View file @
489bd59b
...
...
@@ -52,6 +52,22 @@ namespace cv
{
#ifndef OPENCV_NOSTL
template
<
typename
_Tp
>
class
DataType
<
std
::
complex
<
_Tp
>
>
{
public
:
typedef
std
::
complex
<
_Tp
>
value_type
;
typedef
value_type
work_type
;
typedef
_Tp
channel_type
;
enum
{
generic_type
=
0
,
depth
=
DataType
<
channel_type
>::
depth
,
channels
=
2
,
fmt
=
DataType
<
channel_type
>::
fmt
+
((
channels
-
1
)
<<
8
),
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
};
inline
String
::
String
(
const
std
::
string
&
str
)
:
cstr_
(
0
),
len_
(
0
)
{
if
(
!
str
.
empty
())
...
...
modules/core/include/opencv2/core/operations.hpp
View file @
489bd59b
This diff is collapsed.
Click to expand it.
modules/core/include/opencv2/core/types.hpp
View file @
489bd59b
This diff is collapsed.
Click to expand it.
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