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
// (C) Copyright Jeremy Siek 2004 // 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_PROPERTY_HPP #define BOOST_PROPERTY_HPP #include
namespace boost { struct no_property { typedef no_property tag_type; typedef no_property next_type; typedef no_property value_type; enum { num = 0 }; typedef void kind; }; template
struct property : public Base { typedef Base next_type; typedef Tag tag_type; typedef T value_type; #if BOOST_WORKAROUND (__GNUC__, < 3) property() { } #else property() : m_value() { } #endif property(const T& v) : m_value(v) { } property(const T& v, const Base& b) : Base(b), m_value(v) { } // copy constructor and assignment operator will be generated by compiler T m_value; }; // The BGL properties specialize property_kind and // property_num, and use enum's for the Property type (see // graph/properties.hpp), but the user may want to use a class // instead with a nested kind type and num. Also, we may want to // switch BGL back to using class types for properties at some point. template
struct property_kind { typedef typename PropertyTag::kind type; }; template
struct has_property { BOOST_STATIC_CONSTANT(bool, value = true); typedef true_type type; }; template <> struct has_property
{ BOOST_STATIC_CONSTANT(bool, value = false); typedef false_type type; }; } // namespace boost #include
namespace boost { template
struct property_value { #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION typedef typename detail::build_property_tag_value_alist
::type AList; typedef typename detail::extract_value
::type type; #else typedef typename detail::build_property_tag_value_alist
::type AList; typedef typename detail::ev_selector
::type Extractor; typedef typename Extractor::template bind_
::type type; #endif }; template
inline typename property_value
, Tag2>::type& get_property_value(property
& p, Tag2 tag2) { BOOST_STATIC_CONSTANT(bool, match = (detail::same_property
::value)); typedef property
Prop; typedef typename property_value
::type T2; T2* t2 = 0; typedef detail::property_value_dispatch
Dispatcher; return Dispatcher::get_value(p, t2, tag2); } template
inline const typename property_value
, Tag2>::type& get_property_value(const property
& p, Tag2 tag2) { BOOST_STATIC_CONSTANT(bool, match = (detail::same_property
::value)); typedef property
Prop; typedef typename property_value
::type T2; T2* t2 = 0; typedef detail::property_value_dispatch
Dispatcher; return Dispatcher::const_get_value(p, t2, tag2); } namespace detail { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template
struct retag_property_list { typedef property
type; typedef FinalType retagged; }; template
struct retag_property_list
> { private: typedef retag_property_list
next; public: typedef property
type; typedef typename next::retagged retagged; }; template
struct retag_property_list
{ typedef no_property type; typedef no_property retagged; }; #endif } } // namesapce boost #endif /* BOOST_PROPERTY_HPP */
property.hpp
Page URL
File URL
Prev
17/21
Next
Download
( 4 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.