Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h
index a3c5d98d6..6ec0f1a84 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFilter.h
@@ -14,8 +14,8 @@
#define MSCFILTER_H_
#include "etDatatypes.h"
-#include <list>
-#include <string>
+#include "common/containers/String.h"
+#include "common/containers/Vector.h"
namespace etRuntime {
@@ -23,14 +23,18 @@ class MSCFilter {
public:
class FilterItem {
public:
- FilterItem(const std::string& filter_, etBool exclude_) :
- exclude(exclude_),
- filter(filter_) {
+ FilterItem(const String& filter_, etBool exclude_)
+ : exclude(exclude_)
+ , filter(filter_)
+ {
+ }
+ FilterItem()
+ : exclude()
+ , filter()
+ {
}
etBool exclude;
- std::string filter;
- private:
- FilterItem();
+ String filter;
};
MSCFilter();
@@ -38,11 +42,11 @@ public:
}
void addFilter(FilterItem filter);
- etBool applyTo(const std::string& text);
- std::string reduceString(const std::string& string);
+ etBool applyTo(const String& text);
+ String reduceString(const String& text);
private:
- std::list<FilterItem> filterList;
+ Vector<FilterItem> filterList;
};

Back to the top