Fixed newline characters throughout the code
[com/gs-lite.git] / include / hfta / base_operator.h
index f566ce3..99df8fa 100644 (file)
@@ -1,56 +1,56 @@
-/* ------------------------------------------------\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
-\r
-#ifndef BASE_OPERATOR_H\r
-#define BASE_OPERATOR_H\r
-\r
-#include "host_tuple.h"\r
-#include <list>\r
-using namespace std;\r
-\r
-class base_operator\r
-{\r
-protected:\r
-       unsigned int output_channel;\r
-       const char* op_name;\r
-public:\r
-//                     Tuple is presented to the operator.  Output tuples\r
-//                     returned in result\r
-       virtual int accept_tuple(host_tuple& tup, list<host_tuple>& result) = 0;\r
-//                     Flush output from the system\r
-       virtual int flush(list<host_tuple>& result) = 0;\r
-//                     Accept new query parameters\r
-       virtual int set_param_block(int sz, void * value) = 0;\r
-       virtual int get_temp_status(host_tuple& result) = 0;\r
-       virtual int get_blocked_status () = 0;\r
-\r
-       base_operator(const char* name) {\r
-               output_channel = 0;\r
-               op_name = name;\r
-       }\r
-\r
-       void set_output_channel(unsigned int channel) {\r
-               output_channel = channel;\r
-       }\r
-\r
-//                     Operator's memory footprint in bytes (estimate for the main structures - hash tables, etc )\r
-       virtual unsigned int get_mem_footprint() { return 0;    }\r
-\r
-       virtual const char* get_name() { return op_name; }\r
-\r
-       virtual ~base_operator() {}\r
-};\r
-\r
-#endif // BASE_OPERATOR_H\r
+/* ------------------------------------------------
+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 BASE_OPERATOR_H
+#define BASE_OPERATOR_H
+
+#include "host_tuple.h"
+#include <list>
+using namespace std;
+
+class base_operator
+{
+protected:
+       unsigned int output_channel;
+       const char* op_name;
+public:
+//                     Tuple is presented to the operator.  Output tuples
+//                     returned in result
+       virtual int accept_tuple(host_tuple& tup, list<host_tuple>& result) = 0;
+//                     Flush output from the system
+       virtual int flush(list<host_tuple>& result) = 0;
+//                     Accept new query parameters
+       virtual int set_param_block(int sz, void * value) = 0;
+       virtual int get_temp_status(host_tuple& result) = 0;
+       virtual int get_blocked_status () = 0;
+
+       base_operator(const char* name) {
+               output_channel = 0;
+               op_name = name;
+       }
+
+       void set_output_channel(unsigned int channel) {
+               output_channel = channel;
+       }
+
+//                     Operator's memory footprint in bytes (estimate for the main structures - hash tables, etc )
+       virtual unsigned int get_mem_footprint() { return 0;    }
+
+       virtual const char* get_name() { return op_name; }
+
+       virtual ~base_operator() {}
+};
+
+#endif // BASE_OPERATOR_H