blob: 1c7bb63957fa6d666f05767c271df29345a755a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef QPDF_STRING_HH
#define QPDF_STRING_HH
#include <qpdf/QPDFObject.hh>
// QPDF_Strings may included embedded null characters.
class QPDF_String: public QPDFObject
{
public:
QPDF_String(std::string const& val);
static QPDF_String* new_utf16(std::string const& utf8_val);
virtual ~QPDF_String();
virtual std::string unparse();
virtual QPDFObject::object_type_e getTypeCode() const;
virtual char const* getTypeName() const;
std::string unparse(bool force_binary);
virtual JSON getJSON();
std::string getVal() const;
std::string getUTF8Val() const;
private:
std::string val;
};
#endif // QPDF_STRING_HH
|