Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / fluid / modules / gapi / src / api / gproto_priv.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 //
5 // Copyright (C) 2018-2019 Intel Corporation
6
7
8 #ifndef OPENCV_GAPI_GPROTO_PRIV_HPP
9 #define OPENCV_GAPI_GPROTO_PRIV_HPP
10
11 #include "opencv2/gapi/gproto.hpp"
12 #include "opencv2/gapi/garg.hpp"
13
14 #include "api/gapi_priv.hpp"
15
16 namespace cv {
17 namespace gimpl {
18 namespace proto {
19
20 // These methods are used by GModelBuilder only
21 // FIXME: Document semantics
22
23 // FIXME: GAPI_EXPORTS because of tests only!
24 // FIXME: Possible dangling reference alert!!!
25 GAPI_EXPORTS const GOrigin& origin_of (const GProtoArg &arg);
26 GAPI_EXPORTS const GOrigin& origin_of (const GArg      &arg);
27
28 bool           is_dynamic(const GArg      &arg);
29 GProtoArg      rewrap    (const GArg      &arg);
30
31 } // proto
32 } // gimpl
33 } // cv
34
35 #endif // OPENCV_GAPI_GPROTO_PRIV_HPP