Move to automake 1.8/1.9
[yazpp-moved-to-github.git] / include / yaz++ / gdu.h
1 /*
2  * Copyright (c) 1998-2005, Index Data.
3  * See the file LICENSE for details.
4  * 
5  * $Id: gdu.h,v 1.3 2005-10-13 09:56:38 adam Exp $
6  */
7
8 #ifndef YAZPP_GDU_INCLUDED
9 #define YAZPP_GDU_INCLUDED
10
11 #include <yaz/yconfig.h>
12 #include <yaz/proto.h>
13
14 namespace yazpp_1 {
15     class YAZ_EXPORT GDU {
16     public:
17         GDU(const GDU &);
18         GDU(Z_GDU *gdu);
19         GDU(Z_APDU *apdu);
20         GDU();
21         ~GDU();
22         GDU &operator=(const GDU &);
23         Z_GDU *get() const;
24         void move_away_gdu(ODR dst, Z_GDU **gdu);
25     private:
26         void base(Z_GDU *gdu, ODR o);
27         Z_GDU *m_gdu;
28         ODR m_decode;
29     };
30 };
31
32 #endif
33 /*
34  * Local variables:
35  * c-basic-offset: 4
36  * indent-tabs-mode: nil
37  * End:
38  * vim: shiftwidth=4 tabstop=8 expandtab
39  */
40