void Object::emitContainerModification() { if (parent()) { parent()->notifyContainerModification(); } if (asContainer()) { asContainer()->notifyContainerModification(); } }
void ossimProperty::saveState(ossimKeywordlist& kwl, const ossimString& prefix)const { const ossimContainerProperty* container = asContainer(); if(container) { ossim_uint32 nproperties = container->getNumberOfProperties(); ossim_uint32 propertiesIndex = 0; for(propertiesIndex = 0; propertiesIndex < nproperties; ++propertiesIndex) { ossimString newPrefix = prefix + container->getName() + "."; ossimRefPtr<ossimProperty> prop = container->theChildPropertyList[propertiesIndex]; if(prop.valid()) { prop->saveState(kwl, newPrefix); } } } else { kwl.add(prefix + getName(), valueToString(), true); } }