Interface IPoint


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)

Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah