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
metadata
MetadataKey.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_METADATA_KEY_H__
18
#define __BUSBOY_METADATA_KEY_H__
19
20
#include "
MetadataElement.h
"
21
#include "
keys/keys_api.h
"
22
23
namespace
BUSBOY {
24
25
class
MetadataKeyImpl;
26
32
class
MetadataKey
:
public
CloneableMetadataElement
{
33
34
35
public
:
36
37
MetadataKey
();
38
39
MetadataKey
(
const
DataKey
& key);
40
41
MetadataKey
(
const
MetadataKey
& key);
42
43
DataKey
getKey
()
const
;
44
45
MetadataElement::Type
getMetadataElementType
()
const
;
46
47
virtual
CloneableMetadataElement
*
clone
()
const
;
48
49
MetadataKey
&
operator=
(
const
MetadataKey
& key);
50
51
bool
operator==
(
const
MetadataKey
& key)
const
;
52
53
bool
operator==
(
const
MetadataElement
& element)
const
;
54
55
bool
operator!=
(
const
MetadataKey
& key)
const
;
56
57
bool
operator!=
(
const
MetadataElement
& element)
const
;
58
59
~MetadataKey
();
60
61
static
const
MetadataKey
*
castToKey
(
const
MetadataElement
* element);
62
63
static
MetadataKey
*
castToKey
(
MetadataElement
* element);
64
65
static
const
MetadataKey
&
castToKey
(
const
MetadataElement
& element);
66
67
static
MetadataKey
&
castToKey
(
MetadataElement
& element);
68
69
private
:
70
71
MetadataKeyImpl
* m_impl;
72
73
};
74
75
}
76
#endif
77
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.