-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ahueck/devel
Source Transformation Feature
- Loading branch information
Showing
73 changed files
with
1,116 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
{ | ||
"global" : { | ||
"transform" : true, | ||
"filter" : true, | ||
"type" : "scalar" | ||
} | ||
}, | ||
"ExplicitCast" : { | ||
"header" : "reCast.h", | ||
"function" : "reCast" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef FILTER_ISSUE_STRUCT_H | ||
#define FILTER_ISSUE_STRUCT_H | ||
|
||
#include "../Issue.h" | ||
|
||
#include <memory> | ||
#include <map> | ||
#include <vector> | ||
|
||
namespace opov { | ||
namespace filter { | ||
|
||
struct IssuesFiltered { | ||
std::shared_ptr<Issue> issue; | ||
std::vector<std::string> tunits; | ||
}; | ||
|
||
struct issue_compare { | ||
bool operator() (const IssuesFiltered& a, const IssuesFiltered& b) { | ||
return a.issue->hash() != b.issue->hash(); | ||
} | ||
}; | ||
|
||
typedef std::map<int, IssuesFiltered> IssueSet; | ||
|
||
} | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef IFILTER_H | ||
#define IFILTER_H | ||
|
||
#include "../IssueHandlerStruct.h" | ||
#include "FilterIssueStruct.h" | ||
#include "../Issue.h" | ||
|
||
namespace opov { | ||
namespace filter { | ||
|
||
class IFilter { | ||
public: | ||
virtual IssueSet apply(const TUIssuesMap& map) = 0; | ||
virtual ~IFilter() { | ||
|
||
} | ||
}; | ||
|
||
} | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef UNIQUE_FILTER_H | ||
#define UNIQUE_FILTER_H | ||
|
||
#include "IFilter.h" | ||
|
||
namespace opov { | ||
namespace filter { | ||
|
||
class UniqueFilter: public IFilter { | ||
public: | ||
UniqueFilter(); | ||
virtual ~UniqueFilter(); | ||
|
||
virtual IssueSet apply(const TUIssuesMap& map) override; | ||
}; | ||
|
||
} | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.