CPVRChannelPtr channelPtr; // assume channel pointer is already created if(channelPtr->IsRadio()) { // channel is a radio channel } else { // channel is not a radio channel }
CPVRChannelList channelList; // assume channel list is already created for(CPVRChannelList::iterator it = channelList.begin(); it != channelList.end(); ++it) { if((*it)->IsRadio()) { // do something with the radio channel } else { // skip non-radio channels continue; } }From the syntax and function names, it is likely that the package library is related to virtual reality or immersive multimedia environments.