C++ SIP Stack  0.31
Public 멤버 함수 | Public 속성 | 모든 멤버 목록
CSipContentType 클래스 참조

Content-Type 을 저장하는 클래스 더 자세히 ...

CSipContentType에 대한 상속 다이어그램 :
CSipParameterList

Public 멤버 함수

 CSipContentType ()
 ~CSipContentType ()
int Parse (const char *pszText, int iTextLen)
 SIP 헤더 문자열을 파싱하여 CSipContentType 클래스의 멤버 변수에 저장한다.
int ToString (char *pszText, int iTextSize)
 SIP 메시지에 포함된 문자열을 작성한다.
void Clear ()
 멤버 변수를 초기화시킨다.
bool Empty ()
 멤버변수가 저장되어 있지 않으면 true 를 리턴하고 그렇지 않으면 false 를 리턴한다.
void Set (const char *pszType, const char *pszSubType)
 Content-Type 을 설정한다.
bool IsEqual (const char *pszType, const char *pszSubType)
 Content-Type 이 동일한지 검사한다.
- CSipParameterList(으)로부터 상속된 Public 멤버 함수
 CSipParameterList ()
 ~CSipParameterList ()
int HeaderListParamParse (const char *pszText, int iTextLen)
 SIP Header 가 , 로 구분되어서 N 개 저장되는 SIP Header 의 parameter list 를 파싱한다.
int ParamParse (const char *pszText, int iTextLen)
 parameter 리스트 문자열을 파싱하여서 parameter 리스트 객체에 저장한다.
int ParamToString (char *pszText, int iTextSize)
 parameter 리스트 객체를 parameter 리스트 문자열로 제작한다.
bool InsertParam (const char *pszName, const char *pszValue)
 parameter list 에서 입력된 이름과 값을 저장한다.
bool UpdateParam (const char *pszName, const char *pszValue)
 parameter list 에서 입력된 이름에 대한 값을 수정한다.
bool SelectParam (const char *pszName, std::string &strValue)
 parameter list 에서 입력된 이름을 검색한다.
bool SelectParam (const char *pszName)
 parameter list 에서 입력된 이름을 검색한다.
const char * SelectParamValue (const char *pszName)
 parameter list 에서 입력된 이름을 검색한다.
void ClearParam ()
 parameter list 를 삭제한다.

Public 속성

std::string m_strType
 type
std::string m_strSubType
 subtype
- CSipParameterList(으)로부터 상속된 Public 속성
SIP_PARAMETER_LIST m_clsParamList

상세한 설명

Content-Type 을 저장하는 클래스

생성자 & 소멸자 문서화

CSipContentType::CSipContentType ( )
CSipContentType::~CSipContentType ( )

멤버 데이타 문서화

std::string CSipContentType::m_strSubType

subtype

std::string CSipContentType::m_strType

type