company logo

DBBaseContext :: asTypeContext - Convert to type context

The function may be called in order to convert the more general DBBaseContext to a TypeContext.

The function throws an exception, when the current context is not a TypeContext instance.

Return value:  Instance context ( odaba::TypeContext & )

Implementation details

odaba::TypeContext & DBBaseContext  :: asTypeContext (  )

The function returns a TypeContext context, when the current DBBaseContext is a TypeContext instance.