chromium/third_party/icu/source/i18n/fphdlimp.cpp

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2009-2015, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/

#include "unicode/utypes.h"

#if !UCONFIG_NO_FORMATTING

#include "fphdlimp.h"
#include "uvectr32.h"

U_NAMESPACE_BEGIN

// utility FieldPositionHandler
// base class, null implementation

FieldPositionHandler::~FieldPositionHandler() {}

void FieldPositionHandler::setShift(int32_t delta) {}


// utility subclass FieldPositionOnlyHandler

FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos)
  :{}

FieldPositionOnlyHandler::~FieldPositionOnlyHandler() {}

void
FieldPositionOnlyHandler::addAttribute(int32_t id, int32_t start, int32_t limit) {}

void
FieldPositionOnlyHandler::shiftLast(int32_t delta) {}

UBool
FieldPositionOnlyHandler::isRecording() const {}

void FieldPositionOnlyHandler::setAcceptFirstOnly(UBool acceptFirstOnly) {}


// utility subclass FieldPositionIteratorHandler

FieldPositionIteratorHandler::FieldPositionIteratorHandler(FieldPositionIterator* posIter,
                                                           UErrorCode& _status)
    :{}

FieldPositionIteratorHandler::FieldPositionIteratorHandler(
    UVector32* vec,
    UErrorCode& status)
    :{}

FieldPositionIteratorHandler::~FieldPositionIteratorHandler() {}

void
FieldPositionIteratorHandler::addAttribute(int32_t id, int32_t start, int32_t limit) {}

void
FieldPositionIteratorHandler::shiftLast(int32_t delta) {}

UBool
FieldPositionIteratorHandler::isRecording() const {}

U_NAMESPACE_END

#endif /* !UCONFIG_NO_FORMATTING */