summaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_String.hh
blob: 82860e9d2fcbfca044fc022ea826e8e332d19b47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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);
    virtual ~QPDF_String();
    virtual std::string unparse();
    std::string unparse(bool force_binary);
    std::string getVal() const;
    std::string getUTF8Val() const;

  private:
    std::string val;
};

#endif // __QPDF_STRING_HH__