v2.22
IEntity Interface Reference

Represents a base Renga entity. IEntity is the root interface for other entity-specific interfaces such as IPropertyContainer, IParameterContainer, IModel. Depending on IEntity underlying type these interfaces can be obtained from IEntity with QueryInterface method. More...

Inheritance diagram for IEntity:

Public Member Functions

HRESULT GetInterfaceByName ([in] BSTR interfaceName, [out, retval] IDispatch **ppInterface)
 Returns an interface by its name. More...
 

Properties

int Id [get]
 Returns the unique identifier of the entity.
 
BSTR Name [get]
 Returns the name of the entity.
 
GUID UniqueId [get]
 The unique identifier of the entity. It is a universal unique identifier.
 
BSTR UniqueIdS [get]
 Same as UniqueId, but returning GUID as a string.
 
GUID TypeId [get]
 The type id of the entity. It is a universal unique identifier.
 
BSTR TypeIdS [get]
 Same as TypeId, but returning GUID as a string.
 

Detailed Description

Represents a base Renga entity. IEntity is the root interface for other entity-specific interfaces such as IPropertyContainer, IParameterContainer, IModel. Depending on IEntity underlying type these interfaces can be obtained from IEntity with QueryInterface method.

See also
IEntityCollection, IParameterContainer, IPropertyContainer, IModel

Member Function Documentation

◆ GetInterfaceByName()

HRESULT IEntity::GetInterfaceByName ( [in] BSTR  interfaceName,
[out, retval] IDispatch **  ppInterface 
)

Returns an interface by its name.

This method is provided as an alternative for the standard COM QueryInterface() method for cases where IUnknown is not accessible, like interoperating with the API from some interpreted languages.

Parameters
[in]interfaceNameThe name of the requested interface.
[out]ppInterfaceThe requested interface.