2 * Copyright (c) 2022 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-toolkit/devel-api/text/character-sequence.h>
22 #include <dali-toolkit/internal/text/string-text/character-sequence-impl.h>
30 CharacterSequence::CharacterSequence() = default;
32 CharacterSequence::CharacterSequence(Internal::CharacterSequence* internal)
33 : BaseHandle(internal)
37 CharacterSequence::CharacterSequence(const CharacterSequence& rhs) = default;
39 CharacterSequence::CharacterSequence(CharacterSequence&& rhs) = default;
41 CharacterSequence& CharacterSequence::operator=(const CharacterSequence& rhs) = default;
43 CharacterSequence& CharacterSequence::operator=(CharacterSequence&& rhs) = default;
45 CharacterSequence::~CharacterSequence() = default;
49 Vector<uint32_t> CharacterSequence::GetCharacters() const
51 return GetImplementation(*this).GetCharacters();
54 uint32_t CharacterSequence::GetNumberOfCharacters() const
56 return GetImplementation(*this).GetNumberOfCharacters();
59 std::string CharacterSequence::ToString() const
61 return GetImplementation(*this).ToString();
66 } // namespace Toolkit