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)
|