Arduino DLNA Server
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tiny_dlna::XMLNode Struct Reference

Represents a single XML element. More...

#include <XMLPrinter.h>

Public Member Functions

 XMLNode ()=default
 Default constructor.
 
 XMLNode (const char *node, const char *content, const char *attr=nullptr)
 Constructor with node name, content, and optional attributes.
 

Public Attributes

const char * node = nullptr
 Name of the XML node.
 
const char * attributes = nullptr
 Attributes of the XML node.
 
const char * content = nullptr
 Content of the XML node.
 

Detailed Description

Represents a single XML element.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ XMLNode() [1/2]

tiny_dlna::XMLNode::XMLNode ( )
default

Default constructor.

◆ XMLNode() [2/2]

tiny_dlna::XMLNode::XMLNode ( const char *  node,
const char *  content,
const char *  attr = nullptr 
)
inline

Constructor with node name, content, and optional attributes.

Parameters
nodeName of the node
contentContent of the node
attrOptional attributes

Member Data Documentation

◆ attributes

const char* tiny_dlna::XMLNode::attributes = nullptr

Attributes of the XML node.

◆ content

const char* tiny_dlna::XMLNode::content = nullptr

Content of the XML node.

◆ node

const char* tiny_dlna::XMLNode::node = nullptr

Name of the XML node.


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