Public Types | Public Member Functions

Single< ElementType > Class Template Reference

Generic key whose converter type is StdSingle. More...

#include <keyvalue/key/generic/Single.h>

Inheritance diagram for Single< ElementType >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  
typedef Traits< ElementType,
StdSingle, Default
Traits_
typedef StdSingle< typename
Default< ElementType >
::OutputType_ > 
ConverterType_
typedef ConverterType_::InputType_ InputType_
typedef ConverterType_::OutputType_ OutputType_

Public Member Functions

 Single (const string &name)
 Constructs the key and sets its name.
string getName () const
 Gets Key's name.
string getName () const
 Gets name.
void setName (const string &name)
 Sets name.

Detailed Description

template<typename ElementType>
class keyvalue::key::Single< ElementType >

Generic key whose converter type is StdSingle.

Parameters:
ElementType : (template parameter) The output type.

Constructor & Destructor Documentation

Single ( const string &  name  )  [explicit]

Constructs the key and sets its name.


Member Function Documentation

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.