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
-
- Parameters
-
- 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!=
template< typename C >
sal_Bool operator!=(
const Any & |
rAny, |
const C & |
value ) throw(); |
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
-
- 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
-
- 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==
- sal_Bool 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 bool & |
value ) throw(); |
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 ::rtl::OUString & |
value ) throw(); |
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 Type & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator==
- sal_Bool operator==(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator==
template< typename C >
sal_Bool operator==(
const Any & |
rAny, |
const C & |
value ) throw(); |
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
-
- Parameters
rAny |
another any (left side)
|
value |
a value (right side)
|
- Return
- true if values are equal, false otherwise
- operator>>=
template< typename C >
sal_Bool operator>>=(
const Any & |
rAny, |
C & |
value ) throw(); |
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
-
- Parameters
rAny |
source any (left side)
|
value |
destination value (right side)
|
- Return
- true if assignment was possible without data loss
- operator>>=
- sal_Bool operator>>=(
const Any & |
rAny, |
bool & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool 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, |
float & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
const Any & |
rAny, |
double & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool 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, |
Type & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
const Any & |
rAny, |
Any & |
value ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool operator>>=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- operator>>=
- sal_Bool 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.