31 lines
499 B
C++
31 lines
499 B
C++
#ifndef __IMFHeader_h__
|
|
#define __IMFHeader_h__
|
|
|
|
#include "PString.h"
|
|
|
|
namespace coreutils {
|
|
|
|
class IMFHeader {
|
|
|
|
public:
|
|
IMFHeader();
|
|
IMFHeader(PString &in);
|
|
IMFHeader(std::string key, std::string value);
|
|
|
|
std::string getKey();
|
|
void setKey(std::string name);
|
|
std::string getValue();
|
|
void setValue(std::string value);
|
|
|
|
void output(std::stringstream &out);
|
|
|
|
private:
|
|
std::string key;
|
|
std::string value;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|