Home | History | Annotate | Download | only in localize

Lines Matching full:const

12 extern const XMLNamespaceMap XLIFF_NAMESPACES;
14 extern const char*const XLIFF_XMLNS;
37 static XLIFFFile* Parse(const string& filename);
38 static XLIFFFile* Create(const Configuration& sourceConfig, const Configuration& targetConfig,
39 const string& currentVersion);
42 inline const Configuration& SourceConfig() const { return m_sourceConfig; }
43 inline const Configuration& TargetConfig() const { return m_targetConfig; }
45 inline const string& CurrentVersion() const { return m_currentVersion; }
46 inline const string& OldVersion() const { return m_oldVersion; }
48 set<string> Files() const;
50 void AddStringResource(const StringResource& res);
51 inline set<StringResource> const& GetStringResources() const { return m_strings; }
52 bool FindStringResource(const string& filename, int version, bool source);
54 void Filter(bool (*func)(const string&,const TransUnit&,void*), void* cookie);
55 void Map(void (*func)(const string&,TransUnit*,void*), void* cookie);
57 TransUnit* EditTransUnit(const string& file, const string& id);
60 XMLNode* ToXMLNode() const;
64 string ToString() const;
66 Stats GetStats(const string& config) const;
70 int Compare(const File& that) const;
72 inline bool operator<(const File& that) const { return Compare(that) < 0; }
73 inline bool operator<=(const File& that) const { return Compare(that) <= 0; }
74 inline bool operator==(const File& that) const { return Compare(that) == 0; }
75 inline bool operator!=(const File& that) const { return Compare(that) != 0; }
76 inline bool operator>=(const File& that) const { return Compare(that) >= 0; }
77 inline bool operator>(const File& that) const { return Compare(that) > 0; }
84 StringResource* find_string_res(TransUnit& g, const StringResource& str);
96 int convert_html_to_xliff(const XMLNode* original, const string& name, XMLNode* addTo, int* phID);