MD::TableRow

Search for usage in LXR

MD::TableRow< Trait > Class Template Referencefinal

#include <doc.h>

Inheritance diagram for MD::TableRow< Trait >:

Public Types

using Cells = typename Trait::template Vector<TableCellSharedPointer>
 
using TableCellSharedPointer = std::shared_ptr<TableCell<Trait>>
 

Public Member Functions

 TableRow ()=default
 
 ~TableRow () override=default
 
void appendCell (TableCellSharedPointer c)
 
const Cellscells () const
 
std::shared_ptr< Item< Trait > > clone (Document< Trait > *doc=nullptr) const override
 
bool isEmpty () const
 
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

template<class Trait>
class MD::TableRow< Trait >

Table row.

Definition at line 1502 of file doc.h.

Member Typedef Documentation

◆ Cells

template<class Trait >
using MD::TableRow< Trait >::Cells = typename Trait::template Vector<TableCellSharedPointer>

Type of a list of table cells.

Definition at line 1530 of file doc.h.

◆ TableCellSharedPointer

template<class Trait >
using MD::TableRow< Trait >::TableCellSharedPointer = std::shared_ptr<TableCell<Trait>>

Type of a smart pointer to table cell.

Definition at line 1528 of file doc.h.

Constructor & Destructor Documentation

◆ TableRow()

template<class Trait >
MD::TableRow< Trait >::TableRow ( )
default

◆ ~TableRow()

template<class Trait >
MD::TableRow< Trait >::~TableRow ( )
overridedefault

Member Function Documentation

◆ appendCell()

template<class Trait >
void MD::TableRow< Trait >::appendCell ( TableCellSharedPointer c)
inline

Append cell.

Definition at line 1539 of file doc.h.

◆ cells()

template<class Trait >
const Cells & MD::TableRow< Trait >::cells ( ) const
inline
Returns
List of cells.

Definition at line 1533 of file doc.h.

◆ clone()

template<class Trait >
std::shared_ptr< Item< Trait > > MD::TableRow< Trait >::clone ( Document< Trait > * doc = nullptr) const
inlineoverridevirtual

Clone this table row.

Implements MD::Item< Trait >.

Definition at line 1509 of file doc.h.

◆ isEmpty()

template<class Trait >
bool MD::TableRow< Trait >::isEmpty ( ) const
inline
Returns
Is this row empty?

Definition at line 1545 of file doc.h.

◆ type()

template<class Trait >
ItemType MD::TableRow< Trait >::type ( ) const
inlineoverridevirtual
Returns
Type of the item.

Implements MD::Item< Trait >.

Definition at line 1522 of file doc.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Nov 6 2024 12:12:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.