Methods
|
|
|
|
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,
)
|
|