Photon 1.0.0
Loading...
Searching...
No Matches
IDOMObject.hpp File Reference
#include <core/Core.hpp>
#include <memory>
#include <rapidxml/rapidxml.hpp>
#include <rapidxml/rapidxml_print.hpp>

Go to the source code of this file.

Classes

class  Photon::IDOMObject
 

Namespaces

namespace  Photon
 This file is also about defining core js concepts.
 

Macros

#define PHOTON_DOM_OBJECT   (0U)
 
#define PHOTON_HTML_START   "<html>"
 
#define PHOTON_HTML_MARKUP   "<!doctype html>"
 
#define PHOTON_HTML_END   "</html>"
 

Functions

Bool Photon::is_html_document (String the_xml_blob) noexcept
 Check if xml is HTML.
 
String Photon::get_html_document (String the_xml_blob)
 Get HTML document from xml blob.
 

Macro Definition Documentation

◆ PHOTON_DOM_OBJECT

#define PHOTON_DOM_OBJECT   (0U)

◆ PHOTON_HTML_END

#define PHOTON_HTML_END   "</html>"

◆ PHOTON_HTML_MARKUP

#define PHOTON_HTML_MARKUP   "<!doctype html>"

◆ PHOTON_HTML_START

#define PHOTON_HTML_START   "<html>"