2 // Copyright (c) 2012 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.
18 * @file FLcl_FieldPosition.cpp
19 * @brief This is the implementation file for _FieldPosition class.
23 #include "FLcl_FieldPosition.h"
26 namespace Tizen { namespace Locales
30 /////////////////////////////////////////////////////////////////////////////////////////////////////
33 // Construct Operations
35 _FieldPosition::_FieldPosition(int field)
43 _FieldPosition::~_FieldPosition(void)
48 _FieldPosition::_FieldPosition(const _FieldPosition& fieldPosition)
49 : __field(fieldPosition.__field)
50 , __beginIndex(fieldPosition.__beginIndex)
51 , __endIndex(fieldPosition.__endIndex)
59 _FieldPosition::operator =(const _FieldPosition& fieldPosition)
61 if (&fieldPosition != this)
63 __field = fieldPosition.__field;
64 __beginIndex = fieldPosition.__beginIndex;
65 __endIndex = fieldPosition.__endIndex;
74 _FieldPosition::GetField(void) const
81 _FieldPosition::GetBeginIndex(void) const
88 _FieldPosition::SetBeginIndex(int beginIndex)
90 __beginIndex = beginIndex;
95 _FieldPosition::GetEndIndex(void) const
102 _FieldPosition::SetEndIndex(int endIndex)
104 __endIndex = endIndex;