本文整理汇总了C++中Sequence::disable_factory方法的典型用法代码示例。如果您正苦于以下问题:C++ Sequence::disable_factory方法的具体用法?C++ Sequence::disable_factory怎么用?C++ Sequence::disable_factory使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Sequence
的用法示例。
在下文中一共展示了Sequence::disable_factory方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: TokenSIPMessage
TokenSIPMessage(void) : TokenAbstract("SIPMessage"),
_sequence(
Alternative<TokenSIPRequestLine, TokenSIPStatusLine>(TokenSIPRequestLine(), TokenSIPStatusLine()),
Occurrence<TokenSIPMessageHeader>(TokenSIPMessageHeader(), 0, -1, true),
TokenCRLF(),
Occurrence<TokenOctects>(TokenOctects(), 0, 1, true))
{
_sequence.disable_factory(true);
}
示例2: TokenSIPMessageHeader
//.........这里部分代码省略.........
Alternative
<
TokenSIPMessageHeader_Accept,
TokenSIPMessageHeader_Accept_Encoding,
TokenSIPMessageHeader_Accept_Language,
TokenSIPMessageHeader_Alert_Info,
TokenSIPMessageHeader_Allow,
TokenSIPMessageHeader_Authentication_Info,
TokenSIPMessageHeader_Authorization,
TokenSIPMessageHeader_Call_ID,
TokenSIPMessageHeader_Call_Info,
TokenSIPMessageHeader_Contact,
TokenSIPMessageHeader_Content_Disposition,
TokenSIPMessageHeader_Content_Encoding,
TokenSIPMessageHeader_Content_Language,
TokenSIPMessageHeader_Content_Length,
TokenSIPMessageHeader_Content_Type,
TokenSIPMessageHeader_CSeq,
TokenSIPMessageHeader_Date,
//TokenSIPMessageHeader_Error_Info,
TokenSIPMessageHeader_Expires,
TokenSIPMessageHeader_From,
//TokenSIPMessageHeader_In_Reply_To,
TokenSIPMessageHeader_Max_Forwards,
//TokenSIPMessageHeader_MIME_Version,
//TokenSIPMessageHeader_Min_Expires,
//TokenSIPMessageHeader_Organization,
//TokenSIPMessageHeader_Priority,
//TokenSIPMessageHeader_Proxy_Authenticate,
//TokenSIPMessageHeader_Proxy_Authorization,
//TokenSIPMessageHeader_Proxy_Require,
//TokenSIPMessageHeader_Record_Route,
//TokenSIPMessageHeader_Reply_To,
//TokenSIPMessageHeader_Require,
//TokenSIPMessageHeader_Retry_After,
//TokenSIPMessageHeader_Route,
//TokenSIPMessageHeader_Server,
//TokenSIPMessageHeader_Subject,
//TokenSIPMessageHeader_Supported,
//TokenSIPMessageHeader_Timestamp,
TokenSIPMessageHeader_To,
//TokenSIPMessageHeader_Unsupported,
//TokenSIPMessageHeader_User_Agent,
TokenSIPMessageHeader_Via,
//TokenSIPMessageHeader_Warning,
//TokenSIPMessageHeader_WWW_Authenticate,
TokenSIPMessageHeader_extension_header
>
(
TokenSIPMessageHeader_Accept(),
TokenSIPMessageHeader_Accept_Encoding(),
TokenSIPMessageHeader_Accept_Language(),
TokenSIPMessageHeader_Alert_Info(),
TokenSIPMessageHeader_Allow(),
TokenSIPMessageHeader_Authentication_Info(),
TokenSIPMessageHeader_Authorization(),
TokenSIPMessageHeader_Call_ID(),
TokenSIPMessageHeader_Call_Info(),
TokenSIPMessageHeader_Contact(),
TokenSIPMessageHeader_Content_Disposition(),
TokenSIPMessageHeader_Content_Encoding(),
TokenSIPMessageHeader_Content_Language(),
TokenSIPMessageHeader_Content_Length(),
TokenSIPMessageHeader_Content_Type(),
TokenSIPMessageHeader_CSeq(),
TokenSIPMessageHeader_Date(),
//TokenSIPMessageHeader_Error_Info(),
TokenSIPMessageHeader_Expires(),
TokenSIPMessageHeader_From(),
//TokenSIPMessageHeader_In_Reply_To(),
TokenSIPMessageHeader_Max_Forwards(),
//TokenSIPMessageHeader_MIME_Version(),
//TokenSIPMessageHeader_Min_Expires(),
//TokenSIPMessageHeader_Organization(),
//TokenSIPMessageHeader_Priority(),
//TokenSIPMessageHeader_Proxy_Authenticate(),
//TokenSIPMessageHeader_Proxy_Authorization(),
//TokenSIPMessageHeader_Proxy_Require(),
//TokenSIPMessageHeader_Record_Route(),
//TokenSIPMessageHeader_Reply_To(),
//TokenSIPMessageHeader_Require(),
//TokenSIPMessageHeader_Retry_After(),
//TokenSIPMessageHeader_Route(),
//TokenSIPMessageHeader_Server(),
//TokenSIPMessageHeader_Subject(),
//TokenSIPMessageHeader_Supported(),
//TokenSIPMessageHeader_Timestamp(),
TokenSIPMessageHeader_To(),
//TokenSIPMessageHeader_Unsupported(),
//TokenSIPMessageHeader_User_Agent(),
TokenSIPMessageHeader_Via(),
//TokenSIPMessageHeader_Warning(),
//TokenSIPMessageHeader_WWW_Authenticate(),
TokenSIPMessageHeader_extension_header()
),
TokenCRLF()
)
{
_sequence.disable_factory(true);
}
示例3: TokenSIPVersion
TokenSIPVersion(void) : TokenAbstract("SIPVersion"),
_sequence(Token("SIP/"), TokenDigits(), Token("."), TokenDigits())
{
_sequence.disable_factory(true);
}