a22b0862cb9225fa5e12596c75dba44f3c30d5a1
[gssweb.git] / json_gssapi / src / datamodel / GSSOIDSet.h
1 /*
2  * Copyright (c) 2014 <copyright holder> <email>
3  *
4  * For license details, see the LICENSE file in the root of this project.
5  *
6  */
7
8 #ifndef GSSOIDSET_H
9 #define GSSOIDSET_H
10 #include "GSSOID.h"
11
12 class GSSOIDSet
13 {
14 public:
15     GSSOIDSet();
16     ~GSSOIDSet();
17
18     GSSOIDSet& operator= ( const gss_OID_set other );
19     void addOID (const GSSOID other );
20     void addOID (const gss_OID other );
21     gss_OID_set toGss() const { return(set); }
22     
23 private:
24     gss_OID_set set;
25
26     GSSOIDSet ( const GSSOIDSet& other ) {};
27     void init();
28     gss_OID copyOID(gss_OID source, gss_OID destination);
29     void releaseOIDSet();
30 };
31
32 #endif // GSSOIDSET_H