| 766 | |
| 767 | |
| 768 | string IntlManager::getConfigInfo(const ConfigFile::Parameter* confObj) |
| 769 | { |
| 770 | if (!confObj || !confObj->sub) |
| 771 | { |
| 772 | return ""; |
| 773 | } |
| 774 | |
| 775 | ConfigFile::String configInfo; |
| 776 | const ConfigFile::Parameters& all = confObj->sub->getParameters(); |
| 777 | |
| 778 | for (FB_SIZE_T n = 0; n < all.getCount(); ++n) |
| 779 | { |
| 780 | const ConfigFile::Parameter& par = all[n]; |
| 781 | const string parName = par.name.ToString(); |
| 782 | |
| 783 | if (parName == "filename") |
| 784 | continue; |
| 785 | |
| 786 | if (configInfo.hasData()) |
| 787 | configInfo.append(";"); |
| 788 | |
| 789 | configInfo.append(parName + "=" + par.value); |
| 790 | } |
| 791 | |
| 792 | return configInfo.ToString(); |
| 793 | } |
| 794 | |
| 795 | |
| 796 | bool IntlManager::registerCharSetCollation(const string& name, const PathName& filename, |