C++: Is it possible to list all data members of an object?


I would appreciate if someone can please let me know if I can print all data members of an object, so I can see what properties/values do it have?
What about functions? Is there any way to know what functions an object have?

The context is that I have access to an object of the derived class, while I do not have access to the original class.

For instance

#if defined (TRUFI) 
    class __IMP_EXP SBBGREKernel : public SBBTRUFIBase
#else
    class __IMP_EXP SBBGREKernel : public SBBGREBase
#endif

So, I have little idea of members of object “SBBGREKernel”.

Any help/ guidance would be appreciated.