BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
BUSBOY::MetadataKey Class Reference

Thin wrapper to allow DataKey to be a piece of metadata. More...

#include <MetadataKey.h>

Inheritance diagram for BUSBOY::MetadataKey:
BUSBOY::CloneableMetadataElement BUSBOY::MetadataElement

Public Member Functions

 MetadataKey ()
 
 MetadataKey (const DataKey &key)
 
 MetadataKey (const MetadataKey &key)
 
DataKey getKey () const
 
MetadataElement::Type getMetadataElementType () const
 
virtual CloneableMetadataElementclone () const
 
MetadataKeyoperator= (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 MetadataKeycastToKey (const MetadataElement *element)
 
static MetadataKeycastToKey (MetadataElement *element)
 
static const MetadataKeycastToKey (const MetadataElement &element)
 
static MetadataKeycastToKey (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)
 

Detailed Description

Thin wrapper to allow DataKey to be a piece of metadata.

This class is immutable.

Constructor & Destructor Documentation

BUSBOY::MetadataKey::MetadataKey ( )
BUSBOY::MetadataKey::MetadataKey ( const DataKey key)
BUSBOY::MetadataKey::MetadataKey ( const MetadataKey key)
BUSBOY::MetadataKey::~MetadataKey ( )

Member Function Documentation

const MetadataKey * BUSBOY::MetadataKey::castToKey ( const MetadataElement element)
static
MetadataKey * BUSBOY::MetadataKey::castToKey ( MetadataElement element)
static
const MetadataKey & BUSBOY::MetadataKey::castToKey ( const MetadataElement element)
static
MetadataKey & BUSBOY::MetadataKey::castToKey ( MetadataElement element)
static
CloneableMetadataElement * BUSBOY::MetadataKey::clone ( ) const
virtual
DataKey BUSBOY::MetadataKey::getKey ( ) const
MetadataElement::Type BUSBOY::MetadataKey::getMetadataElementType ( ) const
virtual
bool BUSBOY::MetadataKey::operator!= ( const MetadataKey key) const
bool BUSBOY::MetadataKey::operator!= ( const MetadataElement element) const
virtual
MetadataKey & BUSBOY::MetadataKey::operator= ( const MetadataKey key)
bool BUSBOY::MetadataKey::operator== ( const MetadataKey key) const
bool BUSBOY::MetadataKey::operator== ( const MetadataElement element) const
virtual

The documentation for this class was generated from the following files:

Copyright 2014 Google Inc. All rights reserved.