PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Analytics/GDataEntryAnalyticsData.h

http://macfuse.googlecode.com/
C++ Header | 49 lines | 16 code | 13 blank | 20 comment | 1 complexity | b5ad2ea7e857a333c148a655bdd36a1d MD5 | raw file
 1/* Copyright (c) 2009 Google Inc.
 2 *
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 *
 7 *     http://www.apache.org/licenses/LICENSE-2.0
 8 *
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16//
17//  GDataEntryAnalyticsData.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataEntryBase.h"
23
24@class GDataAnalyticsMetric;
25@class GDataAnalyticsDimension;
26
27@interface GDataEntryAnalyticsData : GDataEntryBase
28
29+ (GDataEntryAnalyticsData *)dataEntry;
30
31// extensions
32
33- (NSArray *)dimensions;
34- (void)setDimensions:(NSArray *)array;
35- (void)addDimension:(GDataAnalyticsDimension *)obj;
36
37// convenience accessor
38- (GDataAnalyticsDimension *)dimensionWithName:(NSString *)name;
39
40- (NSArray *)metrics;
41- (void)setMetrics:(NSArray *)array;
42- (void)addMetric:(GDataAnalyticsMetric *)obj;
43
44// convenience accessor
45- (GDataAnalyticsMetric *)metricWithName:(NSString *)name;
46
47@end
48
49#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE