BusBoy
2
|
Catalog of standard dimensions. More...
#include <DimensionCatalog.h>
Public Types | |
enum | Type { ANCHOR, FRAME, SENSOR, IMAGE_TYPE, DATA_SOURCE } |
Static Public Member Functions | |
static Type | enumFromString (std::string strType) |
Parses the string equivalent of the enum. More... | |
static std::string | enumToString (Type type) |
Returns the string equivalent of the enum. More... | |
static bool | hasDimension (Keyspace keyspace, Type type) |
Returns true if the specified dimension type exists in the keyspace. More... | |
static KeyspaceDimension | findDimension (Keyspace keyspace, Type type) |
Finds the KeyspaceDimension for the dimension type. More... | |
static DataKeyDimension | toDimension (Type type) |
Create KeyDimension object for the dimension type. More... | |
Catalog of standard dimensions.
|
static |
Parses the string equivalent of the enum.
For example: "FRAME" –> FRAME
|
static |
Returns the string equivalent of the enum.
For example: FRAME –> "FRAME"
|
static |
Finds the KeyspaceDimension for the dimension type.
Will throw an exception if it is not found
Returns true if the specified dimension type exists in the keyspace.
|
static |
Create KeyDimension object for the dimension type.
Copyright 2014 Google Inc. All rights reserved.