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

翻訳前ページへ


Methods of Class Sequence
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class Sequence


Sequence
Sequence() throw();

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

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

Sequence
Sequence(
const Sequence< E > & 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 sequence of same type

Sequence
Sequence(
uno_Sequence * pSequence,
__sal_NoAcquire ) throw();

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

要約
建設者: Takes over 所有権 of given sequence.
Parameters
pSequence
a sequence
模造の
SAL_NO_ACQUIRE to 軍隊 obvious distinction to other
建設者s

Sequence
Sequence(
const E * pElements,
sal_Int32 len );

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

要約
建設者: Creates a copy of given elements.
Parameters
pElement
an array of elements
len
length of array

Sequence
explicit Sequence(
sal_Int32 len );

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

要約
建設者: Creates a default 建設するd sequence of given length.
Parameters
len
初期の sequence length

~Sequence
~Sequence() throw();

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

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

操作者=
Sequence< E > & 操作者=(
const Sequence< E > & rSeq ) throw();

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

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

getLength
sal_Int32 getLength() throw();

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

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

hasElements
sal_Bool hasElements() throw();

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

要約
実験(する)s whether the sequence has elements, i.e. elements count is greater than 無.
Return
true, if elements count is greater than 無

getConstArray
const E * getConstArray() throw();

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

Description
Gets a pointer to elements array for reading. If the sequence has a length of 0, then the returned pointer is undefined.
Return
pointer to elements array

getArray
E * 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 令状ing. In general if the sequence has a 扱う acquired by other sequences (言及/関連 count > 1), then a new sequence is created copy 建設するing all elements to keep value semantics! If the sequence has a length of 0, then the returned pointer is undefined.
Return
pointer to elements array

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

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

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

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

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

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

操作者==
sal_Bool 操作者==(
const Sequence< E > & 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 sequence of same type (権利 味方する)
Return
true if both sequences are equal, 誤った さもなければ

操作者!=
sal_Bool 操作者!=(
const Sequence< E > & 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 sequence of same type (権利 味方する)
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 new length is smaller than the former, then upper elements will be destructed (and their memory 解放する/自由なd). If the new length is greater than the former, then upper (new) elements are default 建設するd. If the sequence has a 扱う acquired by other sequences (言及/関連 count > 1), then the remaining elements are copy 建設するd to a new sequence 扱う to keep value semantics!
Parameters
nSize
new size of sequence

get
uno_Sequence * get() throw();

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

要約
供給するs UNacquired sequence 扱う.
Return
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.