Global Functions in Namespace uno
in Sourcefile current_context.hxx
- getCurrentContext
- Reference< XCurrentContext > getCurrentContext() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Getting the current context.
- ATTENTION!
Don't spread the returned interface around to other threads. Every thread has its own
current context.
- Return
current context or null ref, if none is set
- setCurrentContext
- bool setCurrentContext(
const Reference< XCurrentContext > & |
xContext ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Setting the current context.
- Parameters
xContext |
current context to be set
|
- Return
true, if context has been successfully set
Top of Page
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.