BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
catalog
DimensionCatalog.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_DIMENSION_CATALOG_H__
18
#define __BUSBOY_DIMENSION_CATALOG_H__
19
20
#include <string>
21
#include "
keys/keys_api.h
"
22
23
namespace
BUSBOY {
24
25
30
class
DimensionCatalog
{
31
32
public
:
33
enum
Type
{
34
ANCHOR
,
35
FRAME
,
36
SENSOR
,
37
IMAGE_TYPE
,
38
DATA_SOURCE
39
};
40
41
46
static
Type
enumFromString
(std::string strType);
47
52
static
std::string
enumToString
(
Type
type);
53
58
static
bool
hasDimension
(
Keyspace
keyspace,
Type
type);
59
64
static
KeyspaceDimension
findDimension
(
Keyspace
keyspace,
Type
type);
65
69
static
DataKeyDimension
toDimension
(
Type
type);
70
71
};
72
73
}
74
#endif
75
76
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.