Table of Contents

Class: MOFGenerator ./src/peak/model/mof2py.py
Base Classes   
binding.Component
Methods   
acquire
beginObject
comparePaths
exposeImportDeps
externalize
findAndUpdate
findInverse
getImportName
getImportPath
getRelativeName
getRelativePath
iterParents
nameInPackage
pkgFileName
writeClass
writeClassHeader
writeDataType
writeDocString
writeEnum
writeFeature
writeFileFooter
writeFileHeader
writeImport
writeNSContents
writePackage
writeStruct
writeStructMember
  acquire 
acquire (
        self,
        element,
        name,
        )

  beginObject 
beginObject (
        self,
        element,
        metatype='_model.Element',
        )

  comparePaths 
comparePaths (
        self,
        e1,
        e2,
        )

  exposeImportDeps 
exposeImportDeps (
        self,
        package,
        target=None,
        )

  externalize 
externalize (
        klass,
        metamodel,
        package,
        format,
        **options,
        )

  findAndUpdate 
findAndUpdate (
        self,
        ns,
        findType,
        contentMap,
        )

  findInverse 
findInverse ( self,  feature )

  getImportName 
getImportName ( self,  element )

  getImportPath 
getImportPath (
        self,
        package,
        element,
        )

  getRelativeName 
getRelativeName (
        self,
        element,
        package,
        )

  getRelativePath 
getRelativePath (
        self,
        e1,
        e2,
        acquire=True,
        )

Exceptions   
self.NameNotResolved( "No path between objects", e1.qualifiedName, e2.qualifiedName )
  iterParents 
iterParents ( self,  element )

  nameInPackage 
nameInPackage (
        self,
        element,
        package,
        )

  pkgFileName 
pkgFileName ( self,  package )

  writeClass 
writeClass ( self,  klass )

  writeClassHeader 
writeClassHeader (
        self,
        element,
        baseNames=[],
        )

  writeDataType 
writeDataType ( self,  dtype )

  writeDocString 
writeDocString ( self,  doc )

  writeEnum 
writeEnum (
        self,
        dtype,
        members,
        )

  writeFeature 
writeFeature (
        self,
        feature,
        posn,
        )

  writeFileFooter 
writeFileFooter ( self,  package )

  writeFileHeader 
writeFileHeader ( self,  package )

  writeImport 
writeImport ( self,  imp )

  writeNSContents 
writeNSContents (
        self,
        ns,
        contentMap,
        )

  writePackage 
writePackage ( self,  package )

  writeStruct 
writeStruct (
        self,
        dtype,
        memberInfo,
        )

  writeStructMember 
writeStructMember (
        self,
        mname,
        mtype,
        posn,
        )


Table of Contents

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