MD::Table
MD::Table< Trait > Class Template Referencefinal
#include <doc.h>
Inheritance diagram for MD::Table< Trait >:

Public Types | |
| enum | Alignment { AlignLeft , AlignRight , AlignCenter } |
| using | ColumnsAlignments = typename Trait::template Vector<Alignment> |
| using | Rows = typename Trait::template Vector<TableRowSharedPointer> |
| using | TableRowSharedPointer = std::shared_ptr<TableRow<Trait>> |
Public Member Functions | |
| Table ()=default | |
| ~Table () override=default | |
| void | appendRow (TableRowSharedPointer r) |
| std::shared_ptr< Item< Trait > > | clone (Document< Trait > *doc=nullptr) const override |
| Alignment | columnAlignment (int idx) const |
| int | columnsCount () const |
| bool | isEmpty () const |
| const Rows & | rows () const |
| void | setColumnAlignment (int idx, Alignment a) |
| ItemType | type () const override |
Public Member Functions inherited from MD::Item< Trait > | |
| ~Item () override=default | |
Public Member Functions inherited from MD::WithPosition | |
| WithPosition ()=default | |
| WithPosition (long long int startColumn, long long int startLine, long long int endColumn, long long int endLine) | |
| virtual | ~WithPosition ()=default |
| void | applyPositions (const WithPosition &other) |
| long long int | endColumn () const |
| long long int | endLine () const |
| void | setEndColumn (long long int c) |
| void | setEndLine (long long int l) |
| void | setStartColumn (long long int c) |
| void | setStartLine (long long int l) |
| long long int | startColumn () const |
| long long int | startLine () const |
Additional Inherited Members | |
Protected Member Functions inherited from MD::Item< Trait > | |
| Item ()=default | |
Detailed Description
Member Typedef Documentation
◆ ColumnsAlignments
◆ Rows
template<class Trait>
| using MD::Table< Trait >::Rows = typename Trait::template Vector<TableRowSharedPointer> |
◆ TableRowSharedPointer
Member Enumeration Documentation
◆ Alignment
template<class Trait>
| enum MD::Table::Alignment |
Constructor & Destructor Documentation
◆ Table()
template<class Trait>
|
default |
◆ ~Table()
Member Function Documentation
◆ appendRow()
template<class Trait>
|
inline |
◆ clone()
◆ columnAlignment()
◆ columnsCount()
template<class Trait>
|
inline |
◆ isEmpty()
template<class Trait>
|
inline |
◆ rows()
◆ setColumnAlignment()
◆ type()
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from