#include <metadata_key.hh>

Basic operations | |
| MetadataKey (const std::string &raw_name, const std::string &human_name, const MetadataKeyType) | |
| virtual | ~MetadataKey ()=0 |
Public Member Functions | |
| virtual const std::string | raw_name () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| virtual const std::string | human_name () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| virtual MetadataKeyType | type () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
A basic MetadataKey has:
Subclasses provide additional information, including the 'value' of the key. A ConstVisitor using MetadataKeyVisitorTypes can be used to get more detail.
The header literal_metadata_key.hh contains various concrete implementations of MetadataKey subclasses.
| virtual const std::string paludis::MetadataKey::human_name | ( | ) | const [virtual] |
Fetch our human name.
| virtual const std::string paludis::MetadataKey::raw_name | ( | ) | const [virtual] |
Fetch our raw name.
| virtual MetadataKeyType paludis::MetadataKey::type | ( | ) | const [virtual] |
Fetch our key type.
1.5.7.1