Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HAPI_Data.cc
Go to the documentation of this file.
1/*
2# <<BEGIN-copyright>>
3# Copyright 2019, Lawrence Livermore National Security, LLC.
4# This file is part of the gidiplus package (https://github.com/LLNL/gidiplus).
5# gidiplus is licensed under the MIT license (see https://opensource.org/licenses/MIT).
6# SPDX-License-Identifier: MIT
7# <<END-copyright>>
8*/
9
10#include "HAPI.hpp"
11
12namespace HAPI {
13
14/*
15=========================================================
16 *
17 * @return
18 */
20 m_data(NULL) {
21
22}
23/*
24=========================================================
25 *
26 * @param a_node
27 * @return
28 */
30 m_data(a_data) {
31
32}
33/*
34=========================================================
35*/
37
38 delete m_data;
39
40}
41
42size_t Data::length( ) const {
43
44 return m_data->length();
45
46}
47
48void Data::getDoubles(nf_Buffer<double> &buffer)
49{
50
51 m_data->getDoubles(buffer);
52
53}
54
55void Data::getInts(nf_Buffer<int> &buffer)
56{
57
58 m_data->getInts(buffer);
59
60}
61
62}
void getDoubles(nf_Buffer< double > &buffer)
Definition HAPI_Data.cc:48
void getInts(nf_Buffer< int > &buffer)
Definition HAPI_Data.cc:55
size_t length() const
Definition HAPI_Data.cc:42
Definition HAPI.hpp:34