LibreOffice Module cli_ure (master) 1
Classes | Public Member Functions | Public Attributes | List of all members
climaker::TypeEmitter Class Reference

#include <climaker_share.h>

Classes

class  iface_entry
 
class  service_entry
 
class  singleton_entry
 
class  struct_entry
 

Public Member Functions

::System::Type get_type_Exception ()
 
::System::Type get_type_RuntimeException ()
 
::System::Reflection::Emit::CustomAttributeBuilder get_service_exception_attribute (const css::uno::Reference< css::reflection::XServiceConstructorDescription > &ctorDesc)
 
::System::Reflection::Emit::CustomAttributeBuilder get_iface_method_exception_attribute (const css::uno::Reference< css::reflection::XInterfaceMethodTypeDescription > &xMethod)
 
::System::Reflection::Emit::CustomAttributeBuilder get_exception_attribute (const css::uno::Sequence< css::uno::Reference< css::reflection::XCompoundTypeDescription > > &seq_exceptionsTd)
 
::System::Collections::ArrayList get_service_ctor_method_exceptions_reduced (const css::uno::Sequence< css::uno::Reference< css::reflection::XCompoundTypeDescription > > &seqExceptionsTd)
 
::System::Type complete_iface_type (iface_entry ^ entry)
 
::System::Type complete_struct_type (struct_entry ^ entry)
 
::System::Type get_complete_struct (::System::String ^ sName)
 
::System::Type complete_service_type (service_entry ^ entry)
 
::System::Type complete_singleton_type (singleton_entry ^ entry)
 
::System::Type get_type (::System::String ^ cli_name, bool throw_exc)
 
::System::Type get_type (css::uno::Reference< css::reflection::XConstantTypeDescription > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XConstantsTypeDescription > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XEnumTypeDescription > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XCompoundTypeDescription > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XSingletonTypeDescription2 > const &xType)
 
::System::Type get_type (css::uno::Reference< css::reflection::XServiceTypeDescription2 > const &xType)
 
 TypeEmitter (::System::Reflection::Emit::ModuleBuilder ^ module_builder, array< ::System::Reflection::Assembly^>^ assemblies)
 
void finish ()
 
::System::Reflection::Assembly type_resolve (::System::Object ^ sender, ::System::ResolveEventArgs ^ args)
 
::System::Type get_type (css::uno::Reference< css::reflection::XTypeDescription > const &xType)
 

Public Attributes

::System::Reflection::Emit::ModuleBuilder m_module_builder
 
array< ::System::Reflection::Assembly^> m_extra_assemblies
 
::System::Reflection::MethodInfo m_method_info_Type_GetTypeFromHandle
 
::System::Type m_type_Exception
 
::System::Type m_type_RuntimeException
 
::System::Collections::Hashtable m_incomplete_ifaces
 
::System::Collections::Hashtable m_incomplete_structs
 
::System::Collections::Hashtable m_incomplete_services
 
::System::Collections::Hashtable m_incomplete_singletons
 
::System::Collections::Hashtable m_generated_structs
 

Detailed Description

Definition at line 113 of file climaker_share.h.

Constructor & Destructor Documentation

◆ TypeEmitter()

climaker::TypeEmitter::TypeEmitter ( ::System::Reflection::Emit::ModuleBuilder ^  module_builder,
array< ::System::Reflection::Assembly^>^  assemblies 
)

Definition at line 2201 of file climaker_emit.cxx.

References m_method_info_Type_GetTypeFromHandle, and System.

Member Function Documentation

◆ complete_iface_type()

System::Type climaker::TypeEmitter::complete_iface_type ( iface_entry entry)

◆ complete_service_type()

System::Type climaker::TypeEmitter::complete_service_type ( service_entry entry)

◆ complete_singleton_type()

System::Type climaker::TypeEmitter::complete_singleton_type ( singleton_entry entry)

◆ complete_struct_type()

System::Type climaker::TypeEmitter::complete_struct_type ( struct_entry entry)

◆ finish()

void climaker::TypeEmitter::finish ( )

◆ get_complete_struct()

System::Type climaker::TypeEmitter::get_complete_struct ( ::System::String ^  sName)

Definition at line 2146 of file climaker_emit.cxx.

References complete_struct_type(), get_type(), m_incomplete_structs, and sName.

Referenced by complete_struct_type().

◆ get_exception_attribute()

Emit::CustomAttributeBuilder climaker::TypeEmitter::get_exception_attribute ( const css::uno::Sequence< css::uno::Reference< css::reflection::XCompoundTypeDescription > > &  seq_exceptionsTd)

◆ get_iface_method_exception_attribute()

