Wallaroo  0.8
Public Member Functions | List of all members
wallaroo::DeserializableValue Class Referenceabstract

#include <deserializable_value.h>

Inheritance diagram for wallaroo::DeserializableValue:
wallaroo::Attribute< T >

Public Member Functions

virtual ~DeserializableValue ()
 
virtual void Value (const std::string &value)=0
 

Detailed Description

This is the type of every class that can take a string representation and convert in its own internal type. It's used as base class for every Attribute template.

Constructor & Destructor Documentation

virtual wallaroo::DeserializableValue::~DeserializableValue ( )
inlinevirtual

Member Function Documentation

virtual void wallaroo::DeserializableValue::Value ( const std::string &  value)
pure virtual

Set this attribute value from a string representation.

Parameters
valueA string representation of the value to be assigned.
Exceptions
WrongTypeIf the string representation is not valid for this object.

Implemented in wallaroo::Attribute< T >.


The documentation for this class was generated from the following file: