DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
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
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
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
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
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) 2001-2003 Joel de Guzman Copyright (c) 2002-2003 Hartmut Kaiser 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_DEBUG_MAIN_HPP) #define BOOST_SPIRIT_DEBUG_MAIN_HPP /////////////////////////////////////////////////////////////////////////// #if defined(BOOST_SPIRIT_DEBUG) #include
/////////////////////////////////////////////////////////////////////////////// // // Spirit.Debug includes and defines // /////////////////////////////////////////////////////////////////////////////// #include
/////////////////////////////////////////////////////////////////////////// // // The BOOST_SPIRIT_DEBUG_OUT defines the stream object, which should be used // for debug diagnostics. This defaults to std::cout. // /////////////////////////////////////////////////////////////////////////// #if !defined(BOOST_SPIRIT_DEBUG_OUT) #define BOOST_SPIRIT_DEBUG_OUT std::cout #endif /////////////////////////////////////////////////////////////////////////// // // The BOOST_SPIRIT_DEBUG_PRINT_SOME constant defines the number of characters // from the stream to be printed for diagnosis. This defaults to the first // 20 characters. // /////////////////////////////////////////////////////////////////////////// #if !defined(BOOST_SPIRIT_DEBUG_PRINT_SOME) #define BOOST_SPIRIT_DEBUG_PRINT_SOME 20 #endif /////////////////////////////////////////////////////////////////////////// // // Additional BOOST_SPIRIT_DEBUG_FLAGS control the level of diagnostics printed // Basic constants are defined in debug/minimal.hpp. // /////////////////////////////////////////////////////////////////////////// #define BOOST_SPIRIT_DEBUG_FLAGS_NODES 0x0001 // node diagnostics #define BOOST_SPIRIT_DEBUG_FLAGS_ESCAPE_CHAR 0x0002 // escape_char_parse diagnostics #define BOOST_SPIRIT_DEBUG_FLAGS_TREES 0x0004 // parse tree/ast diagnostics #define BOOST_SPIRIT_DEBUG_FLAGS_CLOSURES 0x0008 // closure diagnostics #define BOOST_SPIRIT_DEBUG_FLAGS_SLEX 0x8000 // slex diagnostics #define BOOST_SPIRIT_DEBUG_FLAGS_MAX 0xFFFF // print maximal diagnostics #if !defined(BOOST_SPIRIT_DEBUG_FLAGS) #define BOOST_SPIRIT_DEBUG_FLAGS BOOST_SPIRIT_DEBUG_FLAGS_MAX #endif /////////////////////////////////////////////////////////////////////////// // // By default all nodes are traced (even those, not registered with // BOOST_SPIRIT_DEBUG_RULE et.al. - see below). The following constant may be // used to redefine this default. // /////////////////////////////////////////////////////////////////////////// #if !defined(BOOST_SPIRIT_DEBUG_TRACENODE) #define BOOST_SPIRIT_DEBUG_TRACENODE (true) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACENODE) /////////////////////////////////////////////////////////////////////////// // // Helper macros for giving rules and subrules a name accessible through // parser_name() functions (see parser_names.hpp). // // Additionally, the macros BOOST_SPIRIT_DEBUG_RULE, SPIRIT_DEBUG_NODE and // BOOST_SPIRIT_DEBUG_GRAMMAR enable/disable the tracing of the // correspondingnode accordingly to the PP constant // BOOST_SPIRIT_DEBUG_TRACENODE. // // The macros BOOST_SPIRIT_DEBUG_TRACE_RULE, BOOST_SPIRIT_DEBUG_TRACE_NODE // and BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR allow to specify a flag to define, // whether the corresponding node is to be traced or not. // /////////////////////////////////////////////////////////////////////////// #if !defined(BOOST_SPIRIT_DEBUG_RULE) #define BOOST_SPIRIT_DEBUG_RULE(r) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, BOOST_SPIRIT_DEBUG_TRACENODE) #endif // !defined(BOOST_SPIRIT_DEBUG_RULE) #if !defined(BOOST_SPIRIT_DEBUG_NODE) #define BOOST_SPIRIT_DEBUG_NODE(r) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, BOOST_SPIRIT_DEBUG_TRACENODE) #endif // !defined(BOOST_SPIRIT_DEBUG_NODE) #if !defined(BOOST_SPIRIT_DEBUG_GRAMMAR) #define BOOST_SPIRIT_DEBUG_GRAMMAR(r) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, BOOST_SPIRIT_DEBUG_TRACENODE) #endif // !defined(BOOST_SPIRIT_DEBUG_GRAMMAR) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_RULE) #define BOOST_SPIRIT_DEBUG_TRACE_RULE(r, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, (t)) #endif // !defined(BOOST_SPIRIT_TRACE_RULE) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_NODE) #define BOOST_SPIRIT_DEBUG_TRACE_NODE(r, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, (t)) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACE_NODE) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR) #define BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR(r, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, #r, (t)) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_RULE_NAME) #define BOOST_SPIRIT_DEBUG_TRACE_RULE_NAME(r, n, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, (n), (t)) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACE_RULE_NAME) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_NODE_NAME) #define BOOST_SPIRIT_DEBUG_TRACE_NODE_NAME(r, n, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, (n), (t)) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACE_NODE_NAME) #if !defined(BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR_NAME) #define BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR_NAME(r, n, t) \ ::boost::spirit::impl::get_node_registry().register_node(&r, (n), (t)) #endif // !defined(BOOST_SPIRIT_DEBUG_TRACE_GRAMMAR_NAME) ////////////////////////////////// #include
#else ////////////////////////////////// #include
#endif // BOOST_SPIRIT_DEBUG #endif
debug.hpp
Page URL
File URL
Prev
4/11
Next
Download
( 6 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.