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

翻訳前ページへ


class ByteSequence
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: rtl ::

class ByteSequence


Base Classes
非,不,無.
Known Derived Classes
非,不,無.

事実上の abstract interface template
NO NO NO NO
Description
C++ class 代表するing a SAL byte sequence. C++ Sequences are 言及/関連 counted and 株d, so the sequence keeps a 扱う to its data. To keep value semantics, copies are only 生成するd if the sequence is to be 修正するd (new 扱う).
とじ込み/提出する
byteseq.h

Public Members

Enums

__ByteSequence_NoDefault
__ByteSequence_NoAcquire

Methods


ByteSequence( ) throw( );
Default 建設者: Creates an empty sequence.

ByteSequence( const ByteSequence & rSeq ) throw( );
Copy 建設者: Creates a copy of given sequence.

ByteSequence( sal_Sequence * pSequence ) throw( );
Copy 建設者 Creates a copy from the C-扱う.

ByteSequence( const sal_Int8 * pElements, sal_Int32 len );
建設者: Creates a copy of given data bytes.

ByteSequence( sal_Int32 len );
建設者: Creates sequence of given length and initializes all bytes to 0.

ByteSequence( sal_Int32 len, __ByteSequence_NoDefault nodefault );
建設者: Creates sequence of given length and does NOT initialize data. Use this ctor for 業績/成果 optimization only.

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

~ByteSequence( ) throw( );
Destructor: 解放(する)s sequence 扱う. Last 扱う will 解放する/自由な memory.
ByteSequence &
操作者=( const ByteSequence & rSeq ) throw( );
Assignment 操作者: Acquires given sequence 扱う and 解放(する)s a 以前 始める,決める 扱う.
sal_Int32
getLength( ) const throw( );
Gets the length of sequence.
const sal_Int8 *
getConstArray( ) const throw( );
Gets a pointer to byte array for READING. If the sequence has a length of 0, then the returned pointer is undefined.
sal_Int8 *
getArray( );
sal_Int8 &
操作者[]( sal_Int32 nIndex );
const sal_Int8 &
操作者[]( sal_Int32 nIndex ) const throw( );
Const 索引 操作者: 得るs a 言及/関連 to byte 索引d at given position. The 実施 does NOT check for array bounds!
sal_Bool
操作者==( const ByteSequence & rSeq ) const throw( );
Equality 操作者: Compares two sequences.
sal_Bool
操作者!=( const ByteSequence & rSeq ) const throw( );
Unequality 操作者: Compares two sequences.
無効の
realloc( sal_Int32 nSize );
sal_Sequence *
getHandle( ) const throw( );
Returns the UNnacquired C 扱う of the sequence
sal_Sequence *
get( ) const throw( );
Returns the UNnacquired C 扱う of the sequence (for compatibility 推論する/理由s)

最高の,を越す 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.