このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Methods of Class ByteSequence
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class ByteSequence


ByteSequence
ByteSequence() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Default 建設者: Creates an empty sequence.

ByteSequence
ByteSequence(
const ByteSequence & rSeq ) throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Copy 建設者: Creates a copy of given sequence.
Parameters
rSeq
another byte sequence

ByteSequence
ByteSequence(
sal_Sequence * pSequence ) throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Copy 建設者 Creates a copy from the C-扱う.
Parameters
pSequence
another byte sequence 扱う

ByteSequence
ByteSequence(
const sal_Int8 * pElements,
sal_Int32 len );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
建設者: Creates a copy of given data bytes.
Parameters
pElements
an array of bytes
len
number of bytes

ByteSequence
ByteSequence(
sal_Int32 len );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
建設者: Creates sequence of given length and initializes all bytes to 0.
Parameters
len
初期の sequence length

ByteSequence
ByteSequence(
sal_Int32 len,
__ByteSequence_NoDefault nodefault );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
建設者: Creates sequence of given length and does NOT initialize data. Use this ctor for 業績/成果 optimization only.
Parameters
len
初期の sequence length
nodefault
模造の parameter 軍隊ing explicit BYTESEQ_NODEFAULT

ByteSequence
ByteSequence(
sal_Sequence * pSequence,
__ByteSequence_NoAcquire noacquire ) throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

Description
建設者: Creates a sequence from a C-扱う without acquiring the 扱う, thus taking over owenership. Eitherway the 扱う is 解放(する) by the destructor. This ctor is useful, when working with a c-interface (it 安全なs a pair of acquire and 解放(する) call and is thus a 業績/成果 optimization only).
Parameters
pSequence
sequence 扱う to be taken over
noacquire
模造の parameter 軍隊ing explicit BYTESEQ_NOACQUIRE

~ByteSequence
~ByteSequence() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Destructor: 解放(する)s sequence 扱う. Last 扱う will 解放する/自由な memory.

操作者=
ByteSequence & 操作者=(
const ByteSequence & rSeq ) throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Assignment 操作者: Acquires given sequence 扱う and 解放(する)s a 以前 始める,決める 扱う.
Parameters
rSeq
another byte sequence
Return
this sequence

getLength
sal_Int32 getLength() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Gets the length of sequence.
Return
length of sequence

getConstArray
const sal_Int8 * getConstArray() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Gets a pointer to byte array for READING. If the sequence has a length of 0, then the returned pointer is undefined.
Return
pointer to byte array

getArray
sal_Int8 * getArray();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

Description
Gets a pointer to elements array for READING AND WRITING. In general if the sequence has a 扱う acquired by other sequences (言及/関連 count > 1), then a new sequence is created copying all bytes to keep value semantics! If the sequence has a length of 0, then the returned pointer is undefined.
Return
pointer to elements array

操作者[]
sal_Int8 & 操作者[](
sal_Int32 nIndex );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

Description
非,不,無-const 索引 操作者: 得るs a 言及/関連 to byte 索引d at given position. In general if the sequence has a 扱う acquired by other sequences (言及/関連 count > 1), then a new sequence is created copying all bytes to keep value semantics!
ATTENTION!
The 実施 does NOT check for array bounds!
Parameters
nIndex
索引
Return
非,不,無-const C++ 言及/関連 to element at 索引 nIndex

操作者[]
const sal_Int8 & 操作者[](
sal_Int32 nIndex ) const throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO YES NO NO NO YES NO

要約
Const 索引 操作者: 得るs a 言及/関連 to byte 索引d at given position. The 実施 does NOT check for array bounds!
Parameters
nIndex
索引
Return
const C++ 言及/関連 to byte at element of indenx nIndex

操作者==
sal_Bool 操作者==(
const ByteSequence & rSeq ) const throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO YES NO NO NO YES NO

要約
Equality 操作者: Compares two sequences.
Parameters
rSeq
another byte sequence (権利 味方する)
Return
true if both sequences are equal, 誤った さもなければ

操作者!=
sal_Bool 操作者!=(
const ByteSequence & rSeq ) const throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO YES NO NO NO YES NO

要約
Unequality 操作者: Compares two sequences.
Parameters
rSeq
another byte sequence (権利 味方する)
Return
誤った if both sequences are equal, true さもなければ

realloc
無効の realloc(
sal_Int32 nSize );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

Description
Reallocates sequence to new length. If the sequence has a 扱う acquired by other sequences (言及/関連 count > 1), then the remaining elements are copied to a new sequence 扱う to keep value semantics!
Parameters
nSize
new size of sequence

getHandle
sal_Sequence * getHandle() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Returns the UNnacquired C 扱う of the sequence
Return
UNacquired 扱う of the sequence

get
sal_Sequence * get() throw();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Returns the UNnacquired C 扱う of the sequence (for compatibility 推論する/理由s)
Return
UNacquired 扱う of the sequence

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.