sptk2 logo
SPTK Home Page
Public Member Functions | List of all members
sptk::xdoc::Entities Class Reference

#include <XMLEntities.h>

Inheritance diagram for sptk::xdoc::Entities:

Public Member Functions

 Entities ()=default
 
void removeEntity (const String &name)
 
void setEntity (const String &name, const String &replacement)
 

Detailed Description

XML entities

Maps an XML entity string to a presentation string.

Constructor & Destructor Documentation

◆ Entities()

sptk::xdoc::Entities::Entities ( )
default

Constructor

Member Function Documentation

◆ removeEntity()

void sptk::xdoc::Entities::removeEntity ( const String name)
inline

Removes named entity

Parameters
nameentity name to remove

◆ setEntity()

void sptk::xdoc::Entities::setEntity ( const String name,
const String replacement 
)
inline

Adds entity to map

If entity named 'name' exists already in map, its value is replaced with 'replacement'

Parameters
nameentity to add/change
replacementvalue that represents entity

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

Fri Oct 14 2022 09:58:49: SPTK 5.4.1