rosbag info in C++
I need to get the names of all the topics in a rosbag in C++ (that is using something like rosbag API). The rosbag cookbook mentions how to get information about the rosbag using python but not C++.
Any help would be appreciated.