TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
pageBlockTableCell () | |
pageBlockTableCell (object_ptr< RichText > &&text_, bool is_header_, int32 colspan_, int32 rowspan_, object_ptr< PageBlockHorizontalAlignment > &&align_, object_ptr< PageBlockVerticalAlignment > &&valign_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Public Attributes | |
object_ptr< RichText > | text_ |
Cell text; may be null. If the text is null, then the cell must be invisible. | |
bool | is_header_ |
True, if it is a header cell. | |
int32 | colspan_ |
The number of columns the cell spans. | |
int32 | rowspan_ |
The number of rows the cell spans. | |
object_ptr< PageBlockHorizontalAlignment > | align_ |
Horizontal cell content alignment. | |
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. | |
Represents a cell of a table.
td::td_api::pageBlockTableCell::pageBlockTableCell | ( | ) |
Represents a cell of a table.
td::td_api::pageBlockTableCell::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.
[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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.