herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
XML::ElementIO::Tag Struct Reference

Helper struct representing a single tag or parsed content. More...

Public Types

enum  EnumerateTagTypes {
  Unknown = -1, EmptyElement = 1, ElementBegin = 2, ProcessingInstruction = 3,
  CharacterData = 4, ParsedCharacterData = 5, Comment = 6, ElementEnd = 20
}
 The tag type enumeration. More...
 

Public Member Functions

Element produce () const
 Produce an element.
 

Public Attributes

int type
 The type of the tag.
 
std::string content
 The content or name of the tag.
 
std::map< std::string, std::string > attributes
 A lis of attributes, if present.
 

Detailed Description

Helper struct representing a single tag or parsed content.

Definition at line 62 of file ElementIO.h.

Member Enumeration Documentation

◆ EnumerateTagTypes

The tag type enumeration.

Enumerator
EmptyElement 

Tag type unknown.

ElementBegin 

An empty element tag.

ProcessingInstruction 

An element begin tag.

CharacterData 

A processing instruction tag.

ParsedCharacterData 

Character data tag.

Comment 

Parsed character data.

ElementEnd 

A comment tag.

Definition at line 67 of file ElementIO.h.


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