BusBoy
2
|
Thin wrapper to allow DataKey to be a piece of metadata. More...
#include <MetadataKey.h>
Public Member Functions | |
MetadataKey () | |
MetadataKey (const DataKey &key) | |
MetadataKey (const MetadataKey &key) | |
DataKey | getKey () const |
MetadataElement::Type | getMetadataElementType () const |
virtual CloneableMetadataElement * | clone () const |
MetadataKey & | operator= (const MetadataKey &key) |
bool | operator== (const MetadataKey &key) const |
bool | operator== (const MetadataElement &element) const |
bool | operator!= (const MetadataKey &key) const |
bool | operator!= (const MetadataElement &element) const |
~MetadataKey () | |
Static Public Member Functions | |
static const MetadataKey * | castToKey (const MetadataElement *element) |
static MetadataKey * | castToKey (MetadataElement *element) |
static const MetadataKey & | castToKey (const MetadataElement &element) |
static MetadataKey & | castToKey (MetadataElement &element) |
Additional Inherited Members | |
Public Types inherited from BUSBOY::MetadataElement | |
enum | Type { FIELD, ARRAY, LIST, MAP, KEY } |
Static Protected Member Functions inherited from BUSBOY::MetadataElement | |
template<typename T > | |
static const T * | castElement (const MetadataElement *element, Type type) |
template<typename T > | |
static T * | castElement (MetadataElement *element, Type type) |
template<typename T > | |
static const T & | castElement (const MetadataElement &element, Type type) |
template<typename T > | |
static T & | castElement (MetadataElement &element, Type type) |
Thin wrapper to allow DataKey to be a piece of metadata.
This class is immutable.
BUSBOY::MetadataKey::MetadataKey | ( | ) |
BUSBOY::MetadataKey::MetadataKey | ( | const DataKey & | key | ) |
BUSBOY::MetadataKey::MetadataKey | ( | const MetadataKey & | key | ) |
BUSBOY::MetadataKey::~MetadataKey | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Implements BUSBOY::CloneableMetadataElement.
DataKey BUSBOY::MetadataKey::getKey | ( | ) | const |
|
virtual |
Implements BUSBOY::MetadataElement.
bool BUSBOY::MetadataKey::operator!= | ( | const MetadataKey & | key | ) | const |
|
virtual |
Implements BUSBOY::MetadataElement.
MetadataKey & BUSBOY::MetadataKey::operator= | ( | const MetadataKey & | key | ) |
bool BUSBOY::MetadataKey::operator== | ( | const MetadataKey & | key | ) | const |
|
virtual |
Implements BUSBOY::MetadataElement.
Copyright 2014 Google Inc. All rights reserved.