Table of Contents

Class: IType ./src/peak/model/interfaces.py

Conversion/marshalling info for a model type

Base Classes   
IComponentKey
Methods   
mdl_fromString
mdl_normalize
mdl_toString
  mdl_fromString 
mdl_fromString ( aString )

Return an instance of type created based on aString

  mdl_normalize 
mdl_normalize ( value )

Return value normalized to the type, or raise error if invalid

If a type does not supply this method, features using the type will accept any value.

  mdl_toString 
mdl_toString ( instance )

Return a str() of 'instance'; defaults to str if not present


Table of Contents

This document was automatically generated on Mon Apr 15 01:11:05 2024 by HappyDoc version 2.1