Global Information Lookup Global Information

Opaque data type information


In computer science, an opaque data type is a data type whose concrete data structure is not defined in an interface. This enforces information hiding, since its values can only be manipulated by calling subroutines that have access to the missing information. The concrete representation of the type is hidden from its users, and the visible implementation is incomplete. A data type whose representation is visible is called transparent.[1] Opaque data types are frequently used to implement abstract data types.

Typical examples of opaque data types include handles for resources provided by an operating system to application software. For example, the POSIX standard for threads defines an application programming interface based on a number of opaque types that represent threads or synchronization primitives like mutexes or condition variables.[2]

An opaque pointer is a special case of an opaque data type, a datatype that is declared to be a pointer to a record or data structure of some unspecified data type. For example, the standard library that forms part of the specification of the C programming language provides functions for file input and output that return or take values of type "pointer to FILE" that represent file streams (see C file input/output), but the concrete implementation of the type FILE is not specified.[3]

  1. ^ Friedman, Daniel P.; Wand, Mitchell; Haynes, Christopher T. (2001). Essentials of Programming Languages (2nd ed.). MIT Press. p. 42. ISBN 978-0-262-06217-6.
  2. ^ Butenhof, David R. (1997). Programming with POSIX Threads. Addison-Wesley. p. 31. ISBN 978-0-201-63392-4.
  3. ^ Kernighan, Brian W.; Ritchie, Dennis M. (1988). The C Programming Language (2nd ed.). Prentice Hall. ISBN 0-13-110362-8.

and 18 Related for: Opaque data type information

Request time (Page generated in 0.8461 seconds.)

Opaque data type

Last Update:

In computer science, an opaque data type is a data type whose concrete data structure is not defined in an interface. This enforces information hiding...

Word Count : 486

Abstract data type

Last Update:

and are easily confused with ADTs proper; these include abstract types, opaque data types, protocols, and design by contract. For example, in modular programming...

Word Count : 4408

Opaque pointer

Last Update:

opaque pointer is a special case of an opaque data type, a data type declared to be a pointer to a record or data structure of some unspecified type....

Word Count : 996

Data structure

Last Update:

interface of a library module and its implementation. Some provide opaque data types that allow clients to hide implementation details. Object-oriented...

Word Count : 1822

External Data Representation

Last Update:

big-endian order; smaller data types still occupy four bytes each after encoding. Variable-length types such as string and opaque are padded to a total divisible...

Word Count : 509

List of cloud types

Last Update:

with up-turned hooks or curls. Cirrus spissatus (V-3) Dense and opaque or mostly opaque patches. Cirrus castellanus (V-4) A series of dense lumps, or "towers"...

Word Count : 7457

Information hiding

Last Update:

Implementation inheritance Inheritance semantics Modularity (programming) Opaque data type Virtual inheritance Transparency (human–computer interaction) Scope...

Word Count : 1496

Computer file

Last Update:

and early versions of MS-DOS. A file handle is generally either an opaque data type or an integer; it was introduced in around 1961 by the ALGOL-based...

Word Count : 4424

Candida albicans

Last Update:

mating compared to the white type. This switching between white and opaque form is regulated by the WOR1 regulator (White to Opaque Regulator 1) which is controlled...

Word Count : 9890

Document type definition

Last Update:

just referenced as an opaque external object (which is not parsable with SGML) via its "data" attribute (whose value type is an opaque ENTITY). Only one notation...

Word Count : 6122

Typewriter

Last Update:

it was invented by Bette Nesmith Graham. Correction fluid was a kind of opaque, white, fast-drying paint that produced a fresh white surface onto which...

Word Count : 13459

Type aliasing

Last Update:

TypeAlias = list[float] Rust features type aliasing using the type keyword. type Point = (u8, u8); Scala can create type aliases using opaque types....

Word Count : 476

PDF

Last Update:

with no fonts or text properties. The original imaging model of PDF was opaque, similar to PostScript, where each object drawn on the page completely replaced...

Word Count : 9344

File format

Last Update:

are designed for very particular types of data: PNG files, for example, store bitmapped images using lossless data compression. Other file formats, however...

Word Count : 4557

Osteogenesis imperfecta

Last Update:

bone biopsy under a microscope. Type V can be further distinguished from other types of OI by the "V triad": an opaque band (visible on X-ray) adjacent...

Word Count : 15363

Dispose pattern

Last Update:

additional auxiliary data with the handle, so handles can be stored as a field in a record, along with other data; if this in an opaque data type, then this provides...

Word Count : 1988

EPROM

Last Update:

erasable programmable read-only memory, is a type of programmable read-only memory (PROM) chip that retains its data when its power supply is switched off....

Word Count : 2078

GitHub Copilot

Last Update:

communication with the GitHub Copilot servers. This opaque architecture has fueled concerns over telemetry and data mining of individual keystrokes. A paper accepted...

Word Count : 1671

PDF Search Engine © AllGlobal.net