当前位置: 首页>>代码示例>>C++>>正文


C++ Sequence::disable_factory方法代码示例

本文整理汇总了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);
 }
开发者ID:zanfire,项目名称:sip-0x,代码行数:9,代码来源:TokenSIPMessage.hpp

示例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);
 }
开发者ID:zanfire,项目名称:sip-0x,代码行数:101,代码来源:TokenSIPMessageHeader.hpp

示例3: TokenSIPVersion

 TokenSIPVersion(void) : TokenAbstract("SIPVersion"), 
   _sequence(Token("SIP/"), TokenDigits(), Token("."), TokenDigits())
 {
   _sequence.disable_factory(true);
 }
开发者ID:zanfire,项目名称:sip-0x,代码行数:5,代码来源:TokenSIPVersion.hpp


注:本文中的Sequence::disable_factory方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。