Overview | Namespace | Class | Index | Help |
Global Functions in Namespace uno
in Sourcefile Any.h
- makeAny
template< typename C >
Any makeAny(const C & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Summary
- Template function to generically construct an any from a C++ value.
- Template Parameters
C value type
- Parameters
value a value
- Return
- an any
- makeAny
- Any makeAny(
const bool & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator!=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Description
- Template unequality operator: compares set value of left side any to right side value. The values need not be of equal type, e.g. a short integer is compared to a long integer. This operator can be implemented as template member function, if all supported compilers can cope with template member functions.
- Template Parameters
C value type
- Parameters
rAny another any (left side)
value a value (right side)
- Return
- true if values are unequal, false otherwise
- operator<<=
template< typename C >
void operator<<=(Any & rAny, const C & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Summary
- Template binary <<= operator to set the value of an any.
- Template Parameters
C value type
- Parameters
rAny destination any (left side)
value source value (right side)
- operator<<=
- void operator<<=(
Any & rAny, const bool & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
- sal_Bool operator==(
const Any & rAny, const BaseReference & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator==
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Description
- Template equality operator: compares set value of left side any to right side value. The values need not be of equal type, e.g. a short integer is compared to a long integer. This operator can be implemented as template member function, if all supported compilers can cope with template member functions.
- Template Parameters
C value type
- Parameters
rAny another any (left side)
value a value (right side)
- Return
- true if values are equal, false otherwise
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Description
- Template binary >>= operator to assign a value from an any. If the any does not contain a value that can be assigned without data loss, then this operation will fail returning false.
- Template Parameters
C value type
- Parameters
rAny source any (left side)
value destination value (right side)
- Return
- true if assignment was possible without data loss
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
- sal_Bool operator>>=(
const Any & rAny, sal_uInt16 & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
- sal_Bool operator>>=(
const Any & rAny, sal_uInt32 & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
- sal_Bool operator>>=(
const Any & rAny, sal_uInt64 & value ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- operator>>=
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.