LibreOffice Module cli_ure (master) 1
|
Classes | |
struct | Constants |
struct | OptionInfo |
class | TypeEmitter |
Functions | |
static OptionInfo const * | get_option_info (OUString const &opt, sal_Unicode copt='\0') |
static bool | is_option (OptionInfo const *option_info, sal_uInt32 *pIndex) |
static bool | read_option (bool *flag, OptionInfo const *option_info, sal_uInt32 *pIndex) |
static bool | read_argument (OUString *pValue, OptionInfo const *option_info, sal_uInt32 *pIndex) |
static OUString const & | path_get_working_dir () |
static OUString | path_make_absolute_file_url (OUString const &path) |
System::String | mapUnoPolymorphicName (System::String^ unoName) |
For example, there is a uno type com.sun.star.Foo<char, long>. More... | |
static inline ::System::String | to_cts_name (OUString const &uno_name) |
static inline ::System::Object | to_cli_constant (Any const &value) |
static void | emit_ldarg (Emit::ILGenerator ^ code, ::System::Int32 index) |
void | polymorphicStructNameToStructName (::System::String ^ *sPolyName) |
System::String | mapUnoTypeName (System::String ^ typeName) |
css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > | resolveInterfaceTypedef (const css::uno::Reference< css::reflection::XTypeDescription > &type) |
inline ::System::String | ustring_to_String (OUString const &ustr) |
OUString | String_to_ustring (::System::String ^ str) |
Variables | |
static char const | s_usingText [] |
bool | g_bVerbose = false |
static const OptionInfo | s_option_infos [] |
::System::Reflection::MethodAttributes | c_ctor_method_attr |
|
inlinestatic |
Definition at line 94 of file climaker_emit.cxx.
Referenced by climaker::TypeEmitter::complete_struct_type().
|
static |
Definition at line 113 of file climaker_app.cxx.
References climaker::OptionInfo::m_name, climaker::OptionInfo::m_name_length, climaker::OptionInfo::m_short_option, OUStringToOString(), pos, and s_option_infos.
Referenced by SAL_IMPLEMENT_MAIN().
|
static |
Definition at line 146 of file climaker_app.cxx.
References climaker::OptionInfo::m_name, and climaker::OptionInfo::m_short_option.
Referenced by read_argument(), read_option(), and SAL_IMPLEMENT_MAIN().
System::String climaker::mapUnoPolymorphicName | ( | System::String^ | unoName | ) |
For example, there is a uno type com.sun.star.Foo<char, long>.
The values in the type list are uno types and are replaced by cli types, such as System.Char, System.Int32, etc.
Strings can be as complicated as this test.MyStruct<char,test.MyStruct<long, []string>>
Definition at line 210 of file climaker_emit.cxx.
References index, and mapUnoTypeName().
Referenced by mapUnoTypeName().
System::String climaker::mapUnoTypeName | ( | System::String ^ | typeName | ) |
Definition at line 135 of file climaker_emit.cxx.
References index, mapUnoPolymorphicName(), climaker::Constants::sAny, climaker::Constants::sBoolean, climaker::Constants::sBrackets, climaker::Constants::sByte, climaker::Constants::sChar, climaker::Constants::sDouble, climaker::Constants::sInt16, climaker::Constants::sInt32, climaker::Constants::sInt64, climaker::Constants::sObject, climaker::Constants::sSingle, climaker::Constants::sString, climaker::Constants::sType, climaker::Constants::sUInt16, climaker::Constants::sUInt32, climaker::Constants::sUInt64, climaker::Constants::sUnoAny, climaker::Constants::sUnoBool, climaker::Constants::sUnoByte, climaker::Constants::sUnoChar, climaker::Constants::sUnoDouble, climaker::Constants::sUnoFloat, climaker::Constants::sUnoHyper, climaker::Constants::sUnoidl, climaker::Constants::sUnoLong, climaker::Constants::sUnoShort, climaker::Constants::sUnoString, climaker::Constants::sUnoType, climaker::Constants::sUnoUHyper, climaker::Constants::sUnoULong, climaker::Constants::sUnoUShort, climaker::Constants::sUnoVoid, climaker::Constants::sUnoXInterface, climaker::Constants::sVoid, and typeName.
Referenced by mapUnoPolymorphicName().
|
static |
Definition at line 202 of file climaker_app.cxx.
Referenced by path_make_absolute_file_url().
|
static |
Definition at line 211 of file climaker_app.cxx.
References abs(), path_get_working_dir(), and pData.
Referenced by SAL_IMPLEMENT_MAIN().
void climaker::polymorphicStructNameToStructName | ( | ::System::String ^ * | sPolyName | ) |
Definition at line 124 of file climaker_emit.cxx.
References index.
|
static |
Definition at line 185 of file climaker_app.cxx.
References is_option().
Referenced by SAL_IMPLEMENT_MAIN().
|
inlinestatic |
Definition at line 175 of file climaker_app.cxx.
References is_option().
Referenced by SAL_IMPLEMENT_MAIN().
css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > climaker::resolveInterfaceTypedef | ( | const css::uno::Reference< css::reflection::XTypeDescription > & | type | ) |
Definition at line 2261 of file climaker_emit.cxx.
References resolveInterfaceTypedef(), and type.
Referenced by climaker::TypeEmitter::complete_iface_type(), climaker::TypeEmitter::complete_service_type(), climaker::TypeEmitter::complete_singleton_type(), and resolveInterfaceTypedef().
|
inline |
Definition at line 90 of file climaker_share.h.
Referenced by SAL_IMPLEMENT_MAIN().
|
static |
Definition at line 48 of file climaker_emit.cxx.
|
static |
Definition at line 41 of file climaker_emit.cxx.
References ustring_to_String().
Referenced by climaker::TypeEmitter::complete_iface_type(), climaker::TypeEmitter::complete_service_type(), climaker::TypeEmitter::complete_singleton_type(), and climaker::TypeEmitter::get_service_ctor_method_exceptions_reduced().
inline ::System::String climaker::ustring_to_String | ( | OUString const & | ustr | ) |
Definition at line 83 of file climaker_share.h.
Referenced by climaker::TypeEmitter::complete_iface_type(), climaker::TypeEmitter::complete_service_type(), climaker::TypeEmitter::complete_struct_type(), SAL_IMPLEMENT_MAIN(), and to_cts_name().
|
static |
Definition at line 103 of file climaker_share.h.
Referenced by climaker::TypeEmitter::complete_struct_type(), climaker::TypeEmitter::get_type_Exception(), and climaker::TypeEmitter::get_type_RuntimeException().
bool climaker::g_bVerbose = false |
Definition at line 92 of file climaker_app.cxx.
Referenced by climaker::TypeEmitter::complete_iface_type(), climaker::TypeEmitter::complete_service_type(), climaker::TypeEmitter::complete_singleton_type(), climaker::TypeEmitter::complete_struct_type(), climaker::TypeEmitter::get_type_Exception(), climaker::TypeEmitter::get_type_RuntimeException(), SAL_IMPLEMENT_MAIN(), and climaker::TypeEmitter::type_resolve().
|
static |
Definition at line 95 of file climaker_app.cxx.
Referenced by get_option_info().
|
static |
Definition at line 53 of file climaker_app.cxx.
Referenced by SAL_IMPLEMENT_MAIN().