Bull DPX/20 Betriebsanweisung Seite 308

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 307
3-2
SOMobjects Base Toolkit Programmers Reference Manual
AttributeDef Class
Description
The AttributeDef class provides the interface for attribute definitions in the Interface
Repository.
File Stem
attribdf
Base
Contained
Metaclass
SOMClass
Ancestor Classes
Contained
SOMObject
Types
enum AttributeMode {NORMAL, READONLY};
struct AttributeDescription {
Identifier name;
RepositoryId id;
RepositoryId defined_in;
TypeCode type;
AttributeMode mode;
};
The describe method, inherited from Contained, returns an AttributeDescription structure
in the value member of the Description structure (defined in the Contained class).
Attributes
Following is a list of each available attribute, with its corresponding type in parentheses,
followed by a description of its purpose:
type (TypeCode)
The TypeCode that represents the type of the attribute. The TypeCode
returned by the “_get_” form of the type attribute is contained in the
receiving AttributeDef object, which retains ownership. Thus, the returned
TypeCode should not be freed. To obtain a separate copy, use the
TypeCode_copy operation. The “_set_” form of the attribute makes a
private copy of the TypeCode you supply, to keep in the receiving object.
You retain ownership of the passed TypeCode.
mode (AttributeMode)
The AttributeMode of the attribute (NORMAL or READONLY).
Seitenansicht 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare