QDomDocumentType(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

QDomDocumentType β€” the representation of the DTD in the document tree 🌳✨


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so first thing, bestie, important deets: all the functions in this class are reentrant when Qt is built with thread support. (and yeah there's a stray </p> just vibing in the original, we love a lil typo moment πŸ™ˆ)

#include <qdom.h>

It inherits QDomNode 🧬

πŸ‘‘ Public Members πŸ‘‘

  • QDomDocumentType ()
  • QDomDocumentType ( const QDomDocumentType & n )
  • QDomDocumentType & operator= ( const QDomDocumentType & n )
  • ~QDomDocumentType ()
  • virtual QString name () const
  • virtual QDomNamedNodeMap entities () const
  • virtual QDomNamedNodeMap notations () const
  • virtual QString publicId () const
  • virtual QString systemId () const
  • virtual QString internalSubset () const
  • virtual QDomNode::NodeType nodeType () const
  • virtual bool isDocumentType () const

🌈 DESCRIPTION 🌈

So QDomDocumentType is literally the representation of the DTD in the document tree. that's the whole vibe. πŸ’…

What it does for you: it gives you read-only access to some of the data structures in the DTD. It can hand you a map of all entities() and notations(). Plus, name() returns the name of the document type as specified in the <!DOCTYPE name> tag β€” iconic behaviour, no notes. πŸŽ€

This class also provides the publicId(), systemId() and internalSubset() functions.

lowkey go look at QDomDocument and XML too, they're the supporting cast 🫢

πŸ“ MEMBER FUNCTION DOCUMENTATION πŸ“

QDomDocumentType::QDomDocumentType ()

Creates an empty QDomDocumentType object. blank slate, main character energy ✨

QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )

Constructs a copy of n.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want a deep copy, use cloneNode(). no cap, this one gets people every time 😭

QDomDocumentType::~QDomDocumentType ()

Destroys the object and frees its resources. rest in peace queen πŸ«‘πŸ’€

QDomNamedNodeMap QDomDocumentType::entities () const [virtual]

Returns a map of all entities described in the DTD. πŸ“œ

QString QDomDocumentType::internalSubset () const [virtual]

Returns the internal subset of the document type, or QString::null if there is no internal subset.

bestie pls also peep publicId() and systemId() 🌸

bool QDomDocumentType::isDocumentType () const [virtual]

This function overloads QDomNode::isDocumentType().

see also nodeType() and QDomNode::toDocumentType()

Reimplemented from QDomNode.

QString QDomDocumentType::name () const [virtual]

Returns the name of the document type as specified in the <!DOCTYPE name> tag.

see also nodeName()

QDomNode::NodeType QDomDocumentType::nodeType () const [virtual]

Returns DocumentTypeNode. that's it, that's the answer πŸ’…

see also isDocumentType() and QDomNode::toDocumentType()

Reimplemented from QDomNode.

QDomNamedNodeMap QDomDocumentType::notations () const [virtual]

Returns a map of all notations described in the DTD. πŸ—ΊοΈβœ¨

QDomDocumentType & QDomDocumentType::operator= ( const QDomDocumentType & n )

Assigns n to this document type.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want a deep copy, use cloneNode(). fr fr do not forget this 🚨

QString QDomDocumentType::publicId () const [virtual]

Returns the public identifier of the external DTD subset, or QString::null if there is no public identifier.

see also systemId(), internalSubset(), and QDomImplementation::createDocumentType()

QString QDomDocumentType::systemId () const [virtual]

Returns the system identifier of the external DTD subset, or QString::null if there is no system identifier.

see also publicId(), internalSubset(), and QDomImplementation::createDocumentType()

πŸ”₯ SEE ALSO πŸ”₯


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. πŸ“„


🧚 AUTHOR 🧚

Generated automatically from the source code. (so technically a robot wrote it and i'm just the messenger πŸ’€)


πŸ™ˆ BUGS πŸ™ˆ

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. 🫢 (a good bug report is literally a love letter, iykyk)

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. ⚠️

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qdomdocumenttype.3qt) and the Qt version (3.3.8). don't be shy, they want the receipts πŸ“


and that's the whole thing bestie, slay πŸ’…βœ¨ this was Trolltech AS, dated 2 February 2007, and the Qt version in question is 3.3.8 β€” periodt. πŸŒˆπŸ’–

πŸ“¦ where this page comes from