#include <value.hpp>
Inheritance diagram for Exiv2::AsciiValue:


Public Member Functions | |
Creators | |
| AsciiValue () | |
| Default constructor. | |
| AsciiValue (const std::string &buf) | |
| Constructor. | |
| AsciiValue (const AsciiValue &rhs) | |
| Copy constructor. | |
| virtual | ~AsciiValue () |
| Virtual destructor. | |
Manipulators | |
| AsciiValue & | operator= (const AsciiValue &rhs) |
| Assignment operator. | |
| virtual void | read (const byte *buf, long len, ByteOrder byteOrder=invalidByteOrder) |
| Read the value from a character buffer. Appends a terminating '\0' character if buf doesn't end with 0. | |
| virtual void | read (const std::string &buf) |
| Set the value to that of the string buf. Overrides base class to append a terminating '\0' character if buf doesn't end with '\0'. | |
Accessors | |
| virtual AsciiValue * | clone () const |
| Return a pointer to a copy of itself (deep copy). The caller owns this copy and is responsible to delete it! | |
| virtual std::ostream & | write (std::ostream &os) const |
| Write the value to an output stream. Any trailing '\0' characters of the ASCII value are stripped and not written to the output stream. | |
This class is for null terminated single byte Ascii strings. This class also ensures that the string is null terminated.
|
||||||||||||||||
|
Read the value from a character buffer. Appends a terminating '\0' character if buf doesn't end with 0.
Reimplemented from Exiv2::StringValueBase.
|
1.3.8