T his chapter describes how to define and use custom information types with the Information Service.
The Information Service defines a number of simple IS types as it has been explained in the previous chapter. In addition to that a software developer can define his own types of information. A user-defined information type can be declared in C++ and Java languages as a class containing an arbitrary number of attributes. Each attribute cab be defined either as a single variable of one of the basic types, supported by IS, or as an array of one of those types. For the list of the IS supported types see Appendix D.
Although an information class can be declared manually (see Appendix A), it is strongly recommended to use a special procedure of defining an information type which is described in this chapter. Using this procedure offers additional benefits to a software developer:
2 July 1998 - WebMaster | Copyright © CERN 1998 |