Added quantiling UDAFs
[com/gs-lite.git] / src / ftacmp / xml_t.h
index 392f476..3347935 100644 (file)
@@ -1,56 +1,56 @@
-/* ------------------------------------------------
-Copyright 2014 AT&T Intellectual Property
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
- ------------------------------------------- */
-#ifndef __XML_T_DEFINED_
-#define __XML_T_DEFINED_
-
-#include <stdio.h>
-#include<vector>
-#include<string>
-#include<map>
-#include<set>
-#include<algorithm>
-
-
-void xmlParser_setfileinput(FILE *f);
-void xmlParser_setstringinput(char *s);
-
-
-//                     Represent leaf-level xml nodes
-class xml_leaf_t{
-public:
-       std::string name;
-       std::vector<std::string> attrs;
-       std::vector<std::string> vals;
-
-       xml_leaf_t(const char *n, std::vector<std::string> &a, std::vector<std::string> &v){
-               name = n;
-               attrs = a;
-               vals = v;
-       }
-};
-
-class xml_t{
-public:
-       std::vector<xml_leaf_t *> leaves;
-
-       xml_t(){}
-
-       void add_leaf(xml_leaf_t *l){
-               leaves.push_back(l);
-       }
-};
-
-#endif
-
+/* ------------------------------------------------\r
+Copyright 2014 AT&T Intellectual Property\r
+   Licensed under the Apache License, Version 2.0 (the "License");\r
+   you may not use this file except in compliance with the License.\r
+   You may obtain a copy of the License at\r
+\r
+     http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+ ------------------------------------------- */\r
+#ifndef __XML_T_DEFINED_\r
+#define __XML_T_DEFINED_\r
+\r
+#include <stdio.h>\r
+#include<vector>\r
+#include<string>\r
+#include<map>\r
+#include<set>\r
+#include<algorithm>\r
+\r
+\r
+void xmlParser_setfileinput(FILE *f);\r
+void xmlParser_setstringinput(char *s);\r
+\r
+\r
+//                     Represent leaf-level xml nodes\r
+class xml_leaf_t{\r
+public:\r
+       std::string name;\r
+       std::vector<std::string> attrs;\r
+       std::vector<std::string> vals;\r
+\r
+       xml_leaf_t(const char *n, std::vector<std::string> &a, std::vector<std::string> &v){\r
+               name = n;\r
+               attrs = a;\r
+               vals = v;\r
+       }\r
+};\r
+\r
+class xml_t{\r
+public:\r
+       std::vector<xml_leaf_t *> leaves;\r
+\r
+       xml_t(){}\r
+\r
+       void add_leaf(xml_leaf_t *l){\r
+               leaves.push_back(l);\r
+       }\r
+};\r
+\r
+#endif\r
+\r