aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Name.hh
blob: 361556a0411ae32b7ccc0242387a5e2314f5e55c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __QPDF_NAME_HH__
#define __QPDF_NAME_HH__

#include <qpdf/QPDFObject.hh>

class QPDF_Name: public QPDFObject
{
  public:
    QPDF_Name(std::string const& name);
    virtual ~QPDF_Name();
    virtual std::string unparse();
    std::string getName() const;

    // Put # into strings with characters unsuitable for name token
    static std::string normalizeName(std::string const& name);

  private:
    std::string name;
};

#endif // __QPDF_NAME_HH__