List of all members | Public Fields | Public Instance Methods | Static Public Attributes
pageBlockTableCell Class Referencefinal

Inherits Object.

Description

Represents a cell of a table.

Public Fields

object_ptr< RichTexttext_
 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< PageBlockHorizontalAlignmentalign_
 Horizontal cell content alignment.
 
object_ptr< PageBlockVerticalAlignmentvalign_
 Vertical cell content alignment.
 

Public Instance Methods

 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 Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ pageBlockTableCell() [1/2]

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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ 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: