Public Types | Public Member Functions

Device Class Reference

Device key. More...

#include <keyvalue/bridge/key/Device.h>

Inheritance diagram for Device:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Device key.

Key's name is "Device".


Member Function Documentation

logger::Logger::Device get ( const string &  name  )  const

Partially maps names into flags.

Maps "Console", "File", and "Standard", resp., to Console, File, and Standard.

Parameters:
name : Name to be mapped;
Returns:
Flag corresponding to name.
Exceptions:
RuntimeError : If name is unknown.
string getName (  )  const [inherited]

Gets Key's name.

Returns:
The Key's name.
string getName (  )  const [inherited]

Gets name.

Returns:
The name.
void setName ( const string &  name  )  [inherited]

Sets name.

Parameters:
name : The name.