eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ExternalStructure':

Home

everywhere
www.exept.de
for:
[back]

Class: ExternalStructure


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ArrayedCollection
            |
            +--UninterpretedBytes
               |
               +--ExternalBytes
                  |
                  +--ExternalStructure

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.3 date: 2006/06/20 15:27:17
user: ca
file: ExternalStructure.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


Instances of this class represent external (non-Smalltalk) data,
typically C-structs or C++ instances.
They are only useful to represent handles as returned by C functions as smalltalk objects.

ExternallStructures are much like ExternalBytes - however, the latter
allow you to access bytes via indexed at:/at:put: messages, whilst instances of subclasses of me
allow access via the corresponding getter/setter methods of my C-type.


Related information:

    ExternalBytes
    ExternalAddress
    [how to write primitive code]

Class protocol:

instance creation
o  fromExternalAddress: anExternalAddress

queries
o  cType


Instance protocol:

private
o  fromExternalAddress: anExternalAddress



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:08:25 GMT