Bull DPX/20 Guia do Utilizador Página 334

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 333
3-28
SOMobjects Base Toolkit Programmers Reference Manual
ParameterDef Class
Description
The ParameterDef class provides the interface for parameter definitions in the Interface
Repository.
File Stem
paramdef
Base
Contained
Metaclass
SOMClass
Ancestor Classes
Contained
SOMObject
Types
enum ParameterMode {IN, OUT, INOUT};
struct ParameterDescription {
Identifier name;
RepositoryId id;
RepositoryId defined_in;
TypeCode type;
ParameterMode mode;
};
The describe method, inherited from Contained, returns a ParameterDescription
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 parameter. The TypeCode
returned by the “_get_” form of the type attribute is contained in the
receiving ParameterDef object, which retains ownership. Hence, 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 (ParameterMode)
The ParameterMode of the parameter (IN, OUT, or INOUT).
New Methods
None.
Vista de página 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 423 424

Comentários a estes Manuais

Sem comentários