Directory

Encyclopedia

NodeWorks
                              ENCYCLOPEDIA

Link Checker

Home
Encyclopedia : W : WR : WRA :

Wrapper

 

Wrapper

In computer science, a wrapper is a piece of code which is combined with another piece of code to determine how that code is executed.

The wrapper acts as an interface between its caller and the wrapped code. This may be done for compatibility, e.g. if the wrapped code is in a different programming language or uses different calling conventions, for security, e.g. to prevent the calling program from executing certain functions, to provide a level of emulation, e.g. a DirectX API which hides the functions of the video card driver.

The implication is that the wrapped code can only be accessed via the wrapper.

In packaging, a wrapper is a flat sheet made out of paper, cellophane or plastic which is folded or vacuum sealed to enclose an object and protect it from wear and tear.


NodeWorks boosts web surfing!
Page Returned in 0.476 seconds - HTML Compressed 69.2%

This article is from Wikipedia. All text is available
under the terms of the GNU Free Documentation License.
 GNU Free Documentation License
© 2008 Chamas Enterprises Inc.