{"action":"created","comment":{"url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments/38155426","id":38155426,"diff_hunk":"@@ -43,6 +53,10 @@ class AMDSBufferGroupInfo\n \tvoid setUnits(const QString &units) { units_ = units; }\n \t/// Set the axes of the bufferGroupInfo\n \tvoid setAxes(const QList<AMDSAxisInfo> &axes) { axes_ = axes; }\n+\t/// Set whether the bufferGroup can be flattened\n+\tvoid setFlattenEnabled(const bool enabled) { flattenEnabled_ = enabled; }\n+\t/// Set how the bufferGroup should be flattened\n+\tvoid setFlattenMethod(const DataFlattenMethod method) { flattenMethod_ = method; }","path":"source/AMDSBufferGroupInfo.h","position":41,"original_position":41,"commit_id":"cc29365bc5d4643d23ff9337cc3083d1ad1d1719","original_commit_id":"cc29365bc5d4643d23ff9337cc3083d1ad1d1719","user":{"login":"dretrex","id":602741,"avatar_url":"https://avatars.githubusercontent.com/u/602741?v=3","gravatar_id":"","url":"https://api.github.com/users/dretrex","html_url":"https://github.com/dretrex","followers_url":"https://api.github.com/users/dretrex/followers","following_url":"https://api.github.com/users/dretrex/following{/other_user}","gists_url":"https://api.github.com/users/dretrex/gists{/gist_id}","starred_url":"https://api.github.com/users/dretrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dretrex/subscriptions","organizations_url":"https://api.github.com/users/dretrex/orgs","repos_url":"https://api.github.com/users/dretrex/repos","events_url":"https://api.github.com/users/dretrex/events{/privacy}","received_events_url":"https://api.github.com/users/dretrex/received_events","type":"User","site_admin":false},"body":"This should be `const DataFlattenMethod &`.  Also, is there a reason why it doesn't have an AMDS prefix?  Seems a little out of place.","created_at":"2015-08-27T22:46:17Z","updated_at":"2015-08-27T22:46:17Z","html_url":"https://github.com/acquaman/AcquamanDataServer/pull/63#discussion_r38155426","pull_request_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments/38155426"},"html":{"href":"https://github.com/acquaman/AcquamanDataServer/pull/63#discussion_r38155426"},"pull_request":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63","id":42987397,"html_url":"https://github.com/acquaman/AcquamanDataServer/pull/63","diff_url":"https://github.com/acquaman/AcquamanDataServer/pull/63.diff","patch_url":"https://github.com/acquaman/AcquamanDataServer/pull/63.patch","issue_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/63","number":63,"state":"open","locked":false,"title":"PullRequest for Issue17: enable bufferGroup to enable/disable flatten feature and the flatten method","user":{"login":"XuetaoLiu-CLS","id":8292610,"avatar_url":"https://avatars.githubusercontent.com/u/8292610?v=3","gravatar_id":"","url":"https://api.github.com/users/XuetaoLiu-CLS","html_url":"https://github.com/XuetaoLiu-CLS","followers_url":"https://api.github.com/users/XuetaoLiu-CLS/followers","following_url":"https://api.github.com/users/XuetaoLiu-CLS/following{/other_user}","gists_url":"https://api.github.com/users/XuetaoLiu-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/XuetaoLiu-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuetaoLiu-CLS/subscriptions","organizations_url":"https://api.github.com/users/XuetaoLiu-CLS/orgs","repos_url":"https://api.github.com/users/XuetaoLiu-CLS/repos","events_url":"https://api.github.com/users/XuetaoLiu-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/XuetaoLiu-CLS/received_events","type":"User","site_admin":false},"body":"https://github.com/acquaman/AcquamanDataServer/issues/17\r\n\r\n- BufferGroup can specify whether it support data flatten and how the data should be flattened (summary or average so far)\r\n- did some code refactor for ADMSDataHolder and related classes","created_at":"2015-08-20T22:48:12Z","updated_at":"2015-08-27T22:46:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a430979176916139bbe7e87d84ae264e79e8dd4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63/commits","review_comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63/comments","review_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/63/comments","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/cc29365bc5d4643d23ff9337cc3083d1ad1d1719","head":{"label":"acquaman:Issue17","ref":"Issue17","sha":"cc29365bc5d4643d23ff9337cc3083d1ad1d1719","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":37996517,"name":"AcquamanDataServer","full_name":"acquaman/AcquamanDataServer","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/AcquamanDataServer","description":"Server architecture to provide a network and storage efficient data cache","fork":false,"url":"https://api.github.com/repos/acquaman/AcquamanDataServer","forks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/forks","keys_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/teams","hooks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/hooks","issue_events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/events","assignees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/tags","blobs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/languages","stargazers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/stargazers","contributors_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contributors","subscribers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscribers","subscription_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscription","commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/merges","archive_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/downloads","issues_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/releases{/id}","created_at":"2015-06-24T16:27:18Z","updated_at":"2015-07-21T14:39:58Z","pushed_at":"2015-08-27T21:46:48Z","git_url":"git://github.com/acquaman/AcquamanDataServer.git","ssh_url":"git@github.com:acquaman/AcquamanDataServer.git","clone_url":"https://github.com/acquaman/AcquamanDataServer.git","svn_url":"https://github.com/acquaman/AcquamanDataServer","homepage":"","size":628,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":2,"default_branch":"master"}},"base":{"label":"acquaman:master","ref":"master","sha":"4bf371d826a3141f7967da0b6c95380b8f0c8a1c","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":37996517,"name":"AcquamanDataServer","full_name":"acquaman/AcquamanDataServer","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/AcquamanDataServer","description":"Server architecture to provide a network and storage efficient data cache","fork":false,"url":"https://api.github.com/repos/acquaman/AcquamanDataServer","forks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/forks","keys_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/teams","hooks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/hooks","issue_events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/events","assignees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/tags","blobs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/languages","stargazers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/stargazers","contributors_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contributors","subscribers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscribers","subscription_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscription","commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/merges","archive_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/downloads","issues_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/releases{/id}","created_at":"2015-06-24T16:27:18Z","updated_at":"2015-07-21T14:39:58Z","pushed_at":"2015-08-27T21:46:48Z","git_url":"git://github.com/acquaman/AcquamanDataServer.git","ssh_url":"git@github.com:acquaman/AcquamanDataServer.git","clone_url":"https://github.com/acquaman/AcquamanDataServer.git","svn_url":"https://github.com/acquaman/AcquamanDataServer","homepage":"","size":628,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63"},"html":{"href":"https://github.com/acquaman/AcquamanDataServer/pull/63"},"issue":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/63"},"comments":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/cc29365bc5d4643d23ff9337cc3083d1ad1d1719"}}}}