I'm working with Display Rules and have come upon a notation that I do not understand and cannot get to compile:
DisplayRuleSetCPVector fileDisplayRules = DisplayRulesManager::GetDisplayRuleSetsInFile(*mdlModelRef_getDgnFile(mdlModelRef_getActive())); for (DisplayRuleSetCPVector::const_iterator it = fileDisplayRules.begin(); it != fileDisplayRules.end(); ++it) { DisplayRuleSetCP displayRuleSetCP = *it; printf("name=%S\n", displayRuleSetCP->GetName().c_str()); DisplayRulePtrVector displayRuleP = displayRuleSetCP->GetDisplayRules(); // <--dont know how to code this }
I don't know how to define "displayRuleP" from the DisplayRulesSetCP.
Thanks,
Bruce