openMSX
Public Member Functions | Friends | List of all members
openmsx::XMLAttribute Class Reference

#include <XMLElement.hh>

Public Member Functions

 XMLAttribute (const char *name_, const char *value_)
 
std::string_view getName () const
 
std::string_view getValue () const
 
void setValue (const char *value_)
 
XMLAttributesetNextAttribute (XMLAttribute *attribute)
 

Friends

class XMLElement
 
class XMLDocument
 
class XMLDocumentHandler
 

Detailed Description

Definition at line 51 of file XMLElement.hh.

Constructor & Destructor Documentation

◆ XMLAttribute()

openmsx::XMLAttribute::XMLAttribute ( const char *  name_,
const char *  value_ 
)
inline

Definition at line 54 of file XMLElement.hh.

Member Function Documentation

◆ getName()

std::string_view openmsx::XMLAttribute::getName ( ) const
inline

Definition at line 56 of file XMLElement.hh.

◆ getValue()

std::string_view openmsx::XMLAttribute::getValue ( ) const
inline

Definition at line 57 of file XMLElement.hh.

Referenced by openmsx::XMLElement::getAttributeValue().

◆ setNextAttribute()

XMLAttribute * openmsx::XMLAttribute::setNextAttribute ( XMLAttribute attribute)
inline

Definition at line 60 of file XMLElement.hh.

◆ setValue()

void openmsx::XMLAttribute::setValue ( const char *  value_)
inline

Definition at line 58 of file XMLElement.hh.

Referenced by openmsx::HardwareConfig::parseSlots().

Friends And Related Symbol Documentation

◆ XMLDocument

friend class XMLDocument
friend

Definition at line 72 of file XMLElement.hh.

◆ XMLDocumentHandler

friend class XMLDocumentHandler
friend

Definition at line 73 of file XMLElement.hh.

◆ XMLElement

friend class XMLElement
friend

Definition at line 71 of file XMLElement.hh.


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