TDLib
Loading...
Searching...
No Matches
pageBlockTableCell Class Referencefinal

Inherits Object.

Description

Represents a cell of a table.

Public Member Functions

 pageBlockTableCell ()
 pageBlockTableCell (object_ptr< RichText > &&text_, bool is_header_, int32 colspan_, int32 rowspan_, object_ptr< PageBlockHorizontalAlignment > &&align_, object_ptr< PageBlockVerticalAlignment > &&valign_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

object_ptr< PageBlockHorizontalAlignment > align_
 Horizontal cell content alignment.
int32 colspan_
 The number of columns the cell spans.
bool is_header_
 True, if it is a header cell.
int32 rowspan_
 The number of rows the cell spans.
object_ptr< RichText > text_
 Cell text; may be null. If the text is null, then the cell must be invisible.
object_ptr< PageBlockVerticalAlignment > valign_
 Vertical cell content alignment.

Static Public Attributes

static const std::int32_t ID = 1417658214
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ pageBlockTableCell() [1/2]

pageBlockTableCell ( )

Represents a cell of a table.

◆ pageBlockTableCell() [2/2]

pageBlockTableCell ( object_ptr< RichText > && text_,
bool is_header_,
int32 colspan_,
int32 rowspan_,
object_ptr< PageBlockHorizontalAlignment > && align_,
object_ptr< PageBlockVerticalAlignment > && valign_ )

Represents a cell of a table.

Parameters
[in]text_Cell text; may be null. If the text is null, then the cell must be invisible.
[in]is_header_True, if it is a header cell.
[in]colspan_The number of columns the cell spans.
[in]rowspan_The number of rows the cell spans.
[in]align_Horizontal cell content alignment.
[in]valign_Vertical cell content alignment.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: