|
bypass-core-1.0
|
An object that serves as the root of a markdown Element tree.
More...
#include <src/document.h>
Public Member Functions | |
| Document () | |
Creates a new Document. | |
| ~Document () | |
Destroys the Document. | |
| void | append (const Element &element) |
| Appends the given element to the tail of this document. | |
| Element | operator[] (size_t i) |
Allows for sequentially accessing elements in this Document tree. | |
| size_t | size () |
Indicates the number of elements in this Document. | |
An object that serves as the root of a markdown Element tree.
| Bypass::Document::Document | ( | ) |
Creates a new Document.
| Bypass::Document::~Document | ( | ) |
Destroys the Document.
| void Bypass::Document::append | ( | const Element & | element | ) |
Appends the given element to the tail of this document.
| element | The element to append to the tail. |
| Element Bypass::Document::operator[] | ( | size_t | i | ) |
| size_t Bypass::Document::size | ( | ) |
Indicates the number of elements in this Document.