Fix the comments in CombinedUpdateRenderController
[platform/core/uifw/dali-adaptor.git] / adaptors / emscripten / wrappers / type-info-wrapper.h
1 #ifndef __DALI_TYPE_INFO_WRAPPER_H__
2 #define __DALI_TYPE_INFO_WRAPPER_H__
3
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <dali/public-api/dali-core.h>
23
24 #include "emscripten/emscripten.h"
25 #include "emscripten/bind.h"
26 #include <vector>
27 #include <string>
28
29 // INTERNAL INCLUDES
30
31 namespace Dali
32 {
33 namespace Internal
34 {
35 namespace Emscripten
36 {
37
38 /**
39  * Gets all properties from TypeInfo
40  *
41  * @param[in] self The TypeInfo
42  *
43  * @returns A list of property names
44  *
45  */
46 std::vector<std::string> GetAllProperties(Dali::TypeInfo self);
47
48 /**
49  * Gets all property indices from TypeInfo
50  *
51  * @param[in] self The TypeInfo
52  *
53  * @returns A list of property indices
54  *
55  */
56 std::vector<int> GetPropertyIndices(Dali::TypeInfo& self);
57
58 /**
59  * Gets all actions from TypeInfo
60  *
61  * @param[in] self The TypeInfo
62  *
63  * @returns A list of property action names
64  *
65  */
66 std::vector<std::string> GetActions(Dali::TypeInfo& self);
67
68 /**
69  * Gets all signals from TypeInfo
70  *
71  * @param[in] self The TypeInfo
72  *
73  * @returns A list of signal names
74  *
75  */
76 std::vector<std::string> GetSignals(Dali::TypeInfo& self);
77
78 /**
79  * Gets all bases classes from TypeInfo
80  *
81  * @param[in] self The TypeInfo
82  *
83  * @returns A list of base class names
84  *
85  */
86 std::vector<std::string> GetBases(Dali::TypeInfo& self);
87
88 /**
89  * Check if a TypeInfo has a base name
90  *
91  * @param[in] self The TypeInfo
92  * @param[in] baseName The base class name
93  *
94  * @returns true if baseName is a base class of self
95  *
96  */
97 bool InheritsFrom(Dali::TypeInfo& self, const std::string& baseName);
98
99 }; // namespace Emscripten
100 }; // namespace Internal
101 }; // namespace Dali
102
103 #endif // header