2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 #include <dali/public-api/object/type-info.h>
23 #include <dali/internal/event/common/type-info-impl.h>
36 const std::string& TypeInfo::GetName()
38 return GetImplementation(*this).GetName();
41 const std::string& TypeInfo::GetBaseName()
43 return GetImplementation(*this).GetBaseName();
46 BaseHandle TypeInfo::CreateInstance()
48 return GetImplementation(*this).CreateInstance();
51 TypeInfo::CreateFunction TypeInfo::GetCreator()
53 return GetImplementation(*this).GetCreator();
56 TypeInfo::NameContainer TypeInfo::GetActions()
58 return GetImplementation(*this).GetActions();
61 TypeInfo::NameContainer TypeInfo::GetSignals()
63 return GetImplementation(*this).GetSignals();
66 void TypeInfo::GetPropertyIndices( Property::IndexContainer& indices ) const
68 indices.clear(); // We do not want to clear the container if called internally, so only clear here
69 GetImplementation(*this).GetPropertyIndices( indices );
72 const std::string& TypeInfo::GetPropertyName( Property::Index index ) const
74 return GetImplementation(*this).GetPropertyName( index );
77 TypeInfo::TypeInfo(Internal::TypeInfo* internal)
78 : BaseHandle(internal)