Jeff Thompson | 76317aa | 2013-06-25 19:11:48 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Author: Jeff Thompson |
| 3 | * |
| 4 | * BSD license, See the LICENSE file for more information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef BINARYXMLSTRUCTUREDECODER_HPP |
| 8 | #define BINARYXMLSTRUCTUREDECODER_HPP |
| 9 | |
| 10 | #include "BinaryXMLStructureDecoder.h" |
| 11 | |
| 12 | namespace ndn { |
Jeff Thompson | 4e27899 | 2013-06-26 18:59:17 -0700 | [diff] [blame] | 13 | |
| 14 | /** |
| 15 | * A BinaryXMLStructureDecoder wraps a C struct ndn_BinaryXMLStructureDecoder and |
| 16 | * related functions. |
| 17 | */ |
Jeff Thompson | 76317aa | 2013-06-25 19:11:48 -0700 | [diff] [blame] | 18 | class BinaryXMLStructureDecoder { |
| 19 | public: |
| 20 | BinaryXMLStructureDecoder() { |
| 21 | ndn_BinaryXMLStructureDecoder_init(&base); |
| 22 | } |
| 23 | |
| 24 | private: |
| 25 | struct ndn_BinaryXMLStructureDecoder base; |
| 26 | }; |
Jeff Thompson | 4e27899 | 2013-06-26 18:59:17 -0700 | [diff] [blame] | 27 | |
Jeff Thompson | 76317aa | 2013-06-25 19:11:48 -0700 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | #endif /* BINARYXMLSTRUCTUREDECODER_HPP */ |
| 31 | |