Lines Matching refs:string
19 #include <string>
35 std::string declaration = "_declaration";
36 std::string instruction = "_instruction";
37 std::string attributes = "_attributes";
38 std::string text = "_text";
39 std::string cdata = "_cdata";
40 std::string doctype = "_doctype";
41 std::string comment = "_comment";
42 std::string parent = "_parent";
43 std::string type = "_type";
44 std::string name = "_name";
45 std::string elements = "_elements";
67 std::string strVersion = "";
69 std::string strEncoding = "";
101 * @param strXml A string of XML text.
103 napi_value Convert(napi_env env, std::string strXml);
106 * Converts the string of js to string of C++.
112 napi_status DealNapiStrValue(napi_env env, const napi_value napi_StrValue, std::string &result) const;
128 const std::string parentName = "") const;
131 const std::string parentName = "");
132 std::string GetNodeType(const xmlElementType enumType) const;
133 void SetKeyValue(napi_env env, const napi_value &object, const std::string strKey,
134 const std::string strValue) const;
135 std::string Trim(std::string strXmltrim) const;
140 void SetDefaultKey(size_t i, const std::string strRecv);
142 void DealSingleLine(napi_env env, std::string &strXml, const napi_value &object);
143 void DealComplex(napi_env env, std::string &strXml, const napi_value &object) const;
144 void Replace(std::string &str, const std::string src, const std::string dst) const;
149 std::string strSpace_ {};