rtiddsgen2 customization

2 posts / 0 new
Last post
Offline
Last seen: 8 years 8 months ago
Joined: 02/26/2013
Posts: 9
rtiddsgen2 customization for C++

Hello,

I have in one IDL file several structures and also the following structure

struct QuantityZ
{
    double  qty;
    double  Z;
};


Is it possible to customize the rtiddsgen2 via templates so that just for this structure to somehow "insert" in the generated header file
the following equality operator :

  bool operator == (const QuantityZ &a) const
    {
        return qty==a.qty && Z == a.Z;
    }

Organization:
Subscribe to RSS - rtiddsgen2 customization