LibreOffice Module cppuhelper (master) 1
Public Member Functions | Public Attributes | List of all members
cppu::ContextEntry_Init Struct Reference

Context entries init struct calling createComponentContext(). More...

#include <component_context.hxx>

Public Member Functions

 ContextEntry_Init ()
 Default ctor. More...
 
 ContextEntry_Init (::rtl::OUString const &name_, css::uno::Any const &value_, bool bLateInitService_=false)
 Ctor. More...
 

Public Attributes

bool bLateInitService
 late init denotes an object that will be raised when first get() is calling for it More...
 
::rtl::OUString name
 name of context value More...
 
css::uno::Any value
 context value More...
 

Detailed Description

Context entries init struct calling createComponentContext().

Definition at line 39 of file component_context.hxx.

Constructor & Destructor Documentation

◆ ContextEntry_Init() [1/2]

cppu::ContextEntry_Init::ContextEntry_Init ( )
inline

Default ctor.

Definition at line 57 of file component_context.hxx.

◆ ContextEntry_Init() [2/2]

cppu::ContextEntry_Init::ContextEntry_Init ( ::rtl::OUString const &  name_,
css::uno::Any const &  value_,
bool  bLateInitService_ = false 
)
inline

Ctor.

Parameters
name_name of entry
value_value of entry
bLateInitService_whether this entry is a late-init named object entry (value is object factory or service string)

Definition at line 70 of file component_context.hxx.

References name, name_, value, and value_.

Member Data Documentation

◆ bLateInitService

bool cppu::ContextEntry_Init::bLateInitService

late init denotes an object that will be raised when first get() is calling for it

The context implementation expects either a css::lang::XSingleComponentFactory object as value (to instantiate the object) or a string as value for raising a service via the used service manager.

Definition at line 47 of file component_context.hxx.

Referenced by cppu::createComponentContext().

◆ name

::rtl::OUString cppu::ContextEntry_Init::name

name of context value

Definition at line 50 of file component_context.hxx.

Referenced by cppu::createComponentContext().

◆ value

css::uno::Any cppu::ContextEntry_Init::value

context value

Definition at line 53 of file component_context.hxx.

Referenced by cppu::createComponentContext().


The documentation for this struct was generated from the following file: