Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Advanced CORBA Programming wit C++ - M. Henning, S. Vinoski.pdf
Скачиваний:
65
Добавлен:
24.05.2014
Размер:
5 Mб
Скачать

IT-SC book: Advanced CORBA® Programming with C++

The relevant type information is supplied to the channel as part of the filter expression so that the channel can match any values against the filter. Typically, the channel is implemented so that it first creates an abstract syntax tree for the filter expression and then evaluates each node in the tree. Because the expression itself contains things such as repository IDs and field names, the channel can evaluate the filter against an any value without requiring additional type information from an interface repository.

17.7 Summary

DynAny provides composition and decomposition for values in a way that is analogous to the way TypeCode provides composition and decomposition for types. Together, DynAny and TypeCode provide the features required by generic applications that do not have knowledge of the compile-time types of values. DynAny was revised with CORBA 2.3 in a way that is not backward-compatible. Before developing code that uses DynAny, you should ensure that you have the 2.3 version.

667