Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Diff: DataGenerator.h
- Revision:
- 11:e1bee9a77652
- Parent:
- 0:099f76422485
--- a/DataGenerator.h Thu Oct 23 14:41:58 2014 +0200 +++ b/DataGenerator.h Sat Nov 15 11:21:01 2014 +0100 @@ -39,31 +39,31 @@ */ class DataGenerator { -public: - virtual ~DataGenerator() - { - } + public: + virtual ~DataGenerator() + { + } - /** - * Writes the object to the specified destination. - * @param s the destination - * @return the number of bytes written - */ - virtual size_t writeTo(AbstractDataSink&) const = 0; + /** + * Writes the object to the specified destination. + * @param s the destination + * @return the number of bytes written + */ + virtual size_t writeTo(AbstractDataSink&) const = 0; - /** - * Returns the estimated number of bytes which will be written. - * @return the estimated number of bytes printed - */ - virtual size_t writtenLength() const = 0; + /** + * Returns the estimated number of bytes which will be written. + * @return the estimated number of bytes printed + */ + virtual size_t writtenLength() const = 0; - /** - * Creates a deep copy on the heap. The class type may be different. - * The only thing guaranteed is that the copy behaves exactly - * the same. - * @return cloned object with no memory dependencies - */ - virtual DataGenerator* copy() const = 0; + /** + * Creates a deep copy on the heap. The class type may be different. + * The only thing guaranteed is that the copy behaves exactly + * the same. + * @return cloned object with no memory dependencies + */ + virtual DataGenerator* copy() const = 0; }; #endif