2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FLcl_FieldPosition.cpp
20 * @brief This is the implementation file for _FieldPosition class.
24 #include "FLcl_FieldPosition.h"
27 namespace Tizen { namespace Locales
31 /////////////////////////////////////////////////////////////////////////////////////////////////////
34 // Construct Operations
36 _FieldPosition::_FieldPosition(int field)
44 _FieldPosition::~_FieldPosition(void)
49 _FieldPosition::_FieldPosition(const _FieldPosition& fieldPosition)
50 : __field(fieldPosition.__field)
51 , __beginIndex(fieldPosition.__beginIndex)
52 , __endIndex(fieldPosition.__endIndex)
60 _FieldPosition::operator =(const _FieldPosition& fieldPosition)
62 if (&fieldPosition != this)
64 __field = fieldPosition.__field;
65 __beginIndex = fieldPosition.__beginIndex;
66 __endIndex = fieldPosition.__endIndex;
75 _FieldPosition::GetField(void) const
82 _FieldPosition::GetBeginIndex(void) const
89 _FieldPosition::SetBeginIndex(int beginIndex)
91 __beginIndex = beginIndex;
96 _FieldPosition::GetEndIndex(void) const
103 _FieldPosition::SetEndIndex(int endIndex)
105 __endIndex = endIndex;