DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
True Drop Box
FTP/SFTP Hosting
Group Account
Team Anywhere
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Cloud-to-Cloud Backup
|
DVR/Camera Backup
FTP, Email & Web Service
FTP/SFTP Hosting
|
Email Hosting
|
Web Hosting
|
Webcam Hosting
Other Products & Services
Team Anywhere
|
Connect to Remote PC
|
Cloud Surveillance
|
Virtual CCTV NVR
Quick Links
Security and Privacy
Customer Support
Service Manual
Use Cases
Group Account
Online Help
Support Forum
Contact Us
About DriveHQ
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
Other Features
Team Anywhere (Remote Desktop Service)
CameraFTP Cloud Surveillance
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Team Anywhere for Windows (Beta)
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
/*============================================================================= Copyright (c) 1998-2003 Joel de Guzman http://spirit.sourceforge.net/ Use, modification and distribution is subject to 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) =============================================================================*/ #if !defined(BOOST_SPIRIT_STORED_RULE_HPP) #define BOOST_SPIRIT_STORED_RULE_HPP /////////////////////////////////////////////////////////////////////////////// #include
#include
#include
#include
/////////////////////////////////////////////////////////////////////////////// namespace boost { namespace spirit { /////////////////////////////////////////////////////////////////////////// // // stored_rule class // /////////////////////////////////////////////////////////////////////////// template < typename T0 , typename T1 , typename T2 , bool EmbedByValue > class stored_rule : public impl::rule_base< stored_rule
, typename mpl::if_c< EmbedByValue , stored_rule
, stored_rule
const&>::type , T0, T1, T2> { public: typedef stored_rule
self_t; typedef impl::rule_base< self_t , typename mpl::if_c< EmbedByValue , stored_rule
, self_t const&>::type , T0, T1, T2> base_t; typedef typename base_t::scanner_t scanner_t; typedef typename base_t::attr_t attr_t; typedef impl::abstract_parser
abstract_parser_t; typedef rule_alias
alias_t; stored_rule() : ptr() {} ~stored_rule() {} stored_rule(stored_rule const& r) : ptr(r.ptr) {} template
stored_rule(ParserT const& p) : ptr(new impl::concrete_parser
(p)) {} template
stored_rule& operator=(ParserT const& p) { ptr.reset(new impl::concrete_parser
(p)); return *this; } stored_rule& operator=(stored_rule const& r) { // If this is placed above the templatized assignment // operator, VC6 incorrectly complains ambiguity with // r1 = r2, where r1 and r2 are both rules. ptr = r.ptr; return *this; } stored_rule
copy() const { return stored_rule
(ptr); } alias_t alias() const { return alias_t(*this); } private: friend class impl::rule_base_access; friend class stored_rule
; #if defined(__GNUC__) && (__GNUC__ < 3) public: #endif abstract_parser_t* get() const { return ptr.get(); } #if defined(__GNUC__) && (__GNUC__ < 3) private: #endif stored_rule(shared_ptr
const& ptr) : ptr(ptr) {} shared_ptr
ptr; }; /////////////////////////////////////////////////////////////////////////////// }} // namespace boost::spirit #endif
stored_rule.hpp
Page URL
File URL
Prev
6/10
Next
Download
( 3 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.