Atom ClassThe Atom class is the fundamental unit for representing documents internally. More... #include <Atom>
Public Types
Public Functions
Detailed DescriptionThe Atom class is the fundamental unit for representing documents internally. Atoms have a type and are completed by a string whose meaning depends on the type. For example, the string
is represented by the following atoms:
Member Type Documentation
|
Constant | Value |
---|---|
Atom::AbstractLeft | 0 |
Atom::AbstractRight | 1 |
Atom::AnnotatedList | 2 |
Atom::AutoLink | 3 |
Atom::BaseName | 4 |
Atom::BriefLeft | 5 |
Atom::BriefRight | 6 |
Atom::C | 7 |
Atom::CaptionLeft | 8 |
Atom::CaptionRight | 9 |
Atom::Code | 10 |
Atom::CodeBad | 11 |
Atom::CodeNew | 12 |
Atom::CodeOld | 13 |
Atom::CodeQuoteArgument | 14 |
Atom::CodeQuoteCommand | 15 |
Atom::DivLeft | 16 |
Atom::DivRight | 17 |
Atom::EndQmlText | 18 |
Atom::FormatElse | 21 |
Atom::FormatEndif | 22 |
Atom::FormatIf | 23 |
Atom::FootnoteLeft | 19 |
Atom::FootnoteRight | 20 |
Atom::FormattingLeft | 24 |
Atom::FormattingRight | 25 |
Atom::GeneratedList | 26 |
Atom::Image | 29 |
Atom::ImageText | 30 |
Atom::ImportantNote | ? |
Atom::InlineImage | 33 |
Atom::LineBreak | 38 |
Atom::Link | 39 |
Atom::LinkNode | 40 |
Atom::ListLeft | 41 |
Atom::ListItemNumber | 42 |
Atom::ListTagLeft | 43 |
Atom::ListTagRight | 44 |
Atom::ListItemLeft | 45 |
Atom::ListItemRight | 46 |
Atom::ListRight | 47 |
Atom::Nop | 48 |
Atom::Note | ? |
Atom::ParaLeft | 51 |
Atom::ParaRight | 52 |
Atom::Qml | 53 |
Atom::QmlText | 54 |
Atom::QuotationLeft | 55 |
Atom::QuotationRight | 56 |
Atom::RawString | 57 |
Atom::SectionLeft | 58 |
Atom::SectionRight | 59 |
Atom::SectionHeadingLeft | 60 |
Atom::SectionHeadingRight | 61 |
Atom::SidebarLeft | 62 |
Atom::SidebarRight | 63 |
Atom::SinceList | 64 |
Atom::String | 68 |
Atom::TableLeft | 69 |
Atom::TableRight | 70 |
Atom::TableHeaderLeft | 71 |
Atom::TableHeaderRight | 72 |
Atom::TableRowLeft | 73 |
Atom::TableRowRight | 74 |
Atom::TableItemLeft | 75 |
Atom::TableItemRight | 76 |
Atom::TableOfContents | 77 |
Atom::Target | 78 |
Atom::UnhandledFormat | 79 |
Atom::UnknownCommand | 80 |
Constructs an atom of the specified type with the single parameter string and does not put the new atom in a list.
Constructs an atom of the specified type with the two parameters p1 and p2 and does not put the new atom in a list.
Constructs an atom of the specified type with the single parameter string and inserts the new atom into the list after the previous atom.
Constructs an atom of the specified type with the two parameters p1 and p2 and inserts the new atom into the list after the previous atom.
Appends ch to the string parameter of this atom.
\also
string()
Appends string to the string parameter of this atom.
\also
string()
\also
string()
Dumps this Atom to stderr in printer friendly form.
Return the next atom in the atom list. \also
type(), string()
See also setNext().
Return the next atom in the atom list. \also
type(), string()
Return the next Atom in the list if it is of Type t. Otherwise return 0.
Return the next Atom in the list if it is of Type t and its string part is s. Otherwise return 0.
See also next().
See also string().
Returns the string parameter that together with the type characterizes this atom.
See also setString().
Return the type of this atom. \also
string(), next()
Return the type of this atom as a string. Return "Invalid" if type() returns an impossible value.
This is only useful for debugging.
\also
type()