File: Poco.XML.Name.html

package info (click to toggle)
poco-doc 1.3.6-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,080 kB
  • sloc: makefile: 31
file content (149 lines) | stat: -rw-r--r-- 11,632 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Class Poco::XML::Name</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.XML.html" class="namespace">Poco::XML</a></h1>
<h1 class="symbol">class Name</h1>
</div>
<div class="body">
<p>
<b>Library:</b> XML<br />
<b>Package:</b> XML<br />
<b>Header:</b> Poco/XML/Name.h</p>
<h2>Description</h2>
<div class="description">
<p>An <a href="Poco.XML.html" title="namespace Poco::XML">XML</a> element or attribute name, consisting of a qualified name, a namespace <a href="Poco.URI.html" title="class Poco::URI">URI</a> and a local name. </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.XML.Name.html#19494" title="Poco::XML::Name::assign()">assign</a>, <a href="Poco.XML.Name.html#19503" title="Poco::XML::Name::equals()">equals</a>, <a href="Poco.XML.Name.html#19509" title="Poco::XML::Name::equalsWeakly()">equalsWeakly</a>, <a href="Poco.XML.Name.html#19515" title="Poco::XML::Name::localName()">localName</a>, <a href="Poco.XML.Name.html#19514" title="Poco::XML::Name::namespaceURI()">namespaceURI</a>, <a href="Poco.XML.Name.html#19490" title="Poco::XML::Name::operator =()">operator&nbsp;=</a>, <a href="Poco.XML.Name.html#19516" title="Poco::XML::Name::prefix()">prefix</a>, <a href="Poco.XML.Name.html#19513" title="Poco::XML::Name::qname()">qname</a>, <a href="Poco.XML.Name.html#19517" title="Poco::XML::Name::split()">split</a>, <a href="Poco.XML.Name.html#19492" title="Poco::XML::Name::swap()">swap</a></p>
<h2>Constructors</h2>
<h3><a name="19477">Name</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>();</p>
<div class="description">
<p>Creates an empty <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>. </p>
</div>
<h3><a name="19478">Name</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> from a qualified name only. </p>
</div>
<h3><a name="19487">Name</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> &amp; name<br />);</p>
<div class="description">
<p>Copy constructor. </p>
</div>
<h3><a name="19480">Name</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> from a qualified name and a namespace <a href="Poco.URI.html" title="class Poco::URI">URI</a>. The local name is extracted from the qualified name. </p>
</div>
<h3><a name="19483">Name</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> from a qualified name, a namespace <a href="Poco.URI.html" title="class Poco::URI">URI</a> and a local name. </p>
</div>
<h2>Destructor</h2>
<h3><a name="19489">~Name</a></h3>
<p class="decl">~<a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a>();</p>
<div class="description">
<p>Destroys the name. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="19494">assign</a></h3>
<p class="decl">void assign(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname<br />);</p>
<div class="description">
<p>Assigns a new value to the name. </p>
</div>
<h3><a name="19496">assign</a></h3>
<p class="decl">void assign(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI<br />);</p>
<div class="description">
<p>Assigns new values to the name. The local name is extracted from the qualified name. </p>
</div>
<h3><a name="19499">assign</a></h3>
<p class="decl">void assign(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />);</p>
<div class="description">
<p>Assigns new values to the name. </p>
</div>
<h3><a name="19503">equals</a></h3>
<p class="decl">bool equals(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> &amp; name<br />) const;</p>
<div class="description">
<p>Returns true if both names are equal. </p>
</div>
<h3><a name="19505">equals</a></h3>
<p class="decl">bool equals(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />) const;</p>
<div class="description">
<p>Returns true if all the name's components are equal to the given ones. </p>
</div>
<h3><a name="19509">equalsWeakly</a></h3>
<p class="decl">bool equalsWeakly(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />) const;</p>
<div class="description">
<p>Returns true if either the qnames are identical or the namespaceURIs and the localNames are identical. </p>
</div>
<h3><a name="19515">localName</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName() const;</p>
<div class="description">
<p>Returns the local name. </p>
</div>
<h3><a name="19521">localName</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> localName(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname<br />);</p>
<div class="description">
<p>Returns the local name part of the given qualified name. </p>
</div>
<h3><a name="19514">namespaceURI</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI() const;</p>
<div class="description">
<p>Returns the namespace <a href="Poco.URI.html" title="class Poco::URI">URI</a>. </p>
</div>
<h3><a name="19490">operator =</a></h3>
<p class="decl"><a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> &amp; operator = (<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> &amp; name<br />);</p>
<div class="description">
<p>Assignment operator. </p>
</div>
<h3><a name="19516">prefix</a></h3>
<p class="decl"><a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> prefix() const;</p>
<div class="description">
<p>Returns the namespace prefix. </p>
</div>
<h3><a name="19523">prefix</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> prefix(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname<br />);</p>
<div class="description">
<p>Returns the prefix part of the given qualified name. </p>
</div>
<h3><a name="19513">qname</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname() const;</p>
<div class="description">
<p>Returns the qualified name. </p>
</div>
<h3><a name="19517">split</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void split(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; qname,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; prefix,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />);</p>
<div class="description">
<p>Splits the given qualified name into its prefix and localName parts. </p>
</div>
<h3><a name="19492">swap</a></h3>
<p class="decl">void swap(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.XML.Name.html" title="class Poco::XML::Name">Name</a> &amp; name<br />);</p>
<div class="description">
<p>Swaps the name with another one.	 </p>
</div>
<h2>Variables</h2>
<h3><a name="19525">EMPTY_NAME</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> <a href="Poco.XML.Name.html#19525" title="Poco::XML::Name::EMPTY_NAME">EMPTY_NAME</a>;</p>
<div class="description">
<p></p>
</div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright &copy; 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>

</div>
</body>
</html>