8 #ifndef __VRV_EXPANSION_MAP_H__
9 #define __VRV_EXPANSION_MAP_H__
44 void Expand(
const xsdAnyURI_List &expansionList, xsdAnyURI_List &existingList,
Object *prevSection);
46 std::vector<std::string> GetExpansionIDsForElement(
const std::string &xmlId);
51 void ToJson(std::string &output);
54 bool UpdateIDs(
Object *
object);
56 void GetIDList(
Object *
object, std::vector<std::string> &idList);
58 void GeneratePredictableIDs(
Object *source,
Object *target);
61 bool AddExpandedIDToExpansionMap(
const std::string &origXmlId, std::string newXmlId);
65 std::map<std::string, std::vector<std::string>>
m_map;