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

翻訳前ページへ


class Sequence
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: uno ::

template< typename E >

class Sequence


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

事実上の abstract interface template
NO NO NO YES
Description
Template C++ class 代表するing an IDL sequence. Template argument is the sequence element type. 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 扱う).
Template Parameters
E
element type of sequence
とじ込み/提出する
Sequence.h

Public Members

Typedefs

ElementType typedefs the element type of the sequence

Methods


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

Sequence( const Sequence< E > & rSeq ) throw( );
Copy 建設者: Creates a copy of given sequence.

Sequence( uno_Sequence * pSequence, __sal_NoAcquire ) throw( );
建設者: Takes over 所有権 of given sequence.

Sequence( const E * pElements, sal_Int32 len );
建設者: Creates a copy of given elements.
explicit
Sequence( sal_Int32 len );
建設者: Creates a default 建設するd sequence of given length.

~Sequence( ) throw( );
Destructor: 解放(する)s sequence 扱う. Last 扱う will destruct elements and 解放する/自由な memory.
Sequence< E > &
操作者=( const Sequence< E > & rSeq ) throw( );
Assignment 操作者: Acquires given sequence 扱う and 解放(する)s 以前 始める,決める 扱う.
sal_Int32
getLength( ) const throw( );
Gets length of the sequence.
sal_Bool
hasElements( ) const throw( );
実験(する)s whether the sequence has elements, i.e. elements count is greater than 無.
const E *
getConstArray( ) const throw( );
E *
getArray( );
E &
操作者[]( sal_Int32 nIndex );
const E &
操作者[]( sal_Int32 nIndex ) const throw( );
Const 索引 操作者: 得るs a 言及/関連 to element 索引d at given position. The 実施 does not check for array bounds!
sal_Bool
操作者==( const Sequence< E > & rSeq ) const throw( );
Equality 操作者: Compares two sequences.
sal_Bool
操作者!=( const Sequence< E > & rSeq ) const throw( );
Unequality 操作者: Compares two sequences.
無効の
realloc( sal_Int32 nSize );
uno_Sequence *
get( ) const throw( );
供給するs UNacquired sequence 扱う.

最高の,を越す of Page

The ASF

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

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