x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
access.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\xpressive\detail\core\access.hpp
旋转
特效
属性
历史版本
/////////////////////////////////////////////////////////////////////////////// // access.hpp // // Copyright 2007 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_XPRESSIVE_DETAIL_CORE_ACCESS_HPP_EAN_10_04_2005 #define BOOST_XPRESSIVE_DETAIL_CORE_ACCESS_HPP_EAN_10_04_2005 // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif #include
#include
#include
#include
#include
// for type_info_less namespace boost { namespace xpressive { namespace detail { /////////////////////////////////////////////////////////////////////////////// // core_access // template
struct core_access { typedef typename iterator_value
::type char_type; static std::size_t get_hidden_mark_count(basic_regex
const &rex) { return proto::arg(rex)->hidden_mark_count_; } static bool invalid(basic_regex
const &rex) { return rex.invalid_(); } static bool match(basic_regex
const &rex, match_state
&state) { return rex.match_(state); } static shared_ptr
> const & get_regex_impl(basic_regex
const &rex) { return proto::arg(rex).get(); } static void init_sub_match_vector ( sub_match_vector
&subs_vect , sub_match_impl
*subs_ptr , std::size_t size ) { subs_vect.init_(subs_ptr, size); } static void init_sub_match_vector ( sub_match_vector
&subs_vect , sub_match_impl
*subs_ptr , std::size_t size , sub_match_vector
const &that ) { subs_vect.init_(subs_ptr, size, that); } static void init_match_results ( match_results
&what , regex_id_type regex_id , intrusive_ptr
const> const &traits , sub_match_impl
*sub_matches , std::size_t size , std::vector
> const &named_marks ) { what.init_(regex_id, traits, sub_matches, size, named_marks); } static sub_match_vector
&get_sub_match_vector(match_results
&what) { return what.sub_matches_; } static sub_match_impl
*get_sub_matches(sub_match_vector
&subs) { return subs.sub_matches_; } static results_extras
&get_extras(match_results
&what) { return what.get_extras_(); } static nested_results
&get_nested_results(match_results
&what) { return what.nested_results_; } static action_args_type &get_action_args(match_results
&what) { return what.args_; } static void set_prefix_suffix(match_results
&what, BidiIter begin, BidiIter end) { what.set_prefix_suffix_(begin, end); } static void reset(match_results
&what) { what.reset_(); } static void set_base(match_results
&what, BidiIter base) { what.set_base_(base); } }; }}} // namespace boost::xpressive::detail #endif
access.hpp
网页地址
文件地址
上一页 1/16
下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.