source: SMSSender/lib/libdatatypes/src/business/BCBinary.h @ 41:680c6a482e9d

3.0
Last change on this file since 41:680c6a482e9d was 41:680c6a482e9d, checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
File size: 558 bytes
Line 
1/*
2 * BCBinary.h
3 *
4 *  Created on: Jun 17, 2009
5 *      Author: saemy
6 */
7
8#ifndef BCBINARY_H_
9#define BCBINARY_H_
10
11#include <ibinary.h>
12
13class BCBinary: public IBinary {
14public:
15    BCBinary();
16    BCBinary(const char* data, const std::size_t& size);
17
18    virtual char*       data() const;
19    virtual std::size_t size() const;
20
21    virtual void setData(const char* data, const std::size_t& size);
22
23private:
24    char*       data_;
25    std::size_t size_;
26};
27
28
29namespace BC {
30    class Binary: public BCBinary {};
31} // namespace BC
32
33#endif /* BCBINARY_H_ */
Note: See TracBrowser for help on using the repository browser.