Class UFile

Summary

A file (composed of anything except another file)

Superclasses:
UEntity

Package:
UniDoc
File:
UniForm.icn
Methods:
addClass, addGlobal, addImport, addLink, addProcedure, addRecord, getClass, getClassNames, getClasses, getGlobalNames, getGlobals, getImportNames, getImports, getLinkNames, getLinks, getPackage, getPackageName, getProcedureNames, getProcedures, getRecordNames, getRecords, setClasses, setGlobals, setImports, setLinks, setPackage, setProcedures, setRecords

Methods inherited from Object:
Type, className, clone, equals, fieldNames, genMethods, getField, get_class, get_class_name, get_id, hasField, hasMethod, hash_code, instanceOf, invoke, is_instance, setField, to_string

Methods inherited from UEntity:
addComment, getComments, getFormType, getName, getParent, getSrcFile, mergeComments, setComments, setName, setParent, setSrcFile, startNewComments

Fields:
classes, comments, globals, imports, links, name, pack, parent, procs, records

Source code.

Details
Constructor

UFile(name, parent, comments, imports, links, pack, procs, classes, globals, records)

Methods:

addClass(newClass)

Add a class to this file.


addGlobal(newGlobal)

Add a global to this file.


addImport(newImport)

Add an import to this file.


addLink(newLink)

Add a link to this file.


addProcedure(newProc)

Add an procedure to this file.


addRecord(newRecord)

Add a record to this file.


getClass(cName)

Produce the class with the given name if it's defined in this file.


getClassNames()

Produce a sorted list of the names of classes defined by this file.


getClasses()

Produce the classes listed in this file.


getGlobalNames()

Produce a sorted list of the names of globals listed by this file.


getGlobals()

Produce the globals listed in this file.


getImportNames()

Produce a sorted list of the names of files imported by this file.


getImports()

Produce the imports listed in this file.


getLinkNames()

Produce a sorted list of the names of files lined by this file.


getLinks()

Produce the links listed in this file.


getPackage()

Produce the package associated with this file.


getPackageName()

Produce the name of the package associated with this file.


getProcedureNames()

Produce a sorted list of the names of the procedures in this file.


getProcedures()

Produce the procedures listed in this file.


getRecordNames()

Produce a sorted list of the names of records defined by this file.


getRecords()

Produce the records listed in this file.


setClasses(newClasses)

Set the classes listed in this file.


setGlobals(newGlobals)

Set the globals listed in this file.


setImports(newImports)

Set the imports listed in this file.


setLinks(newLinks)

Set the links listed in this file.


setPackage(newPack)

Set the package that this file belongs in.


setProcedures(newProcs)

Set the procedures listed in this file.


setRecords(newRecords)

Set the records listed in this file.


Fields:
classes

comments

globals

imports

links

name

pack

parent

procs

records


This page produced by UniDoc on 2021/04/15 @ 23:59:54.