Qtリファレンス QByteArray 新しいページはコチラ
提供: yonewiki
(→QByteArray::QByteArray) |
(→公開 メンバ変数) |
||
24行: | 24行: | ||
<syntaxhighlight2 lang="cpp"> | <syntaxhighlight2 lang="cpp"> | ||
QByteArray obj; | QByteArray obj; | ||
− | QByteArray::const_iterator const | + | QByteArray::const_iterator const QByteArray__const_iterator_obj; |
− | + | QByteArray__const_iterator_obj = obj.Begin(); | |
</syntaxhighlight2> | </syntaxhighlight2> | ||
のような感じです。 | のような感じです。 | ||
31行: | 31行: | ||
− | === ''' | + | === '''コンストラクタ QByteArray::QByteArray''' === |
− | + | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::QByteArray</span>();</span> | |
− | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray:: | + | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::QByteArray</span>(<span style="color:deeppink;">int</span> size, <span style="color:deeppink;">char</span> ch);</span> |
− | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray:: | + | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::QByteArray</span>(<span style="color:deeppink;">const char*</span> data, <span style="color:deeppink;">int</span> size=-1);</span> |
− | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray:: | + | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::QByteArray</span>(<span style="color:deeppink;">const QByteArray&</span> other);</span> |
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::QByteArray</span>(<span style="color:deeppink;">QByteArray&&</span> other);</span> | ||
+ | |||
+ | |||
+ | === '''デストラクタ QByteArray::~QByteArray''' === | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:blue;">QByteArray::~QByteArray</span>();</span> | ||
+ | |||
+ | |||
+ | |||
+ | === '''公開 Public''' === | ||
+ | ==== '''演算子 = ''' ==== | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::operator=</span>(<span style="color:deeppink;">const QByteArray&</span> other);</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::operator=</span>(<span style="color:deeppink;">QByteArray&&</span> other);</span> | ||
+ | |||
+ | |||
+ | |||
+ | ==== '''公開 メンバ関数 append''' ==== | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::append</span>(<span style="color:deeppink;">char</span> ch);</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::append</span>(<span style="color:deeppink;">int</span> count, <span style="color:deeppink;">char</span> ch);</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::append</span>(<span style="color:deeppink;">const char*</span> str);</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::append</span>(<span style="color:deeppink;">const char*</span> str, <span style="color:deeppink;">int</span> len);</span> | ||
+ | |||
+ | |||
+ | |||
+ | ==== '''公開 メンバ関数 at''' ==== | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">char</span> <span style="color:blue;">QByteArray::at</span>(<span style="color:deeppink;">int</span> i) <span style="color:deeppink;">const</span>;</span> | ||
+ | |||
+ | |||
+ | |||
+ | ==== '''公開 メンバ関数 back''' ==== | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteArray&</span> <span style="color:blue;">QByteArray::back</span>() <span style="color:deeppink;">const</span>;</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">QByteRef</span> <span style="color:blue;">QByteArray::back</span>();</span> | ||
+ | |||
+ | |||
+ | |||
+ | ==== '''公開 メンバ関数 data''' ==== | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">char*</span> <span style="color:blue;">QByteArray::data</span>() ;</span> | ||
+ | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; "><span style="color:deeppink;">const char*</span> <span style="color:blue;">QByteArray::data</span>() const;</span> | ||
[[Qt#Qtリファレンス|Qtリファレンス]]へ戻る | [[Qt#Qtリファレンス|Qtリファレンス]]へ戻る |