Autowiring  1.0.3
A C++ Inversion of Control Framework
StringToDouble Class Reference

Detailed Description

We will define several filters connecting several data structures (really they can be any C++ type), rendering a linear sequence of processing.

This filter takes a std::string as input and produces a double as output. Notice that the input is passed to the AutoFilter method by value (other, more efficient semantics will be introduced later), and that the output is passed by reference. These type semantics are what define what the inputs and outputs of the filter are. Instead of returning a value, the AutoFilter method need only assign to its output parameters.

In particular, this filter parses the string as a decimal value and stores it in double-precision floating point format in the output parameter.


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