Bull DPX/20 Guia do Utilizador Página 353

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 352
3-47
Interface Repository Framework Reference
TypeCode_parameter Function
Purpose
Obtains a specified parameter from a given TypeCode.
IDL Syntax
any TypeCode_parameter (
long index);
Description
The TypeCode_parameter function can be used to obtain any of the parameters contained
in a given TypeCode. Refer to the table shown in the description of the TypeCode_kind
function for a list of the number and type of parameters associated with each category of
TypeCode.
Parameters
tc The TypeCode whose parameter is desired.
ev A pointer to an Environment structure. The CORBA standard mandates
the use of this structure as a standard way to return exception information
when an error condition is detected.
index The number of the desired parameter. Parameters are numbered from 0 to
N–1, where N is the value returned by the Typecode_param_count
function.
Return Value
Returns the requested parameter in the form of an any. This function raises the Bounds
exception if the value of the index exceeds the number of parameters available in the given
TypeCode. Because the values exist within the specified TypeCode, you should not free
the results returned from this function.
An any is a basic IDL data type that is represented as the following structure in C or C++:
typedef struct any {
TypeCode _type;
void * _value;
} any;
Vista de página 352
1 2 ... 348 349 350 351 352 353 354 355 356 357 358 ... 423 424

Comentários a estes Manuais

Sem comentários