2 * Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
5 * @file AthContainers/tools/AuxVectorInterface.icc
6 * @author scott snyder <snyder@bnl.gov>
8 * @brief Make an AuxVectorData object from either a raw vector or an aux store.
16 * @brief Build from a (non-const) auxiliary store.
17 * @param store The auxiliary store to wrap.
20 AuxVectorInterface::AuxVectorInterface (IAuxStore& store)
21 : m_size (store.size())
28 * @brief Build from a (const) auxiliary store.
29 * @param store The auxiliary store to wrap.
32 AuxVectorInterface::AuxVectorInterface (const IConstAuxStore& store)
33 : m_size (store.size())
40 * @brief Build from a (non-const) raw array.
41 * @param auxid ID of the represented variable.
42 * @param size Length of the array.
43 * @param ptr Pointer to the array.
46 AuxVectorInterface::AuxVectorInterface (SG::auxid_t auxid, size_t size, void* ptr)
49 setCache (auxid, ptr);
54 * @brief Build from a (const) raw array.
55 * @param auxid ID of the represented variable.
56 * @param size Length of the array.
57 * @param ptr Pointer to the array.
60 AuxVectorInterface::AuxVectorInterface (SG::auxid_t auxid, size_t size, const void* ptr)
63 setCache (auxid, ptr);
68 * @brief Return the size of the container.
71 size_t AuxVectorInterface::size_v() const
78 * @brief Return the capacity of the container.
81 size_t AuxVectorInterface::capacity_v() const