blob: cf57fc8a3406872f112bccacd31249bef1937c9e [file] [log] [blame]
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc.
#include "fxjs/cfx_globalarray.h"
#include <utility>
#include "fxjs/cfx_keyvalue.h"
CFX_GlobalArray::CFX_GlobalArray() = default;
CFX_GlobalArray::CFX_GlobalArray(CFX_GlobalArray&& that) = default;
CFX_GlobalArray::~CFX_GlobalArray() = default;
CFX_GlobalArray& CFX_GlobalArray::operator=(CFX_GlobalArray&& array) = default;
void CFX_GlobalArray::Add(std::unique_ptr<CFX_KeyValue> pKeyValue) {
size_t CFX_GlobalArray::Count() const {
return m_Array.size();
CFX_KeyValue* CFX_GlobalArray::GetAt(int index) const {