Emit::CustomAttributeBuilder climaker::TypeEmitter::get_iface_method_exception_attribute ( const css::uno::Reference< css::reflection::XInterfaceMethodTypeDescription > &  xMethod)

Definition at line 1894 of file climaker_emit.cxx.

References get_exception_attribute(), i, and xMethod.

Referenced by complete_iface_type().

◆ get_service_ctor_method_exceptions_reduced()

System::Collections::ArrayList climaker::TypeEmitter::get_service_ctor_method_exceptions_reduced ( const css::uno::Sequence< css::uno::Reference< css::reflection::XCompoundTypeDescription > > &  seqExceptionsTd)

Definition at line 2222 of file climaker_emit.cxx.

References get_type(), i, start, t, and climaker::to_cts_name().

Referenced by complete_service_type().

◆ get_service_exception_attribute()

Emit::CustomAttributeBuilder climaker::TypeEmitter::get_service_exception_attribute ( const css::uno::Reference< css::reflection::XServiceConstructorDescription > &  ctorDesc)

Definition at line 1888 of file climaker_emit.cxx.

References get_exception_attribute().

Referenced by complete_service_type().

◆ get_type() [1/9]

System::Type climaker::TypeEmitter::get_type ( ::System::String ^  cli_name,
bool  throw_exc 
)

◆ get_type() [2/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XCompoundTypeDescription > const &  xType)

◆ get_type() [3/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XConstantsTypeDescription > const &  xType)

◆ get_type() [4/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XConstantTypeDescription > const &  xType)

◆ get_type() [5/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XEnumTypeDescription > const &  xType)

◆ get_type() [6/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > const &  xType)

◆ get_type() [7/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XServiceTypeDescription2 > const &  xType)

◆ get_type() [8/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XSingletonTypeDescription2 > const &  xType)

◆ get_type() [9/9]

::System::Type climaker::TypeEmitter::get_type ( css::uno::Reference< css::reflection::XTypeDescription > const &  xType)

◆ get_type_Exception()

System::Type climaker::TypeEmitter::get_type_Exception ( )

◆ get_type_RuntimeException()

System::Type climaker::TypeEmitter::get_type_RuntimeException ( )

◆ type_resolve()

Assembly climaker::TypeEmitter::type_resolve ( ::System::Object ^  sender,
::System::ResolveEventArgs ^  args 
)

Member Data Documentation

◆ m_extra_assemblies

array< ::System::Reflection::Assembly^> climaker::TypeEmitter::m_extra_assemblies

Definition at line 116 of file climaker_share.h.

Referenced by type_resolve().

◆ m_generated_structs

::System::Collections::Hashtable climaker::TypeEmitter::m_generated_structs

Definition at line 206 of file climaker_share.h.

Referenced by complete_struct_type().

◆ m_incomplete_ifaces

::System::Collections::Hashtable climaker::TypeEmitter::m_incomplete_ifaces

Definition at line 157 of file climaker_share.h.

Referenced by complete_iface_type(), finish(), and type_resolve().

◆ m_incomplete_services

::System::Collections::Hashtable climaker::TypeEmitter::m_incomplete_services

Definition at line 191 of file climaker_share.h.

Referenced by complete_service_type(), and finish().

◆ m_incomplete_singletons

::System::Collections::Hashtable climaker::TypeEmitter::m_incomplete_singletons

Definition at line 202 of file climaker_share.h.

Referenced by complete_singleton_type(), and finish().

◆ m_incomplete_structs

::System::Collections::Hashtable climaker::TypeEmitter::m_incomplete_structs

Definition at line 172 of file climaker_share.h.

Referenced by complete_struct_type(), finish(), and get_complete_struct().

◆ m_method_info_Type_GetTypeFromHandle

::System::Reflection::MethodInfo climaker::TypeEmitter::m_method_info_Type_GetTypeFromHandle

Definition at line 118 of file climaker_share.h.

Referenced by complete_struct_type(), and TypeEmitter().

◆ m_module_builder

::System::Reflection::Emit::ModuleBuilder climaker::TypeEmitter::m_module_builder

Definition at line 115 of file climaker_share.h.

Referenced by get_type(), get_type_Exception(), and get_type_RuntimeException().

◆ m_type_Exception

::System::Type climaker::TypeEmitter::m_type_Exception

Definition at line 120 of file climaker_share.h.

Referenced by get_type_Exception().

◆ m_type_RuntimeException

::System::Type climaker::TypeEmitter::m_type_RuntimeException

Definition at line 122 of file climaker_share.h.

Referenced by get_type_RuntimeException().


The documentation for this class was generated from the following files: