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

翻訳前ページへ


class Any
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

class Any


Base Classes
uno_Any (public)
  |  
  +--Any
Known Derived Classes
非,不,無.

事実上の abstract interface template
NO NO NO NO
Description
C++ class 代表するing an IDL any. This class is used to 輸送(する) any type defined in IDL. The class 相続するs from the binary C 代表 of uno_Any. You can 挿入する a value by either using the <<= operators or the template function makeAny(). No any can hold an any. You can extract values from an any by using the >>= 操作者s which return true if the any 含む/封じ込めるs an assignable value (no data loss), e.g. the any 含む/封じ込めるs a short and you >>= it into a long variable.
とじ込み/提出する
Any.h

Public Members

Methods


Any( ) throw( );
Default 建設者: Any 持つ/拘留するs no value; its type is 無効の.
explicit
Any( bool value );
Ctor support for C++ bool.

Any( const Any & rAny ) throw( );
Copy 建設者: 始める,決めるs value of the given any.

Any( const 無効の * pData_, const Type & rType ) throw( );
建設者: 始める,決めるs a copy of the given data.

Any( const 無効の * pData_, typelib_TypeDescription * pTypeDescr ) throw( );
建設者: 始める,決めるs a copy of the given data.

Any( const 無効の * pData_, typelib_TypeDescriptionReference * pType ) throw( );
建設者: 始める,決めるs a copy of the given data.

~Any( ) throw( );
Destructor: Destructs any content and 解放する/自由なs memory.
Any &
操作者=( const Any & rAny ) throw( );
Assignment 操作者: 始める,決めるs the value of the given any.
const Type &
getValueType( ) const throw( );
Gets the type of the 始める,決める value.
typelib_TypeDescriptionReference *
getValueTypeRef( ) const throw( );
Gets the type of the 始める,決める value.
無効の
getValueTypeDescription( typelib_TypeDescription * * ppTypeDescr ) const throw( );
Gets the type description of the 始める,決める value. 供給するs 所有権 of the type description! Call an explicit typelib_typedescription_release() to 解放(する) afterwards.
TypeClass
getValueTypeClass( ) const throw( );
Gets the type class of the 始める,決める value.
::rtl::OUString
getValueTypeName( ) const throw( );
Gets the type 指名する of the 始める,決める value.
sal_Bool
hasValue( ) const throw( );
実験(する)s if any 含む/封じ込めるs a value.
const 無効の *
getValue( ) const throw( );
Gets a pointer to the 始める,決める value.
無効の
setValue( const 無効の * pData_, const Type & rType ) throw( );
始める,決めるs a value. If the any already 含む/封じ込めるs a value, that value will be destructed and its memory 解放する/自由なd.
無効の
setValue( const 無効の * pData_, typelib_TypeDescriptionReference * pType ) throw( );
始める,決めるs a value. If the any already 含む/封じ込めるs a value, that value will be destructed and its memory 解放する/自由なd.
無効の
setValue( const 無効の * pData_, typelib_TypeDescription * pTypeDescr ) throw( );
始める,決めるs a value. If the any already 含む/封じ込めるs a value, that value will be destructed and its memory 解放する/自由なd.
無効の
(疑いを)晴らす( ) throw( );
(疑いを)晴らすs this any. If the any already 含む/封じ込めるs a value, that value will be destructed and its memory 解放する/自由なd. After this has been called, the any does not 含む/封じ込める a value.
sal_Bool
isExtractableTo( const Type & rType ) const throw( );
実験(する)s whether this any is extractable to a value of given type. 広げるing 転換 without data loss is taken into account.
sal_Bool
操作者==( const Any & rAny ) const throw( );
Equality 操作者: compares two anys. The values need not be of equal type, e.g. a short integer is compared to a long integer.
sal_Bool
操作者!=( const Any & rAny ) const throw( );
Unequality 操作者: compares two anys. The values need not be of equal type, e.g. a short integer is compared to a long integer.

私的な Members

Methods

explicit
Any( sal_uInt16 );

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