Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GUPI_documentation.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 "GUPI.hpp"
11
12namespace GUPI {
13
14/*! \class Documentation
15 *
16 */
17
19 Ancestry(a_node.name()),
20 m_doi(a_node.attribute_as_string(GUPI_doiChars)),
21 m_publicationDate(a_node.attribute_as_string(GUPI_publicationDateChars)),
22 m_version(a_node.attribute_as_string(GUPI_versionChars)),
23 m_title(a_node.child(GUPI_titleChars)),
24 m_abstract(a_node.child(GUPI_abstractChars)),
25 m_body(a_node.child(GUPI_bodyChars)) {
26
27 m_title.setAncestor(this);
28 m_abstract.setAncestor(this);
29 m_body.setAncestor(this);
30}
31
32/* *********************************************************************************************************//**
33 ***********************************************************************************************************/
34
38
39}
#define GUPI_publicationDateChars
Definition GUPI.hpp:33
#define GUPI_versionChars
Definition GUPI.hpp:34
#define GUPI_abstractChars
Definition GUPI.hpp:29
#define GUPI_doiChars
Definition GUPI.hpp:32
#define GUPI_bodyChars
Definition GUPI.hpp:30
#define GUPI_titleChars
Definition GUPI.hpp:28
Ancestry(std::string const &a_moniker, std::string const &a_attribute="")
Documentation(HAPI::Node const &a_node)
Definition GUPI.hpp:20