#include <FxUIByteArray.h>
|
| CFxUIByteArrayImpl * | m_pImpl = nullptr |
| |
Definition at line 33 of file FxUIByteArray.h.
◆ CFxUIByteArray() [1/4]
| CFxUIByteArray::CFxUIByteArray |
( |
| ) |
|
◆ CFxUIByteArray() [2/4]
| CFxUIByteArray::CFxUIByteArray |
( |
const char * | data, |
|
|
qsizetype | size = -1 ) |
Parameterized Constructor
◆ CFxUIByteArray() [3/4]
◆ CFxUIByteArray() [4/4]
| CFxUIByteArray::CFxUIByteArray |
( |
const QByteArray & | pixmap | ) |
|
◆ ~CFxUIByteArray()
| CFxUIByteArray::~CFxUIByteArray |
( |
| ) |
|
◆ append()
| QByteArray & CFxUIByteArray::append |
( |
const char * | str | ) |
|
Appends the '\0'-terminated string str to this byte array.
- Parameters
-
- Returns
- QByteArray
◆ clear()
| void CFxUIByteArray::clear |
( |
| ) |
|
Clears the contents of the byte array and makes it null.
◆ constData()
| const char * CFxUIByteArray::constData |
( |
| ) |
const |
Returns a pointer to the const data stored in the byte array.
- Returns
- char*
◆ data()
| const char * CFxUIByteArray::data |
( |
| ) |
const |
Returns a pointer to the data stored in the byte array.
- Returns
- char*
◆ isEmpty()
| bool CFxUIByteArray::isEmpty |
( |
| ) |
const |
Returns true if the byte array has size 0; otherwise returns false.
- Returns
- bool
◆ isNull()
| bool CFxUIByteArray::isNull |
( |
| ) |
const |
Returns true if this byte array is null; otherwise returns false.
- Returns
- bool
◆ length()
| int CFxUIByteArray::length |
( |
| ) |
const |
Returns the number of bytes in this byte array.
- Returns
- int
◆ operator const QByteArray &()
| CFxUIByteArray::operator const QByteArray & |
( |
| ) |
const |
◆ operator=()
◆ size()
Returns the number of bytes in this byte array.
- Returns
- qsizetype
◆ startsWith()
| bool CFxUIByteArray::startsWith |
( |
const char * | c | ) |
const |
Returns true if this byte array starts with byte ch; otherwise returns false.
- Parameters
-
- Returns
- bool
◆ toDouble()
| double CFxUIByteArray::toDouble |
( |
bool * | ok = nullptr | ) |
const |
Returns the byte array converted to a double value.
- Parameters
-
| is | Bool *ok which sets to true if the value could be converted to a double, otherwise *ok is set to false. |
- Returns
- double
◆ toInt()
| int CFxUIByteArray::toInt |
( |
bool * | ok = nullptr, |
|
|
int | base = 10 ) const |
Returns the byte array converted to an int using base base, which is ten by default.
- Parameters
-
| is | Bool *ok which sets to true if the value could be converted to an integer, otherwise *ok is set to false. |
| base | |
- Returns
- int
◆ toLong()
| long CFxUIByteArray::toLong |
( |
bool * | ok = nullptr, |
|
|
int | base = 10 ) const |
Returns the byte array converted to a long int using base base, which is ten by default.
- Parameters
-
| is | Bool *ok which sets to true if the value could be converted to an long, otherwise *ok is set to false. |
| base | |
- Returns
- long
◆ toLongLong()
| qlonglong CFxUIByteArray::toLongLong |
( |
bool * | ok = nullptr, |
|
|
int | base = 10 ) const |
Returns the byte array converted to a long long using base base, which is ten by default.
- Parameters
-
| is | Bool *ok which sets to true if the value could be converted to an longlong, otherwise *ok is set to false. |
| base | |
- Returns
- qlonglong
◆ toLower()
Returns a copy of the byte array in which each ASCII uppercase letter converted to lowercase.
- Returns
- CFxUIByteArray
◆ toShort()
| short CFxUIByteArray::toShort |
( |
bool * | ok = nullptr, |
|
|
int | base = 10 ) const |
Returns the byte array converted to a short using base base, which is ten by default.
- Parameters
-
| is | Bool *ok which sets to true if the value could be converted to an short, otherwise *ok is set to false. |
| base | |
- Returns
- short
◆ toStdString()
| std::string CFxUIByteArray::toStdString |
( |
| ) |
const |
Returns a std::string object with the data contained in this CFxUIByteArray.
- Returns
- std::string
◆ m_pImpl
| CFxUIByteArrayImpl* CFxUIByteArray::m_pImpl = nullptr |
|
protected |
The documentation for this class was generated from the following file: