Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GUPI_text.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 Text
15 *
16 */
17
18Text::Text(HAPI::Node const &a_node):
19 Ancestry(a_node.name()),
20 m_body(a_node.text().get()),
21 m_encoding(Encoding::ascii),
22 m_markup(Markup::none),
23 m_label(a_node.attribute_as_string("label")) {
24}
25
27}
Ancestry(std::string const &a_moniker, std::string const &a_attribute="")
Text(HAPI::Node const &a_node)
Definition GUPI_text.cc:18
Definition GUPI.hpp:20