#include <keyvalue/bridge/key/Device.h>
Public Types | |
enum | |
typedef Traits < logger::Logger::Device, StdSingle, Default > | Traits_ |
typedef StdSingle< typename Default < 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. | |
string | getName () const |
Gets name. | |
void | setName (const string &name) |
Sets name. |
Device key.
Key's name is "Device".
logger::Logger::Device get | ( | const string & | name | ) | const |
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. |
string getName | ( | ) | const [inherited] |
Gets Key's name.
string getName | ( | ) | const [inherited] |
Gets name.
void setName | ( | const string & | name | ) | [inherited] |
Sets name.
name | : The name. |