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
#ifndef BOOST_ARCHIVE_DETAIL_POLYMORPHIC_IARCHIVE_DISPATCH_HPP #define BOOST_ARCHIVE_DETAIL_POLYMORPHIC_IARCHIVE_DISPATCH_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // polymorphic_iarchive_dispatch.hpp // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . // 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) // See http://www.boost.org for updates, documentation, and revision history. #include
#include
#include
#include
#include
#include
#if defined(BOOST_NO_STDC_NAMESPACE) namespace std{ using ::size_t; } // namespace std #endif #include
#include
// must be the last header namespace boost { template
class shared_ptr; namespace serialization { class extended_type_info; } // namespace serialization namespace archive { namespace detail{ class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iserializer; class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer; template
class polymorphic_iarchive_dispatch : public polymorphic_iarchive, // note: gcc dynamic cross cast fails if the the derivation below is // not public. I think this is a mistake. public /*protected*/ ArchiveImplementation, private boost::noncopyable { private: // these are used by the serialization library. virtual void load_object( void *t, const basic_iserializer & bis ){ ArchiveImplementation::load_object(t, bis); } virtual const basic_pointer_iserializer * load_pointer( void * & t, const basic_pointer_iserializer * bpis_ptr, const basic_pointer_iserializer * (*finder)( const boost::serialization::extended_type_info & type ) ){ return ArchiveImplementation::load_pointer(t, bpis_ptr, finder); } virtual void set_library_version(unsigned int archive_library_version){ ArchiveImplementation::set_library_version(archive_library_version); } virtual unsigned int get_library_version() const{ return ArchiveImplementation::get_library_version(); } virtual unsigned int get_flags() const { return ArchiveImplementation::get_flags(); } virtual void delete_created_pointers(){ ArchiveImplementation::delete_created_pointers(); } virtual void reset_object_address( const void * new_address, const void * old_address ){ ArchiveImplementation::reset_object_address(new_address, old_address); } virtual void load_binary(void * t, std::size_t size){ ArchiveImplementation::load_binary(t, size); } // primitive types the only ones permitted by polymorphic archives virtual void load(bool & t){ ArchiveImplementation::load(t); } virtual void load(char & t){ ArchiveImplementation::load(t); } virtual void load(signed char & t){ ArchiveImplementation::load(t); } virtual void load(unsigned char & t){ ArchiveImplementation::load(t); } #ifndef BOOST_NO_CWCHAR #ifndef BOOST_NO_INTRINSIC_WCHAR_T virtual void load(wchar_t & t){ ArchiveImplementation::load(t); } #endif #endif virtual void load(short & t){ ArchiveImplementation::load(t); } virtual void load(unsigned short & t){ ArchiveImplementation::load(t); } virtual void load(int & t){ ArchiveImplementation::load(t); } virtual void load(unsigned int & t){ ArchiveImplementation::load(t); } virtual void load(long & t){ ArchiveImplementation::load(t); } virtual void load(unsigned long & t){ ArchiveImplementation::load(t); } #if !defined(BOOST_NO_INTRINSIC_INT64_T) virtual void load(boost::int64_t & t){ ArchiveImplementation::load(t); } virtual void load(boost::uint64_t & t){ ArchiveImplementation::load(t); } #endif virtual void load(float & t){ ArchiveImplementation::load(t); } virtual void load(double & t){ ArchiveImplementation::load(t); } virtual void load(std::string & t){ ArchiveImplementation::load(t); } #ifndef BOOST_NO_STD_WSTRING virtual void load(std::wstring & t){ ArchiveImplementation::load(t); } #endif // used for xml and other tagged formats default does nothing virtual void load_start(const char * name){ ArchiveImplementation::load_start(name); } virtual void load_end(const char * name){ ArchiveImplementation::load_end(name); } virtual void register_basic_serializer(const basic_iserializer & bis){ ArchiveImplementation::register_basic_serializer(bis); } public: // this can't be inheriteded because they appear in mulitple // parents typedef mpl::bool_
is_loading; typedef mpl::bool_
is_saving; // the >> operator template
polymorphic_iarchive & operator>>(T & t){ return polymorphic_iarchive::operator>>(t); } // the & operator template
polymorphic_iarchive & operator&(T & t){ return polymorphic_iarchive::operator&(t); } // all current archives take a stream as constructor argument template
polymorphic_iarchive_dispatch( std::basic_istream<_Elem, _Tr> & is, unsigned int flags = 0 ) : ArchiveImplementation(is, flags) {} }; } // namespace detail } // namespace archive } // namespace boost #include
// pops abi_suffix.hpp pragmas #endif // BOOST_ARCHIVE_DETAIL_POLYMORPHIC_IARCHIVE_DISPATCH_HPP
polymorphic_iarchive_dispatch.hpp
Page URL
File URL
Prev
25/28
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.