summaryrefslogtreecommitdiff
path: root/include/GMPString.h
blob: d1c74247aa5c52c2bec7b0becb8ad96c41f9ed59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __GMPSTRING_H__
#define __GMPSTRING_H__
#include <gmpxx.h>
#include "BString.h"

class GMPString : public Base {
  public:
      GMPString(const GMPString &);
      GMPString(const mpz_class &);
      GMPString(const mpq_class &);
      GMPString(const mpf_class &);
      ~GMPString();
    operator String() const;
  private:
    char * str;
};

#endif