First of all, i'm fairly new to YARP so my doubt might be really dumb, the fact is i couldn't figure t out it, which is the reason behind this message. It's very simple actually, i want to access the list of all registered ports. I've looked throughout the Network class in os namespace, but i couldn't find any method to solve my problem. I can access this list by command line interface but, i want to use it internally in my program. So i checked your code, and the supposed variable that holds this record (i guess) has private access (that would be nameMap in yarp/os/impl/NameServer.h).
Thanks in advance for any feedback.