Table of Contents

Class: Type ./src/peak/model/elements.py
Base Classes   
Namespace
    _Base
Methods   
__init__
__new__
__str__
_mdl_toDict
mdl_asSyntax
mdl_fromFields
mdl_fromString
mdl_normalize
mdl_toString
setParentComponent
  __init__ 
__init__ (
        self,
        parentComponent=NOT_GIVEN,
        componentName=None,
        **__kw,
        )

Exceptions   
TypeError("%s constructor has no keyword argument %s" %( klass, k ) )
  __new__ 
__new__ (
        klass,
        *__args,
        *__kw,
        )

Don't allow instantiation if this is an abstract class

Exceptions   
TypeError, "Can't instantiate an abstract class!"
  __str__ 
__str__ ( self )

  _mdl_toDict 
_mdl_toDict ( self )

  mdl_asSyntax 
mdl_asSyntax ( klass )

  mdl_fromFields 
mdl_fromFields ( klass,  fieldSeq )

Return a new instance from a sequence of fields

  mdl_fromString 
mdl_fromString ( klass,  value )

Exceptions   
NotImplementedError
  mdl_normalize 
mdl_normalize ( klass,  value )

  mdl_toString 
mdl_toString ( klass,  value )

  setParentComponent 
setParentComponent (
        self,
        parentComponent,
        componentName=None,
        )

Exceptions   
TypeError( "Data values are not components" )

Table of Contents

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