A string conversion class for use as a base class in objects which can transform themselves into string representations. More...
#include <string.h>
Protected Member Functions | |
| virtual strsize_t | getStringSize (void) const =0 |
| Get maximum space that might be needed for string representation. | |
| virtual void | put (char *buffer, size_t size) const =0 |
| Convert derived object into a string buffer. | |
Friends | |
| class | string |
| class | string::cstring |
A string conversion class for use as a base class in objects which can transform themselves into string representations.
This can be used together with the string class for automatic conversions.
Definition at line 1491 of file string.h.
| virtual strsize_t ucc::StringFormat::getStringSize | ( | void | ) | const [protected, pure virtual] |
Get maximum space that might be needed for string representation.
| virtual void ucc::StringFormat::put | ( | char * | buffer, | |
| size_t | size | |||
| ) | const [protected, pure virtual] |
Convert derived object into a string buffer.
This may be a public method in a derived class.
| buffer | to save representation in. | |
| size | of buffer to use. |
1.6.3