The following pseudocode
interface IPoint { long x() const; long y() const; void x(long); void y(long); };
can be rendered in the Interface Definition Language (IDL) as follows:
BOOST_IDL_BEGIN(IPoint)
BOOST_IDL_CONST_FN0(x, long)
BOOST_IDL_CONST_FN0(y, long)
BOOST_IDL_FN1(x, void, long)
BOOST_IDL_FN1(y, void, long)
BOOST_IDL_END(IPoint)
Revised 13 Jan, 2005
© Copyright Jonathan Turkanis, 2005. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah