|
Google APIs Client Library for C++
|
A factory for creating Codec instances. More...
#include "client/data/codec.h"
Inheritance diagram for CodecFactory:Public Member Functions | |
| CodecFactory () | |
| Standard constructor. | |
| virtual | ~CodecFactory () |
| Standard destructor. | |
| virtual Codec * | New (util::Status *status)=0 |
| The factory method that creates a new instance. | |
A factory for creating Codec instances.
This factory must be subclassed for a particualr concrete Codec. The subclasses may provide additional configuration parameters particular to the encoding/decoding scheme they implement.
| CodecFactory | ( | ) |
Standard constructor.
| virtual ~CodecFactory | ( | ) | [virtual] |
Standard destructor.
| virtual Codec* New | ( | util::Status * | status | ) | [pure virtual] |
The factory method that creates a new instance.
| [out] | status | ok on success, otherwise the reason for failure. |
Implemented in OpenSslCodecFactory, and Base64CodecFactory.