Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HAPI::Data Class Reference

#include <HAPI.hpp>

Public Member Functions

 Data ()
 Data (Data_internal *a_data)
 ~Data ()
void getDoubles (nf_Buffer< double > &buffer)
void getInts (nf_Buffer< int > &buffer)
size_t length () const

Detailed Description

Definition at line 147 of file HAPI.hpp.

Constructor & Destructor Documentation

◆ Data() [1/2]

HAPI::Data::Data ( )

Definition at line 19 of file HAPI_Data.cc.

19 :
20 m_data(NULL) {
21
22}

◆ Data() [2/2]

HAPI::Data::Data ( Data_internal * a_data)

Definition at line 29 of file HAPI_Data.cc.

29 :
30 m_data(a_data) {
31
32}

◆ ~Data()

HAPI::Data::~Data ( )

Definition at line 36 of file HAPI_Data.cc.

36 {
37
38 delete m_data;
39
40}

Member Function Documentation

◆ getDoubles()

void HAPI::Data::getDoubles ( nf_Buffer< double > & buffer)

Definition at line 48 of file HAPI_Data.cc.

49{
50
51 m_data->getDoubles(buffer);
52
53}

Referenced by GIDI::parseValuesOfDoubles().

◆ getInts()

void HAPI::Data::getInts ( nf_Buffer< int > & buffer)

Definition at line 55 of file HAPI_Data.cc.

56{
57
58 m_data->getInts(buffer);
59
60}

Referenced by GIDI::parseValuesOfInts().

◆ length()

size_t HAPI::Data::length ( ) const

Definition at line 42 of file HAPI_Data.cc.

42 {
43
44 return m_data->length();
45
46}

The documentation for this class was generated from the following files: