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> | ||
のような感じです。 | のような感じです。 | ||
45行: | 45行: | ||
− | === '''演算子 = ''' === | + | === '''公開 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 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 style="color:deeppink;">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;">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''' === | + | ==== '''公開 メンバ関数 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 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;">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 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;">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 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> |
− | *<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 style="color:deeppink;">const char*</span> str, <span style="color:deeppink;">int</span> len);</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''' === | + | ==== '''公開 メンバ関数 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 style="color:deeppink;">int</span> i) <span style="color:deeppink;">const</span>;</span> | + | *<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''' === | + | ==== '''公開 メンバ関数 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 style="color:deeppink;">const</span>;</span> | + | *<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 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リファレンス]]へ戻る |