Nebula
Loading...
Searching...
No Matches
htmlelement.h
Go to the documentation of this file.
1#pragma once
2#ifndef HTTP_HTMLELEMENT_H
3#define HTTP_HTMLELEMENT_H
4//------------------------------------------------------------------------------
14#include "core/types.h"
15#include "util/string.h"
16
17//------------------------------------------------------------------------------
18namespace Http
19{
21{
22public:
24 enum Code
25 {
26 Html, //> <html>
27 Head, //> <head>
28 Title, //> <title>
29 Body, //> <body>
30 Heading1, //> <h1>
31 Heading2, //> <h2>
32 Heading3, //> <h3>
33 Heading4, //> <h4>
34 Heading5, //> <h5>
35 Heading6, //> <h6>
36 Paragraph, //> <p>
37 UnorderedList, //> <ul>
38 OrderedList, //> <ol>
39 ListItem, //> <li>
43 BlockQuote, //> <blockquote>
44 PreFormatted, //> <pre>
45 Bold, //> <b>
46 Italics, //> <i>
47 Teletyper, //> <tt>
48 Underscore, //> <u>
49 Strike, //> <strike>
50 Big, //> <big>
51 Small, //> <small>
52 Sup, //> <sup>
53 Sub, //> <sub>
54 Table, //> <table>
55 TableRow, //> <tr>
56 TableHeader, //> <th>
57 TableData, //> <td>
58 Anchor, //> <a>
59 Image, //> <img>
60 Object, //> <object>
61 Form, //> <form>
62 Input, //> <input>
63 Div, //> <div>
64 Span, //> <span>
65 Style, //> <style>
66 Font, //> <font>
67 Script, //> <script>
68
70 };
71
73 static Util::String ToHtml(Code c);
74};
75
76} // namespace Http
77//------------------------------------------------------------------------------
78#endif
79
HTML markup elements.
Definition htmlelement.h:21
static Util::String ToHtml(Code c)
convert to string
Definition htmlelement.cc:16
Code
elements
Definition htmlelement.h:25
@ Big
Definition htmlelement.h:50
@ Heading5
Definition htmlelement.h:34
@ Title
Definition htmlelement.h:28
@ Paragraph
Definition htmlelement.h:36
@ Heading6
Definition htmlelement.h:35
@ Sub
Definition htmlelement.h:53
@ Head
Definition htmlelement.h:27
@ Object
Definition htmlelement.h:60
@ Heading1
Definition htmlelement.h:30
@ ListItem
Definition htmlelement.h:39
@ Script
Definition htmlelement.h:67
@ Anchor
Definition htmlelement.h:58
@ BlockQuote
Definition htmlelement.h:43
@ Heading2
Definition htmlelement.h:31
@ TableRow
Definition htmlelement.h:55
@ Italics
Definition htmlelement.h:46
@ Html
Definition htmlelement.h:26
@ Sup
Definition htmlelement.h:52
@ DefinitionList
Definition htmlelement.h:40
@ Table
Definition htmlelement.h:54
@ Heading3
Definition htmlelement.h:32
@ Image
Definition htmlelement.h:59
@ Strike
Definition htmlelement.h:49
@ Small
Definition htmlelement.h:51
@ DefinitionListDefinition
Definition htmlelement.h:42
@ Heading4
Definition htmlelement.h:33
@ TableHeader
Definition htmlelement.h:56
@ Span
Definition htmlelement.h:64
@ PreFormatted
Definition htmlelement.h:44
@ Style
Definition htmlelement.h:65
@ DefinitionListTerm
Definition htmlelement.h:41
@ Form
Definition htmlelement.h:61
@ Teletyper
Definition htmlelement.h:47
@ InvalidHtmlElement
Definition htmlelement.h:69
@ TableData
Definition htmlelement.h:57
@ Bold
Definition htmlelement.h:45
@ Underscore
Definition htmlelement.h:48
@ Div
Definition htmlelement.h:63
@ UnorderedList
Definition htmlelement.h:37
@ Font
Definition htmlelement.h:66
@ Body
Definition htmlelement.h:29
@ Input
Definition htmlelement.h:62
@ OrderedList
Definition htmlelement.h:38
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15
Nebula's universal string class.
Definition string.h:50