[Top] [Prev] [Next] [Bottom]

Standard OMG IDL Types

A


The OMG IDL types listed in this appendix are available in all ORB implementations. IDL specifications that incorporate these types are therefore portable across ORB implementations. .
TBL. 13 Types Defined by IDL

Type

Described In

short

"Integer Types" on page 3-21

long

"Integer Types" on page 3-21

unsigned short

"Integer Types" on page 3-21

unsigned long

"Integer Types" on page 3-21

float

"Floating-Point Types" on page 3-21

double

"Floating-Point Types" on page 3-21

char

"Char Type" on page 3-21

boolean

"Boolean Type" on page 3-22

octet

"Octet Type" on page 3-22

struct

"Structures" on page 3-22

union

"Discriminated Unions" on page 3-23

enum

"Enumerations" on page 3-24

sequence

"Sequences" on page 3-25

string

"String Literals" on page 3-8

array

"Arrays" on page 3-26

any

"Any Type" on page 3-22

Object

"Object Reference Operations" on page 7-2

TBL. 14 on page A-2 lists the ORB pseudo-objects that should be available in any language mapping; in the C mapping, these definitions are contained in the file orb.h. Pseudo-objects cannot be invoked with the dynamic interface, and do not have object references. Those pseudo-objects that cannot be used as general arguments (passed as arguments in requests on real objects) are identified in the table. The definitions of pseudo-objects that can be used as general arguments are contained in the file orb.idl, and can be #included into IDL specifications.
TBL. 14 Pseudo-objects

Name

General Argument?

In orb.idl?

Described In

Environment

No

No

[insert new c map ref]

Request

No

No

Section 4.2 on page 4-4

Context

No

No

Section 4.5 on page 4-12

ORB

No

No

Section 7.1 on page 7-1

BOA

No

No

Section 8.2 on page 8-3

TypeCode

Yes

Yes

Section 6.4.2 on page 6-5

Principal

Yes

Yes

Section 8.2.4 on page 8-9

NVList

No

No

Section 4.1.1 on page 4-1

Types used with the Interface Repository are shown in TBL. 14 on page A-2. They are contained in orb.idl.
TBL. 15 Interface Repository Types

Name

Type

Described In

Identifier

string

Section 6.6 on page 6-30

RepositoryId

string

Section 6.6 on page 6-30

OperationMode

enum

Section 6.5.21 on page 6-25

ParameterMode

enum

Section 6.5.21 on page 6-25

AttributeMode

enum

Section 6.5.20 on page 6-24

InterfaceDescription

struct

Section 6.5.22 on page 6-27

OperationDescription

struct

Section 6.5.21 on page 6-25

AttributeDescription

struct

Section 6.5.20 on page 6-24

ParameterDescription

struct

Section 6.5.21 on page 6-25

RepositoryDescription

struct

Section 6.5.6 on page 6-16

ModuleDescription

struct

Section 6.5.7 on page 6-17

ConstDescription

struct

Section 6.5.8 on page 6-17

ExceptionDescription

struct

Section 6.5.19 on page 6-23

TypeDescription

struct

Section 6.5.6 on page 6-16

FullInterfaceDescription

struct

Section 6.5.22 on page 6-27

InterfaceDef

interface

Section 6.5.22 on page 6-27

OperationDef

interface

Section 6.5.21 on page 6-25

AttributeDef

interface

Section 6.5.20 on page 6-24

ParameterDef

interface

Section 6.7 on page 6-33

RepositoryDef

interface

Section 6.5.6 on page 6-16

ModuleDef

interface

Section 6.5.7 on page 6-17

TypeDef

interface

Section 6.5.6 on page 6-16

ConstDef

interface

Section 6.5.8 on page 6-17

ExceptionDef

interface

Section 6.5.19 on page 6-23

ImplementationDef

interface

Section 8.2.1 on page 8-5

The any type can be used to represent a variety of types of values. All ORB implementations must support all data types expressible in OMG IDL as any values.



[Top] [Prev] [Next] [Bottom]

pubs@omg.org
Copyright © 1995, Object Management Group. All rights reserved.