Main Page Class Hierarchy Alphabetical List Compound List Examples

contentdescription.h
1/***************************************************************************
2 copyright : (C) 2002-2008 by Stefano Barbato
3 email : stefano@codesink.org
4
5 $Id: contentdescription.h,v 1.12 2008-10-07 11:06:25 tat Exp $
6 ***************************************************************************/
7#ifndef _MIMETIC_CONTENT_DESCRIPTION_H_
8#define _MIMETIC_CONTENT_DESCRIPTION_H_
9#include <string>
10#include <mimetic/rfc822/fieldvalue.h>
11
12 namespace mimetic
13{
14
15/// Content-Description field value
16 struct ContentDescription: public FieldValue
17{
18 static const char label[];
19 ContentDescription();
20 ContentDescription(const char*);
21 ContentDescription(const std::string&);
22 void set(const std::string&);
23 std::string str() const;
24 protected:
25 FieldValue* clone() const;
26 private:
27 std::string m_value;
28};
29
30}
31
32#endif
33
mimetic
Definition body.h:18