Interface ITypeResolver
interface ITypeResolver
Extends IStandard
An interface for finding type information.
Type resolver is implemented by IProcess Caller could call
Methods
tryFindInterface()
IInterfaceType?tryFindInterface(stringname)
Parameters
name
string — Required
Returns
IInterfaceType?
The return value is optional and might be absent.
tryFindStruct()
IStructType?tryFindStruct(stringname)
Parameters
name
string — Required
Returns
IStructType?
The return value is optional and might be absent.
tryFindEnum()
IEnumType?tryFindEnum(stringname)
Parameters
name
string — Required
Returns
IEnumType?
The return value is optional and might be absent.
tryFindError()
IErrorType?tryFindError(stringname)
Parameters
name
string — Required
Returns
IErrorType?
The return value is optional and might be absent.
getPrimitiveType()
IPrimitiveType*getPrimitiveType(PrimitiveKindkind)
Parameters
kind
PrimitiveKind — Required
Returns
IPrimitiveType*
makeDataObjectBuilder()
Constructs a data object builder for given data object interfaces. The implementation uses annotation to relate data object and data object builder interfaces. The following is the expectation:IDataObjectBuilder*makeDataObjectBuilder(string[]interfaceNames)
Parameters
interfaceNames
string[] — Required
List of data object interfaces.
Returns
IDataObjectBuilder*
the data-object builder

