aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Real.hh
blob: 76777477d042ffc3b022bd03cd403259383e0ec1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __QPDF_REAL_HH__
#define __QPDF_REAL_HH__

#include <qpdf/QPDFObject.hh>

class QPDF_Real: public QPDFObject
{
  public:
    QPDF_Real(std::string const& val);
    virtual ~QPDF_Real();
    std::string unparse();
    std::string getVal();

  private:
    // Store reals as strings to avoid roundoff errors.
    std::string val;
};

#endif // __QPDF_REAL_HH__