1
/***************************************************************************
2
copyright : (C) 2002-2005 by Stefano Barbato
3
email : stefano@codesink.org
5
$Id: contenttransferencoding.cxx,v 1.2 2005/02/23 10:26:14 tat Exp $
6
***************************************************************************/
8
/***************************************************************************
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
15
***************************************************************************/
16
#include <mimetic/contenttransferencoding.h>
22
const char ContentTransferEncoding::label[] = "Content-Transfer-Encoding";
24
ContentTransferEncoding::ContentTransferEncoding()
28
ContentTransferEncoding::ContentTransferEncoding(const char* cstr)
34
ContentTransferEncoding::ContentTransferEncoding(const string& mechanism)
35
: m_mechanism(mechanism)
39
const istring& ContentTransferEncoding::mechanism() const
44
void ContentTransferEncoding::mechanism(const string& mechanism)
46
m_mechanism = mechanism;
49
void ContentTransferEncoding::set(const string& val)
54
string ContentTransferEncoding::str() const
59
FieldValue* ContentTransferEncoding::clone() const
61
return new ContentTransferEncoding(*this);