Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Contenttype Class Reference

Content-type-field like rfc2045.

#include <tnt/contenttype.h>

Inheritance diagram for Contenttype:

MessageattributeParser

List of all members.

Public Types

typedef std::multimap
< std::string, std::string > 
parameter_type
typedef
parameter_type::const_iterator 
parameter_iterator

Public Member Functions

 Contenttype (const std::string &ct)
 Contenttype (const std::string &type_, const std::string &subtype_)
const std::string & getType () const
const std::string & getSubtype () const
const std::string & getBoundary () const
bool isMultipart () const
parameter_iterator parameter_begin () const
parameter_iterator parameter_end () const
parameter_iterator parameter_find (parameter_type::key_type key) const
parameter_iterator parameter_upper_bound (parameter_type::key_type key) const
bool operator== (const Contenttype &ct) const

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6