{"action":"created","comment":{"url":"https://api.github.com/repos/hpicgs/gloperate/pulls/comments/25422685","id":25422685,"diff_hunk":"@@ -0,0 +1,27 @@\n+#pragma once\n+\n+namespace gloperate\n+{\n+\n+template <typename T>\n+gloperate::Data<T> * AbstractOutputCapability::getOutput(const std::string & name) const\n+{\n+    for (AbstractData* output : findOutputs(name))\n+    {\n+        Data<T>* data = dynamic_cast<Data<T>*>(output);","path":"source/gloperate/include/gloperate/painter/AbstractOutputCapability.hpp","position":11,"original_position":11,"commit_id":"fbd9d319dcdbbe0694438344e0ddc879c87e019c","original_commit_id":"fbd9d319dcdbbe0694438344e0ddc879c87e019c","user":{"login":"scheibel","id":2247733,"avatar_url":"https://avatars.githubusercontent.com/u/2247733?v=3","gravatar_id":"","url":"https://api.github.com/users/scheibel","html_url":"https://github.com/scheibel","followers_url":"https://api.github.com/users/scheibel/followers","following_url":"https://api.github.com/users/scheibel/following{/other_user}","gists_url":"https://api.github.com/users/scheibel/gists{/gist_id}","starred_url":"https://api.github.com/users/scheibel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheibel/subscriptions","organizations_url":"https://api.github.com/users/scheibel/orgs","repos_url":"https://api.github.com/users/scheibel/repos","events_url":"https://api.github.com/users/scheibel/events{/privacy}","received_events_url":"https://api.github.com/users/scheibel/received_events","type":"User","site_admin":false},"body":"Prefer ```auto``` to reduce type repetition:\r\n```c++\r\nauto data = dynamic_cast<Data<T>*>(output);\r\n```","created_at":"2015-02-26T12:16:40Z","updated_at":"2015-02-26T12:16:40Z","html_url":"https://github.com/hpicgs/gloperate/pull/49#discussion_r25422685","pull_request_url":"https://api.github.com/repos/hpicgs/gloperate/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/comments/25422685"},"html":{"href":"https://github.com/hpicgs/gloperate/pull/49#discussion_r25422685"},"pull_request":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/hpicgs/gloperate/pulls/49","id":30061618,"html_url":"https://github.com/hpicgs/gloperate/pull/49","diff_url":"https://github.com/hpicgs/gloperate/pull/49.diff","patch_url":"https://github.com/hpicgs/gloperate/pull/49.patch","issue_url":"https://api.github.com/repos/hpicgs/gloperate/issues/49","number":49,"state":"open","locked":false,"title":"Output capability","user":{"login":"JenniferStamm","id":7091280,"avatar_url":"https://avatars.githubusercontent.com/u/7091280?v=3","gravatar_id":"","url":"https://api.github.com/users/JenniferStamm","html_url":"https://github.com/JenniferStamm","followers_url":"https://api.github.com/users/JenniferStamm/followers","following_url":"https://api.github.com/users/JenniferStamm/following{/other_user}","gists_url":"https://api.github.com/users/JenniferStamm/gists{/gist_id}","starred_url":"https://api.github.com/users/JenniferStamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenniferStamm/subscriptions","organizations_url":"https://api.github.com/users/JenniferStamm/orgs","repos_url":"https://api.github.com/users/JenniferStamm/repos","events_url":"https://api.github.com/users/JenniferStamm/events{/privacy}","received_events_url":"https://api.github.com/users/JenniferStamm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-26T09:26:08Z","updated_at":"2015-02-26T12:16:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77967282e5320454351e355760937f50de539bb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hpicgs/gloperate/pulls/49/commits","review_comments_url":"https://api.github.com/repos/hpicgs/gloperate/pulls/49/comments","review_comment_url":"https://api.github.com/repos/hpicgs/gloperate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpicgs/gloperate/issues/49/comments","statuses_url":"https://api.github.com/repos/hpicgs/gloperate/statuses/fbd9d319dcdbbe0694438344e0ddc879c87e019c","head":{"label":"JenniferStamm:outputCapability","ref":"outputCapability","sha":"fbd9d319dcdbbe0694438344e0ddc879c87e019c","user":{"login":"JenniferStamm","id":7091280,"avatar_url":"https://avatars.githubusercontent.com/u/7091280?v=3","gravatar_id":"","url":"https://api.github.com/users/JenniferStamm","html_url":"https://github.com/JenniferStamm","followers_url":"https://api.github.com/users/JenniferStamm/followers","following_url":"https://api.github.com/users/JenniferStamm/following{/other_user}","gists_url":"https://api.github.com/users/JenniferStamm/gists{/gist_id}","starred_url":"https://api.github.com/users/JenniferStamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenniferStamm/subscriptions","organizations_url":"https://api.github.com/users/JenniferStamm/orgs","repos_url":"https://api.github.com/users/JenniferStamm/repos","events_url":"https://api.github.com/users/JenniferStamm/events{/privacy}","received_events_url":"https://api.github.com/users/JenniferStamm/received_events","type":"User","site_admin":false},"repo":{"id":31319659,"name":"gloperate","full_name":"JenniferStamm/gloperate","owner":{"login":"JenniferStamm","id":7091280,"avatar_url":"https://avatars.githubusercontent.com/u/7091280?v=3","gravatar_id":"","url":"https://api.github.com/users/JenniferStamm","html_url":"https://github.com/JenniferStamm","followers_url":"https://api.github.com/users/JenniferStamm/followers","following_url":"https://api.github.com/users/JenniferStamm/following{/other_user}","gists_url":"https://api.github.com/users/JenniferStamm/gists{/gist_id}","starred_url":"https://api.github.com/users/JenniferStamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenniferStamm/subscriptions","organizations_url":"https://api.github.com/users/JenniferStamm/orgs","repos_url":"https://api.github.com/users/JenniferStamm/repos","events_url":"https://api.github.com/users/JenniferStamm/events{/privacy}","received_events_url":"https://api.github.com/users/JenniferStamm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JenniferStamm/gloperate","description":"C++ library for defining and controlling modern GPU rendering/processing operations","fork":true,"url":"https://api.github.com/repos/JenniferStamm/gloperate","forks_url":"https://api.github.com/repos/JenniferStamm/gloperate/forks","keys_url":"https://api.github.com/repos/JenniferStamm/gloperate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JenniferStamm/gloperate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JenniferStamm/gloperate/teams","hooks_url":"https://api.github.com/repos/JenniferStamm/gloperate/hooks","issue_events_url":"https://api.github.com/repos/JenniferStamm/gloperate/issues/events{/number}","events_url":"https://api.github.com/repos/JenniferStamm/gloperate/events","assignees_url":"https://api.github.com/repos/JenniferStamm/gloperate/assignees{/user}","branches_url":"https://api.github.com/repos/JenniferStamm/gloperate/branches{/branch}","tags_url":"https://api.github.com/repos/JenniferStamm/gloperate/tags","blobs_url":"https://api.github.com/repos/JenniferStamm/gloperate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JenniferStamm/gloperate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JenniferStamm/gloperate/git/refs{/sha}","trees_url":"https://api.github.com/repos/JenniferStamm/gloperate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JenniferStamm/gloperate/statuses/{sha}","languages_url":"https://api.github.com/repos/JenniferStamm/gloperate/languages","stargazers_url":"https://api.github.com/repos/JenniferStamm/gloperate/stargazers","contributors_url":"https://api.github.com/repos/JenniferStamm/gloperate/contributors","subscribers_url":"https://api.github.com/repos/JenniferStamm/gloperate/subscribers","subscription_url":"https://api.github.com/repos/JenniferStamm/gloperate/subscription","commits_url":"https://api.github.com/repos/JenniferStamm/gloperate/commits{/sha}","git_commits_url":"https://api.github.com/repos/JenniferStamm/gloperate/git/commits{/sha}","comments_url":"https://api.github.com/repos/JenniferStamm/gloperate/comments{/number}","issue_comment_url":"https://api.github.com/repos/JenniferStamm/gloperate/issues/comments{/number}","contents_url":"https://api.github.com/repos/JenniferStamm/gloperate/contents/{+path}","compare_url":"https://api.github.com/repos/JenniferStamm/gloperate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JenniferStamm/gloperate/merges","archive_url":"https://api.github.com/repos/JenniferStamm/gloperate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JenniferStamm/gloperate/downloads","issues_url":"https://api.github.com/repos/JenniferStamm/gloperate/issues{/number}","pulls_url":"https://api.github.com/repos/JenniferStamm/gloperate/pulls{/number}","milestones_url":"https://api.github.com/repos/JenniferStamm/gloperate/milestones{/number}","notifications_url":"https://api.github.com/repos/JenniferStamm/gloperate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JenniferStamm/gloperate/labels{/name}","releases_url":"https://api.github.com/repos/JenniferStamm/gloperate/releases{/id}","created_at":"2015-02-25T15:19:09Z","updated_at":"2015-02-25T15:19:10Z","pushed_at":"2015-02-26T09:25:34Z","git_url":"git://github.com/JenniferStamm/gloperate.git","ssh_url":"git@github.com:JenniferStamm/gloperate.git","clone_url":"https://github.com/JenniferStamm/gloperate.git","svn_url":"https://github.com/JenniferStamm/gloperate","homepage":null,"size":2423,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hpicgs:master","ref":"master","sha":"9d2990f8d108f0904d72958f6e2c2a92ff58cebf","user":{"login":"hpicgs","id":5174012,"avatar_url":"https://avatars.githubusercontent.com/u/5174012?v=3","gravatar_id":"","url":"https://api.github.com/users/hpicgs","html_url":"https://github.com/hpicgs","followers_url":"https://api.github.com/users/hpicgs/followers","following_url":"https://api.github.com/users/hpicgs/following{/other_user}","gists_url":"https://api.github.com/users/hpicgs/gists{/gist_id}","starred_url":"https://api.github.com/users/hpicgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpicgs/subscriptions","organizations_url":"https://api.github.com/users/hpicgs/orgs","repos_url":"https://api.github.com/users/hpicgs/repos","events_url":"https://api.github.com/users/hpicgs/events{/privacy}","received_events_url":"https://api.github.com/users/hpicgs/received_events","type":"Organization","site_admin":false},"repo":{"id":23700348,"name":"gloperate","full_name":"hpicgs/gloperate","owner":{"login":"hpicgs","id":5174012,"avatar_url":"https://avatars.githubusercontent.com/u/5174012?v=3","gravatar_id":"","url":"https://api.github.com/users/hpicgs","html_url":"https://github.com/hpicgs","followers_url":"https://api.github.com/users/hpicgs/followers","following_url":"https://api.github.com/users/hpicgs/following{/other_user}","gists_url":"https://api.github.com/users/hpicgs/gists{/gist_id}","starred_url":"https://api.github.com/users/hpicgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpicgs/subscriptions","organizations_url":"https://api.github.com/users/hpicgs/orgs","repos_url":"https://api.github.com/users/hpicgs/repos","events_url":"https://api.github.com/users/hpicgs/events{/privacy}","received_events_url":"https://api.github.com/users/hpicgs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpicgs/gloperate","description":"C++ library for defining and controlling modern GPU rendering/processing operations","fork":false,"url":"https://api.github.com/repos/hpicgs/gloperate","forks_url":"https://api.github.com/repos/hpicgs/gloperate/forks","keys_url":"https://api.github.com/repos/hpicgs/gloperate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpicgs/gloperate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpicgs/gloperate/teams","hooks_url":"https://api.github.com/repos/hpicgs/gloperate/hooks","issue_events_url":"https://api.github.com/repos/hpicgs/gloperate/issues/events{/number}","events_url":"https://api.github.com/repos/hpicgs/gloperate/events","assignees_url":"https://api.github.com/repos/hpicgs/gloperate/assignees{/user}","branches_url":"https://api.github.com/repos/hpicgs/gloperate/branches{/branch}","tags_url":"https://api.github.com/repos/hpicgs/gloperate/tags","blobs_url":"https://api.github.com/repos/hpicgs/gloperate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpicgs/gloperate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpicgs/gloperate/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpicgs/gloperate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpicgs/gloperate/statuses/{sha}","languages_url":"https://api.github.com/repos/hpicgs/gloperate/languages","stargazers_url":"https://api.github.com/repos/hpicgs/gloperate/stargazers","contributors_url":"https://api.github.com/repos/hpicgs/gloperate/contributors","subscribers_url":"https://api.github.com/repos/hpicgs/gloperate/subscribers","subscription_url":"https://api.github.com/repos/hpicgs/gloperate/subscription","commits_url":"https://api.github.com/repos/hpicgs/gloperate/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpicgs/gloperate/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpicgs/gloperate/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpicgs/gloperate/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpicgs/gloperate/contents/{+path}","compare_url":"https://api.github.com/repos/hpicgs/gloperate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpicgs/gloperate/merges","archive_url":"https://api.github.com/repos/hpicgs/gloperate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpicgs/gloperate/downloads","issues_url":"https://api.github.com/repos/hpicgs/gloperate/issues{/number}","pulls_url":"https://api.github.com/repos/hpicgs/gloperate/pulls{/number}","milestones_url":"https://api.github.com/repos/hpicgs/gloperate/milestones{/number}","notifications_url":"https://api.github.com/repos/hpicgs/gloperate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpicgs/gloperate/labels{/name}","releases_url":"https://api.github.com/repos/hpicgs/gloperate/releases{/id}","created_at":"2014-09-05T11:16:49Z","updated_at":"2015-02-24T16:25:01Z","pushed_at":"2015-02-24T16:25:01Z","git_url":"git://github.com/hpicgs/gloperate.git","ssh_url":"git@github.com:hpicgs/gloperate.git","clone_url":"https://github.com/hpicgs/gloperate.git","svn_url":"https://github.com/hpicgs/gloperate","homepage":null,"size":2423,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/49"},"html":{"href":"https://github.com/hpicgs/gloperate/pull/49"},"issue":{"href":"https://api.github.com/repos/hpicgs/gloperate/issues/49"},"comments":{"href":"https://api.github.com/repos/hpicgs/gloperate/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpicgs/gloperate/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/hpicgs/gloperate/statuses/fbd9d319dcdbbe0694438344e0ddc879c87e019c"}}}}