VectorOutput Class Reference

VectorOutput key. More...

#include "keyvalue/key/specific/VectorOutput.h"

Inheritance diagram for VectorOutput:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Flag { AsIs, Row, Column }
 

Defines the possible values for VectorOutput.

More...
enum  
typedef Traits
< VectorOutputBase::Flag,
StdSingle, FlagMap
Traits_
typedef StdSingle< typename
FlagMap
< VectorOutputBase::Flag >
::OutputType_
ConverterType_
typedef ConverterType_::InputType_ InputType_
typedef ConverterType_::OutputType_ OutputType_

Public Member Functions

Flag get (const string &name) const
 Partially maps names into flags.
string getName () const
 Gets Key's name.
void setName (const string &name)
 Sets name.
VectorOutputBase::Flag map (const value::Variant &variant) const
 Performs the mapping.

Detailed Description

VectorOutput key.

Key's name is "VectorOutput".


Member Enumeration Documentation

enum Flag [inherited]

Defines the possible values for VectorOutput.


Member Function Documentation

Flag get ( const string &  name  )  const [virtual]

Partially maps names into flags.

Maps "AsIs", "Row", and "Column", resp., to AsIs, Row and Column.

Parameters:
name : Name to be mapped;
Returns:
Flag corresponding to name.
Exceptions:
keyvalue::RuntimeError : If name is unknown.

Implements FlagMap< VectorOutputBase::Flag >.

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.
VectorOutputBase::Flag map ( const value::Variant variant  )  const [inherited]

Performs the mapping.

This method converts the input from value::Variant to string and calls get().

Parameters:
variant : A value::Variant containing the input string to be mapped.
Returns:
The mapping result.

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