Topic: import/export lists for defining an interface

topics > computer science > programming > Group: program module

identifying program modules
interface between program modules
global declarations and variables
object-oriented classes
Subtopic: explicit import/export up

Quote: an interface specifies its imports (what entities it assumes to exist) and its exports (what entities it provides) [»cheaTE_1979]
Quote: MJ module component registry with import/export lists, access control, and initialization code [»corwJ10_2003]
Quote: MIL defines a system tree of modules with provided and required resources at each node [»dereFL6_1975, OK]
Quote: INTERCOL guarantees integrity at module interconnection level by interface control (consistent interfaces) and version control (generation) [»tichWF9_1979]
Quote: in Russell, an exports-list defines what is representation and what is visible outside; same as a with-list [»demeA_1978]
Quote: an Eiffel class exports externally visible features; all other features are internal [»meyeB9_1990]
Quote: modules export names while routines import them [»hehnEC7_1975, OK]
Quote: Oberon's modules form an import/export hierarchy; no distinction between operating system and applications [»wirtN9_1989]
Quote: a block may grant (export) access rights of local variables to other blocks [»mcgrJR1_1979]
Quote: a filter imports a stream interface and exports another stream interface [»redeDD2_1980]

Subtopic: pass-through module up

Quote: pass-through modules necessary for module security; e.g., hide an internal module or aggregate a collection of module interfaces [»corwJ10_2003]

Subtopic: restricted access up

Quote: MIL uses names of resources to convey or restrict access information between modules [»dereFL6_1975]

Subtopic: implicit import/export up

Quote: a type capsule with an export-list is equivalent to exporting everything and used in procedures with a type parameter using the same with-list [»demeA_1978]

Subtopic: examples up

Quote: the C preprocessor expands an include statement into the named file's contents [»ritcDM7_1978c]
Quote: export a declaration by writing it to a file; import it by reading from the file [»hansDR11_1979]
Quote: in C, a static function or data is not visible to programs in other files [»ritcDM7_1978c]
QuoteRef: liskBH2_1976 ;;8 in CLU can define local operations for inside a cluster
Quote: in Modula, an exported variable is read-only; must export an assign operator if want read-write [»barnDT3_1978]

Subtopic: backward compatibility up

Quote: if a module changes its exported interface, can hide it in a configuration that exports the old interface
Quote: if change an interface, should provide backward compatibility by implementing the old interface

Related Topics up

Topic: identifying program modules (26 items)
Topic: interface between program modules (55 items)
Topic: global declarations and variables (33 items)
Topic: object-oriented classes
(66 items)

Updated barberCB 5/05
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.