00001
00002
00003
00004
00005
00006
00007 #ifndef _MIMETIC_MIMEVERSION_H_
00008 #define _MIMETIC_MIMEVERSION_H_
00009 #include <string>
00010 #include <iostream>
00011 #include <mimetic/rfc822/fieldvalue.h>
00012 #include <mimetic/version.h>
00013 namespace mimetic
00014 {
00015
00016
00017
00018
00019
00020 struct MimeVersion: public Version, public FieldValue
00021 {
00022 static const char label[];
00023
00024 MimeVersion();
00025 MimeVersion(const std::string&);
00026 MimeVersion(ver_type, ver_type);
00027
00028 void set(const std::string&);
00029 std::string str() const;
00030 protected:
00031 FieldValue* clone() const;
00032 };
00033
00034 }
00035 #endif