Interface IExplosive


The following pseudocode

interface IExplosive {
    std::string type() const;
    void detonate();
};

can be rendered in the Interface Definition Language (IDL) as follows:

BOOST_IDL_BEGIN(IAnimal)
    BOOST_IDL_CONST_FN0(type, std::string)
    BOOST_IDL_FN0(detonate, void)
BOOST_IDL_END(IAnimal)

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