QDomEntityReference(3qt)

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

πŸ’– QDomEntityReference πŸ’–

okay bestie, welcome to the QDomEntityReference(3qt)</p> manual page β€” yes that's the manual name, that's the whole vibe, and we are about to get so cozy with XML entity references. grab a strawberry πŸ“ and let's go.


✨ NAME ✨

QDomEntityReference β€” she represents an XML entity reference. that's it. that's the job. πŸ’…


🌸 SYNOPSIS 🌸

okay so real talk first: all the functions in this class are reentrant when Qt is built with thread support. </p> (yes that stray tag is in the original, we don't ask questions, we just respect it πŸ™ˆ).

#include <qdom.h>

she Inherits QDomNode. family tree matters, iykyk.

πŸ‘‘ Public Members

  • QDomEntityReference ()
  • QDomEntityReference ( const QDomEntityReference & x )
  • QDomEntityReference & operator= ( const QDomEntityReference & x )
  • ~QDomEntityReference ()
  • virtual QDomNode::NodeType nodeType () const
  • virtual bool isEntityReference () const

πŸ¦‹ DESCRIPTION πŸ¦‹

the QDomEntityReference class represents an XML entity reference. periodt.

a QDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference. lowkey versatile of her.

note bestie: character references and references to predefined entities are expanded by the XML processor, so that characters are represented by their Unicode equivalent rather than by an entity reference. so don't come for her when you don't see them. 😭

moreover β€” and this is highkey important β€” the XML processor may completely expand references to entities while building the DOM tree, instead of providing QDomEntityReference objects. so she might just… not show up. not her fault.

if it does provide such objects, then for a given entity reference node, it may be that there is no entity node representing the referenced entity. but if such an entity exists, then the child list of the entity reference node is the same as that of the entity node. as with the entity node, all descendents of the entity reference are read-only. do not try it. she said no. πŸ’€

for further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. for a more general introduction of the DOM implementation see the QDomDocument documentation.

See also XML.


πŸŽ€ MEMBER FUNCTION DOCUMENTATION πŸŽ€

QDomEntityReference::QDomEntityReference ()

constructs an empty entity reference. use QDomDocument::createEntityReference() to create a entity reference with content β€” because an empty one is giving absolutely nothing and she knows it. ✨

QDomEntityReference::QDomEntityReference ( const QDomEntityReference & x )

constructs a copy of x.

⚠️ the data of the copy is shared (shallow copy): modifying one node will also change the other. if you want to make a deep copy, use cloneNode(). they're literally attached at the hip, no cap.

QDomEntityReference::~QDomEntityReference ()

destroys the object and frees its resources. she's leaving the group chat, but responsibly. 🫢

bool QDomEntityReference::isEntityReference () const [virtual]

returns TRUE. slay.

reimplemented from QDomNode.

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

returns EntityReference.

reimplemented from QDomNode.

QDomEntityReference & QDomEntityReference::operator= ( const QDomEntityReference & x )

assigns x to this entity reference.

⚠️ same warning, same energy: the data of the copy is shared (shallow copy): modifying one node will also change the other. if you want to make a deep copy, use cloneNode(). bestie please, cloneNode(). πŸ™ˆ

🌈 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. (yes, she was born from a script and she's still iconic. main character energy fr fr.)


πŸ”₯ 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. πŸ’–

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 (qdomentityreference.3qt) and the Qt version (3.3.8).


and that's the whole page, bestie πŸ’… this lil' manual came to you from Trolltech AS, dated 2 February 2007, and its proper title in the wild is QDomEntityReference(3qt). go forth and reference your entities responsibly. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from