NonStop Software

TypeDef

Previous Topic | Next Topic | Contents | Index
Getting Started Guide | Administration Guide | Programmer's Guide

Subtopics

TypeDef Description
TypeDef Example
TypeDef::describe( )
TypeDef::type

TypeDef Description

The TypeDef interface defines types such as typedef, struct, union, or sequence. It inherits from the Contained interface.

TypeDef Example

//IDL
interface TypeDef : Contained {
   attribute TypeCode <type>;
};

TypeDef::describe( )

Description

TypeDef::describe( ) is inherited from Contained. It returns a structure of type Contained::Description.

Example

//IDL
struct Description {
   Identifier <name>;
   any <value>;
};

Parameters

The <name> member of the structure contains the string "TypeDescription". The TypeCode of the <value> member is _tc_TypeDescription.

The value of the any is a structure of type such as:

//IDL
struct Description {
   Identifier <name>;
   any <value>
};

TypeDef::type

Syntax

attribute TypeCode <type>;

Description

TypeDef::<type> specifies the TypeCode for the typedef definition.


Previous Topic | Next Topic | Contents | Top
Getting Started Guide | Administration Guide | Programmer's Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.