DOFTypeContextcreate Method (Boolean, DOFTypeContextResolver, DOFPacket)OpenDOF Object Access Library
Create a type from a buffer that is pointing to a reference to the type in the context.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFType create(
	bool fully_define,
	DOFTypeContextResolver resolver,
	DOFPacket packet
)

Parameters

fully_define
Type: SystemBoolean
true
if only fully defined types should be returned.
resolver
Type: org.opendof.core.oalDOFTypeContextResolver
The Resolver to be used if the type is not currently defined.
packet
Type: org.opendof.core.oalDOFPacket
The packet that is pointing at a reference.

Return Value

Type: DOFType
The resulting type if available, null otherwise.
Exceptions

ExceptionCondition
DOFMarshalExceptionThrown if the type could not be read.
DOFMarshalException
Remarks

Create a type from a buffer that is pointing to a reference to the type in the context. In addition, if the type has not been defined then register a Resolver to finalize the type when the referenced type is read.

Note that there is no recursion in this routine.

See Also

Reference