{"action":"created","comment":{"url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/comments/27418879","id":27418879,"diff_hunk":"@@ -24,6 +24,8 @@\n #include <sstream>\n #include <algorithm>\n \n+#define MOD \"MOD\"","path":"dds/DCPS/FilterEvaluator.cpp","position":4,"original_position":4,"commit_id":"02ab6486431689edb58a92eb392e506f1a683c03","original_commit_id":"02ab6486431689edb58a92eb392e506f1a683c03","user":{"login":"mitza-oci","id":10078698,"avatar_url":"https://avatars.githubusercontent.com/u/10078698?v=3","gravatar_id":"","url":"https://api.github.com/users/mitza-oci","html_url":"https://github.com/mitza-oci","followers_url":"https://api.github.com/users/mitza-oci/followers","following_url":"https://api.github.com/users/mitza-oci/following{/other_user}","gists_url":"https://api.github.com/users/mitza-oci/gists{/gist_id}","starred_url":"https://api.github.com/users/mitza-oci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitza-oci/subscriptions","organizations_url":"https://api.github.com/users/mitza-oci/orgs","repos_url":"https://api.github.com/users/mitza-oci/repos","events_url":"https://api.github.com/users/mitza-oci/events{/privacy}","received_events_url":"https://api.github.com/users/mitza-oci/received_events","type":"User","site_admin":false},"body":"I'd like to avoid preprocessor usage here, it can be an anonymous-namespace-scoped const char[].","created_at":"2015-03-30T18:37:26Z","updated_at":"2015-03-30T18:37:26Z","html_url":"https://github.com/objectcomputing/OpenDDS/pull/9#discussion_r27418879","pull_request_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/comments/27418879"},"html":{"href":"https://github.com/objectcomputing/OpenDDS/pull/9#discussion_r27418879"},"pull_request":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9","id":32067401,"html_url":"https://github.com/objectcomputing/OpenDDS/pull/9","diff_url":"https://github.com/objectcomputing/OpenDDS/pull/9.diff","patch_url":"https://github.com/objectcomputing/OpenDDS/pull/9.patch","issue_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/9","number":9,"state":"open","locked":false,"title":"Implemented modulus for content filtering.","user":{"login":"jrw972","id":9758895,"avatar_url":"https://avatars.githubusercontent.com/u/9758895?v=3","gravatar_id":"","url":"https://api.github.com/users/jrw972","html_url":"https://github.com/jrw972","followers_url":"https://api.github.com/users/jrw972/followers","following_url":"https://api.github.com/users/jrw972/following{/other_user}","gists_url":"https://api.github.com/users/jrw972/gists{/gist_id}","starred_url":"https://api.github.com/users/jrw972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrw972/subscriptions","organizations_url":"https://api.github.com/users/jrw972/orgs","repos_url":"https://api.github.com/users/jrw972/repos","events_url":"https://api.github.com/users/jrw972/events{/privacy}","received_events_url":"https://api.github.com/users/jrw972/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-26T22:22:44Z","updated_at":"2015-03-30T18:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a7aabfa78a2d65bc486aea8c2f26d614222234a","assignee":{"login":"jrw972","id":9758895,"avatar_url":"https://avatars.githubusercontent.com/u/9758895?v=3","gravatar_id":"","url":"https://api.github.com/users/jrw972","html_url":"https://github.com/jrw972","followers_url":"https://api.github.com/users/jrw972/followers","following_url":"https://api.github.com/users/jrw972/following{/other_user}","gists_url":"https://api.github.com/users/jrw972/gists{/gist_id}","starred_url":"https://api.github.com/users/jrw972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrw972/subscriptions","organizations_url":"https://api.github.com/users/jrw972/orgs","repos_url":"https://api.github.com/users/jrw972/repos","events_url":"https://api.github.com/users/jrw972/events{/privacy}","received_events_url":"https://api.github.com/users/jrw972/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9/commits","review_comments_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9/comments","review_comment_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/9/comments","statuses_url":"https://api.github.com/repos/objectcomputing/OpenDDS/statuses/02ab6486431689edb58a92eb392e506f1a683c03","head":{"label":"objectcomputing:ContentFilterArithmetic","ref":"ContentFilterArithmetic","sha":"02ab6486431689edb58a92eb392e506f1a683c03","user":{"login":"objectcomputing","id":3903550,"avatar_url":"https://avatars.githubusercontent.com/u/3903550?v=3","gravatar_id":"","url":"https://api.github.com/users/objectcomputing","html_url":"https://github.com/objectcomputing","followers_url":"https://api.github.com/users/objectcomputing/followers","following_url":"https://api.github.com/users/objectcomputing/following{/other_user}","gists_url":"https://api.github.com/users/objectcomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/objectcomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectcomputing/subscriptions","organizations_url":"https://api.github.com/users/objectcomputing/orgs","repos_url":"https://api.github.com/users/objectcomputing/repos","events_url":"https://api.github.com/users/objectcomputing/events{/privacy}","received_events_url":"https://api.github.com/users/objectcomputing/received_events","type":"Organization","site_admin":false},"repo":{"id":30720952,"name":"OpenDDS","full_name":"objectcomputing/OpenDDS","owner":{"login":"objectcomputing","id":3903550,"avatar_url":"https://avatars.githubusercontent.com/u/3903550?v=3","gravatar_id":"","url":"https://api.github.com/users/objectcomputing","html_url":"https://github.com/objectcomputing","followers_url":"https://api.github.com/users/objectcomputing/followers","following_url":"https://api.github.com/users/objectcomputing/following{/other_user}","gists_url":"https://api.github.com/users/objectcomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/objectcomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectcomputing/subscriptions","organizations_url":"https://api.github.com/users/objectcomputing/orgs","repos_url":"https://api.github.com/users/objectcomputing/repos","events_url":"https://api.github.com/users/objectcomputing/events{/privacy}","received_events_url":"https://api.github.com/users/objectcomputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/objectcomputing/OpenDDS","description":"OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS also supports Java bindings through JNI.","fork":false,"url":"https://api.github.com/repos/objectcomputing/OpenDDS","forks_url":"https://api.github.com/repos/objectcomputing/OpenDDS/forks","keys_url":"https://api.github.com/repos/objectcomputing/OpenDDS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/objectcomputing/OpenDDS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/objectcomputing/OpenDDS/teams","hooks_url":"https://api.github.com/repos/objectcomputing/OpenDDS/hooks","issue_events_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/events{/number}","events_url":"https://api.github.com/repos/objectcomputing/OpenDDS/events","assignees_url":"https://api.github.com/repos/objectcomputing/OpenDDS/assignees{/user}","branches_url":"https://api.github.com/repos/objectcomputing/OpenDDS/branches{/branch}","tags_url":"https://api.github.com/repos/objectcomputing/OpenDDS/tags","blobs_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/refs{/sha}","trees_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/objectcomputing/OpenDDS/statuses/{sha}","languages_url":"https://api.github.com/repos/objectcomputing/OpenDDS/languages","stargazers_url":"https://api.github.com/repos/objectcomputing/OpenDDS/stargazers","contributors_url":"https://api.github.com/repos/objectcomputing/OpenDDS/contributors","subscribers_url":"https://api.github.com/repos/objectcomputing/OpenDDS/subscribers","subscription_url":"https://api.github.com/repos/objectcomputing/OpenDDS/subscription","commits_url":"https://api.github.com/repos/objectcomputing/OpenDDS/commits{/sha}","git_commits_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/commits{/sha}","comments_url":"https://api.github.com/repos/objectcomputing/OpenDDS/comments{/number}","issue_comment_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/comments{/number}","contents_url":"https://api.github.com/repos/objectcomputing/OpenDDS/contents/{+path}","compare_url":"https://api.github.com/repos/objectcomputing/OpenDDS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/objectcomputing/OpenDDS/merges","archive_url":"https://api.github.com/repos/objectcomputing/OpenDDS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/objectcomputing/OpenDDS/downloads","issues_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues{/number}","pulls_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls{/number}","milestones_url":"https://api.github.com/repos/objectcomputing/OpenDDS/milestones{/number}","notifications_url":"https://api.github.com/repos/objectcomputing/OpenDDS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/objectcomputing/OpenDDS/labels{/name}","releases_url":"https://api.github.com/repos/objectcomputing/OpenDDS/releases{/id}","created_at":"2015-02-12T20:01:26Z","updated_at":"2015-03-30T15:00:52Z","pushed_at":"2015-03-30T18:28:22Z","git_url":"git://github.com/objectcomputing/OpenDDS.git","ssh_url":"git@github.com:objectcomputing/OpenDDS.git","clone_url":"https://github.com/objectcomputing/OpenDDS.git","svn_url":"https://github.com/objectcomputing/OpenDDS","homepage":"http://www.opendds.org","size":51228,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"objectcomputing:master","ref":"master","sha":"96153052d9b0af57a8df4101f0318a1e9496c589","user":{"login":"objectcomputing","id":3903550,"avatar_url":"https://avatars.githubusercontent.com/u/3903550?v=3","gravatar_id":"","url":"https://api.github.com/users/objectcomputing","html_url":"https://github.com/objectcomputing","followers_url":"https://api.github.com/users/objectcomputing/followers","following_url":"https://api.github.com/users/objectcomputing/following{/other_user}","gists_url":"https://api.github.com/users/objectcomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/objectcomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectcomputing/subscriptions","organizations_url":"https://api.github.com/users/objectcomputing/orgs","repos_url":"https://api.github.com/users/objectcomputing/repos","events_url":"https://api.github.com/users/objectcomputing/events{/privacy}","received_events_url":"https://api.github.com/users/objectcomputing/received_events","type":"Organization","site_admin":false},"repo":{"id":30720952,"name":"OpenDDS","full_name":"objectcomputing/OpenDDS","owner":{"login":"objectcomputing","id":3903550,"avatar_url":"https://avatars.githubusercontent.com/u/3903550?v=3","gravatar_id":"","url":"https://api.github.com/users/objectcomputing","html_url":"https://github.com/objectcomputing","followers_url":"https://api.github.com/users/objectcomputing/followers","following_url":"https://api.github.com/users/objectcomputing/following{/other_user}","gists_url":"https://api.github.com/users/objectcomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/objectcomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectcomputing/subscriptions","organizations_url":"https://api.github.com/users/objectcomputing/orgs","repos_url":"https://api.github.com/users/objectcomputing/repos","events_url":"https://api.github.com/users/objectcomputing/events{/privacy}","received_events_url":"https://api.github.com/users/objectcomputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/objectcomputing/OpenDDS","description":"OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS also supports Java bindings through JNI.","fork":false,"url":"https://api.github.com/repos/objectcomputing/OpenDDS","forks_url":"https://api.github.com/repos/objectcomputing/OpenDDS/forks","keys_url":"https://api.github.com/repos/objectcomputing/OpenDDS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/objectcomputing/OpenDDS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/objectcomputing/OpenDDS/teams","hooks_url":"https://api.github.com/repos/objectcomputing/OpenDDS/hooks","issue_events_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/events{/number}","events_url":"https://api.github.com/repos/objectcomputing/OpenDDS/events","assignees_url":"https://api.github.com/repos/objectcomputing/OpenDDS/assignees{/user}","branches_url":"https://api.github.com/repos/objectcomputing/OpenDDS/branches{/branch}","tags_url":"https://api.github.com/repos/objectcomputing/OpenDDS/tags","blobs_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/refs{/sha}","trees_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/objectcomputing/OpenDDS/statuses/{sha}","languages_url":"https://api.github.com/repos/objectcomputing/OpenDDS/languages","stargazers_url":"https://api.github.com/repos/objectcomputing/OpenDDS/stargazers","contributors_url":"https://api.github.com/repos/objectcomputing/OpenDDS/contributors","subscribers_url":"https://api.github.com/repos/objectcomputing/OpenDDS/subscribers","subscription_url":"https://api.github.com/repos/objectcomputing/OpenDDS/subscription","commits_url":"https://api.github.com/repos/objectcomputing/OpenDDS/commits{/sha}","git_commits_url":"https://api.github.com/repos/objectcomputing/OpenDDS/git/commits{/sha}","comments_url":"https://api.github.com/repos/objectcomputing/OpenDDS/comments{/number}","issue_comment_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/comments{/number}","contents_url":"https://api.github.com/repos/objectcomputing/OpenDDS/contents/{+path}","compare_url":"https://api.github.com/repos/objectcomputing/OpenDDS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/objectcomputing/OpenDDS/merges","archive_url":"https://api.github.com/repos/objectcomputing/OpenDDS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/objectcomputing/OpenDDS/downloads","issues_url":"https://api.github.com/repos/objectcomputing/OpenDDS/issues{/number}","pulls_url":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls{/number}","milestones_url":"https://api.github.com/repos/objectcomputing/OpenDDS/milestones{/number}","notifications_url":"https://api.github.com/repos/objectcomputing/OpenDDS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/objectcomputing/OpenDDS/labels{/name}","releases_url":"https://api.github.com/repos/objectcomputing/OpenDDS/releases{/id}","created_at":"2015-02-12T20:01:26Z","updated_at":"2015-03-30T15:00:52Z","pushed_at":"2015-03-30T18:28:22Z","git_url":"git://github.com/objectcomputing/OpenDDS.git","ssh_url":"git@github.com:objectcomputing/OpenDDS.git","clone_url":"https://github.com/objectcomputing/OpenDDS.git","svn_url":"https://github.com/objectcomputing/OpenDDS","homepage":"http://www.opendds.org","size":51228,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9"},"html":{"href":"https://github.com/objectcomputing/OpenDDS/pull/9"},"issue":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/9"},"comments":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/objectcomputing/OpenDDS/statuses/02ab6486431689edb58a92eb392e506f1a683c03"}}}}