LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CMimeContentType Class Reference

#include <mcnttype.hxx>

Inheritance diagram for CMimeContentType:
[legend]
Collaboration diagram for CMimeContentType:
[legend]

Public Member Functions

 CMimeContentType (const OUString &rCntType)
 
virtual OUString SAL_CALL getMediaType () override
 
virtual OUString SAL_CALL getMediaSubtype () override
 
virtual OUString SAL_CALL getFullMediaType () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getParameters () override
 
virtual sal_Bool SAL_CALL hasParameter (const OUString &aName) override
 
virtual OUString SAL_CALL getParameterValue (const OUString &aName) override
 

Private Member Functions

void init (const OUString &aCntType)
 

Private Attributes

OUString m_MediaType
 
OUString m_MediaSubtype
 
std::map< OUString, OUString > m_ParameterMap
 

Detailed Description

Definition at line 30 of file mcnttype.hxx.

Constructor & Destructor Documentation

◆ CMimeContentType()

CMimeContentType::CMimeContentType ( const OUString &  rCntType)
explicit

Definition at line 29 of file mcnttype.cxx.

References init().

Member Function Documentation

◆ getFullMediaType()

OUString SAL_CALL CMimeContentType::getFullMediaType ( )
overridevirtual

Definition at line 44 of file mcnttype.cxx.

References m_MediaSubtype, and m_MediaType.

◆ getMediaSubtype()

OUString SAL_CALL CMimeContentType::getMediaSubtype ( )
overridevirtual

Definition at line 39 of file mcnttype.cxx.

References m_MediaSubtype.

◆ getMediaType()

OUString SAL_CALL CMimeContentType::getMediaType ( )
overridevirtual

Definition at line 34 of file mcnttype.cxx.

References m_MediaType.

◆ getParameters()

css::uno::Sequence< OUString > SAL_CALL CMimeContentType::getParameters ( )
overridevirtual

Definition at line 49 of file mcnttype.cxx.

References m_ParameterMap, and comphelper::mapKeysToSequence().

◆ getParameterValue()

OUString SAL_CALL CMimeContentType::getParameterValue ( const OUString &  aName)
overridevirtual

Definition at line 59 of file mcnttype.cxx.

References aName, hasParameter(), and m_ParameterMap.

◆ hasParameter()

sal_Bool SAL_CALL CMimeContentType::hasParameter ( const OUString &  aName)
overridevirtual

Definition at line 54 of file mcnttype.cxx.

References aName, and m_ParameterMap.

Referenced by getParameterValue().

◆ init()

void CMimeContentType::init ( const OUString &  aCntType)
private
Exceptions
css::lang::IllegalArgumentException

Definition at line 69 of file mcnttype.cxx.

References i, m_MediaSubtype, m_MediaType, m_ParameterMap, and INetMIME::scanContentType().

Referenced by CMimeContentType().

Member Data Documentation

◆ m_MediaSubtype

OUString CMimeContentType::m_MediaSubtype
private

Definition at line 54 of file mcnttype.hxx.

Referenced by getFullMediaType(), getMediaSubtype(), and init().

◆ m_MediaType

OUString CMimeContentType::m_MediaType
private

Definition at line 53 of file mcnttype.hxx.

Referenced by getFullMediaType(), getMediaType(), and init().

◆ m_ParameterMap

std::map< OUString, OUString > CMimeContentType::m_ParameterMap
private

Definition at line 55 of file mcnttype.hxx.

Referenced by getParameters(), getParameterValue(), hasParameter(), and init().


The documentation for this class was generated from the following files: