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.
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  )  [inline, explicit]

Constructs the key and sets its name.


Member Function Documentation

string getName (  )  const [inherited]

Gets Key's name.

Returns:
The Key's name.

Reimplemented from Key.

void setName ( const string &  name  )  [inherited]

Sets name.

Parameters:
name : The name.

Generated on Sat Mar 20 15:08:30 2010 for KeyValue by  doxygen 1.6.1