#include "keyvalue/bridge/key/Device.h"

Public Types | |
| enum | |
|
typedef Traits < logger::Logger::Device, StdSingle, FlagMap > | Traits_ |
|
typedef StdSingle< typename FlagMap < logger::Logger::Device > ::OutputType_ > | ConverterType_ |
| typedef ConverterType_::InputType_ | InputType_ |
| typedef ConverterType_::OutputType_ | OutputType_ |
Public Member Functions | |
| logger::Logger::Device | get (const string &name) const |
| Partially maps names into flags. | |
| string | getName () const |
| Gets Key's name. | |
| void | setName (const string &name) |
| Sets name. | |
| logger::Logger::Device | map (const value::Variant &variant) const |
| Performs the mapping. | |
Device key.
Key's name is "Device".
| logger::Logger::Device get | ( | const string & | name | ) | const [virtual] |
Partially maps names into flags.
Maps "Console", "File", and "Standard", resp., to Console, File, and Standard.
| name | : Name to be mapped; |
| RuntimeError | : If name is unknown. |
Implements FlagMap< logger::Logger::Device >.
| string getName | ( | ) | const [inherited] |
| void setName | ( | const string & | name | ) | [inherited] |
Sets name.
| name | : The name. |
| logger::Logger::Device map | ( | const value::Variant & | variant | ) | const [inherited] |
Performs the mapping.
This method converts the input from value::Variant to string and calls get().
| variant | : A value::Variant containing the input string to be mapped. |
1.6.1