Inherits Function.
Returns the squared received number; for testing only. This is an offline method. Can be called before authorization.
Returns object_ptr<TestInt>.
Public Fields | |
| int32 | x_ |
| Number to square. | |
Public Types | |
| using | ReturnType = object_ptr< testInt > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| testSquareInt () | |
| testSquareInt (int32 x_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -60135024 |
| Identifier uniquely determining a type of the object. | |
| testSquareInt | ( | ) |
Default constructor for a function, which returns the squared received number; for testing only. This is an offline method. Can be called before authorization.
Returns object_ptr<TestInt>.
|
explicit |
Creates a function, which returns the squared received number; for testing only. This is an offline method. Can be called before authorization.
Returns object_ptr<TestInt>.
| [in] | x_ | Number to square. |
|
finalvirtual |