DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
File Drop Box
FTP/SFTP Hosting
Group Account
Team Anywhere
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
File Drop Boxes
WebDAV Cloud Drive Mapping
Cloud Drive Home
|
WebDAV Cloud Drive Guide
|
Cloud Drive Mapping Tool
Complete Data Backup
Backup Guide
|
Cloud-to-Cloud Backup
|
IP Camera Backup
FTP, Email & Web Service
FTP/SFTP Hosting
|
Email Hosting
|
Web Hosting
|
Webcam Hosting
Cloud Surveillance & Remote Desktop
Team Anywhere
|
Access 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 Account
File Drop Box
Full-text Search
Single Sign-On
Mobile Access
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account for Kids
Home Monitoring
Cloud Surveillance & Remote Desktop
Remote Desktop Service
CameraFTP Cloud Surveillance
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
CameraFTP Software & Apps
DriveHQ Team Anywhere
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
CameraFTP Cloud Recording Service Pricing
DriveHQ Team Anywhere Service Pricing
Log in
Sign up
Help
Support Home
Support Forum
Service Manual
Online Help
Tutorial videos
Remote Support
About DriveHQ
Contact
CameraFTP Support
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Rotate
Photo Effect
Edit
Slideshow
View History
// Copyright David Abrahams 2002. // 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 OBJECT_PROTOCOL_DWA2002615_HPP # define OBJECT_PROTOCOL_DWA2002615_HPP # include
# include
# include
namespace boost { namespace python { namespace api { # if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) // attempt to use SFINAE to prevent functions accepting T const& from // coming up as ambiguous with the one taking a char const* when a // string literal is passed # define BOOST_PYTHON_NO_ARRAY_ARG(T) , T (*)() = 0 # else # define BOOST_PYTHON_NO_ARRAY_ARG(T) # endif template
object getattr(Target const& target, Key const& key BOOST_PYTHON_NO_ARRAY_ARG(key)) { return getattr(object(target), object(key)); } template
object getattr(Target const& target, Key const& key, Default const& default_ BOOST_PYTHON_NO_ARRAY_ARG(key)) { return getattr(object(target), object(key), object(default_)); } template
void setattr(object const& target, Key const& key, Value const& value BOOST_PYTHON_NO_ARRAY_ARG(key)) { setattr(target, object(key), object(value)); } template
void delattr(object const& target, Key const& key BOOST_PYTHON_NO_ARRAY_ARG(key)) { delattr(target, object(key)); } template
object getitem(Target const& target, Key const& key BOOST_PYTHON_NO_ARRAY_ARG(key)) { return getitem(object(target), object(key)); } template
void setitem(object const& target, Key const& key, Value const& value BOOST_PYTHON_NO_ARRAY_ARG(key)) { setitem(target, object(key), object(value)); } template
void delitem(object const& target, Key const& key BOOST_PYTHON_NO_ARRAY_ARG(key)) { delitem(target, object(key)); } template
object getslice(Target const& target, Begin const& begin, End const& end) { return getslice(object(target), object(begin), object(end)); } template
void setslice(object const& target, Begin const& begin, End const& end, Value const& value) { setslice(target, object(begin), object(end), object(value)); } template
void delslice(object const& target, Begin const& begin, End const& end) { delslice(target, object(begin), object(end)); } }}} // namespace boost::python::api #endif // OBJECT_PROTOCOL_DWA2002615_HPP
object_protocol.hpp
Page URL
File URL
Prev
50/85
Next
Download
( 2 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 free
, or if you are already a member,
Logon
.