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
12namespace mimetic
13{
14
15/// Content-Description field value
17{
18 static const char label[];
20 ContentDescription(const char*);
21 ContentDescription(const std::string&);
22 void set(const std::string&);
23 std::string str() const;
24protected:
25 FieldValue* clone() const;
26private:
27 std::string m_value;
28};
29
30}
31
32#endif
33
Definition: body.h:18
Content-Description field value.
Definition: contentdescription.h:17
Value of an header field (base class)
Definition: fieldvalue.h:18