2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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.
19 #include <dali/public-api/object/type-info.h>
24 #include <dali/internal/event/common/type-info-impl.h>
37 const std::string& TypeInfo::GetName()
39 return GetImplementation(*this).GetName();
42 const std::string& TypeInfo::GetBaseName()
44 return GetImplementation(*this).GetBaseName();
47 BaseHandle TypeInfo::CreateInstance()
49 return GetImplementation(*this).CreateInstance();
52 TypeInfo::CreateFunction TypeInfo::GetCreator()
54 return GetImplementation(*this).GetCreator();
57 TypeInfo::NameContainer TypeInfo::GetActions()
59 return GetImplementation(*this).GetActions();
62 TypeInfo::NameContainer TypeInfo::GetSignals()
64 return GetImplementation(*this).GetSignals();
67 void TypeInfo::GetPropertyIndices( Property::IndexContainer& indices ) const
69 indices.clear(); // We do not want to clear the container if called internally, so only clear here
70 GetImplementation(*this).GetPropertyIndices( indices );
73 const std::string& TypeInfo::GetPropertyName( Property::Index index ) const
75 return GetImplementation(*this).GetPropertyName( index );
78 TypeInfo::TypeInfo(Internal::TypeInfo* internal)
79 : BaseHandle(internal)