20#ifndef INCLUDED_CLI_URE_SOURCE_UNO_BRIDGE_CLI_ENVIRONMENT_H
21#define INCLUDED_CLI_URE_SOURCE_UNO_BRIDGE_CLI_ENVIRONMENT_H
26using namespace System::Collections;
27using namespace System::Runtime::Serialization;
36 static System::Runtime::Serialization::ObjectIDGenerator ^
m_IDGen;
37 inline static System::String ^
createKey(System::String ^ oid, System::Type ^ t);
39#if OSL_DEBUG_LEVEL >= 1
46 m_IDGen = gcnew System::Runtime::Serialization::ObjectIDGenerator();
47 System::Text::StringBuilder ^ buffer = gcnew System::Text::StringBuilder(256);
48 Guid gd = Guid::NewGuid();
49 buffer->Append(
";cli[0];");
50 buffer->Append(gd.ToString());
std::unordered_map< std::string, LinkedList > Hashtable
static Hashtable m_objects
static System::String createKey(System::String ^ oid, System::Type ^ t)
Object registerInterface(Object ^ obj, System::String ^ oid)
Registers a UNO object as being mapped by this bridge.
int _numRegisteredObjects
Object registerInterface(Object ^ obj, System::String ^ oid, System::Type ^ type)
Registers a CLI object as being mapped by this bridge.
void revokeInterface(System::String ^ oid, System::Type ^ type)
void revokeInterface(System::String ^ oid)
By revoking an interface it is declared that the respective interface has not been mapped.
static System::Runtime::Serialization::ObjectIDGenerator m_IDGen
Object getRegisteredInterface(System::String ^ oid, System::Type ^ type)
Retrieves an interface identified by its object id and type from this environment.
static System::String getObjectIdentifier(Object ^ obj)
Generates a worldwide unique object identifier (oid) for the given object.
static System::String sOidPart