29 #include YFM_YSLib_Service_ContentType
38 inv_map.insert(make_pair(pr.second, pr.first));
43 ext_map.insert(make_pair(pr.second, pr.first)),
51 inv_map.insert(make_pair(pr.second, pr.first));
56 ext_map.insert(make_pair(pr.second, pr.first)),
65 if(node.GetContainerPtr())
69 pth.push_back(nd.GetName());
78 m += make_pair(Access<string>(node), !pth.empty()
80 pth.cbegin(), std::prev(pth.cend())} : pth);
YF_API bool IsPrefixedIndex(const string &, char= '$')
判断字符串是否是一个指定字符和非负整数的组合。
void operator-=(const pair< ExtensionType, MIMEType > &)
void operator+=(const pair< MIMEType, ExtensionType > &)
YF_API void AddMIMEItems(MIMEBiMapping &, const ValueNode &, MIMEBiMapping::MIMEType &&={})
根据 NPLA1 节点内容增加 MIME 映射。