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_EXTENDED_TYPE_INFO_NO_RTTI_HPP #define BOOST_EXTENDED_TYPE_INFO_NO_RTTI_HPP /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // extended_type_info_no_rtti.hpp: implementation for version that depends // on runtime typing (rtti - typeid) but uses a user specified string // as the portable class identifier. // (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
#include
// must be the last header #ifdef BOOST_MSVC # pragma warning(push) # pragma warning(disable : 4251 4231 4660 4275) #endif namespace boost { namespace serialization { namespace detail { /////////////////////////////////////////////////////////////////////// // define a special type_info that doesn't depend on rtti which is not // available in all situations. // common base class to share type_info_key. This is used to // identify the method used to keep track of the extended type class BOOST_SERIALIZATION_DECL(BOOST_PP_EMPTY()) extended_type_info_no_rtti_0 : public extended_type_info { virtual bool less_than(const boost::serialization::extended_type_info &rhs) const ; protected: extended_type_info_no_rtti_0(); // account for bogus gcc warning #if defined(__GNUC__) virtual #endif ~extended_type_info_no_rtti_0(); public: struct is_polymorphic { typedef boost::mpl::bool_
type; BOOST_STATIC_CONSTANT(bool, value = is_polymorphic::type::value); }; }; template
class extended_type_info_no_rtti_1 : public extended_type_info_no_rtti_0 { protected: extended_type_info_no_rtti_1(){} public: // note borland complains at making this destructor protected ~extended_type_info_no_rtti_1(){}; static const boost::serialization::extended_type_info * get_derived_extended_type_info(const T & t){ // find the type that corresponds to the most derived type. // this implementation doesn't depend on typeid() but assumes // that the specified type has a function of the following signature. // A common implemention of such a function is to define as a virtual // function. const char * derived_key = t.get_key(); assert(NULL != derived_key); return boost::serialization::extended_type_info::find(derived_key); } static boost::serialization::extended_type_info * get_instance(){ static extended_type_info_no_rtti_1
instance; return & instance; } static void export_register(const char * key){ boost::serialization::extended_type_info * eti; eti = get_instance(); eti->key_register(key); // initialize key and add to table eti->self_register(); // add type to type table } }; } // namespace detail template
class extended_type_info_no_rtti : public detail::extended_type_info_no_rtti_1
{ // private constructor to inhibit any existence other than the // static one extended_type_info_no_rtti(){} ~extended_type_info_no_rtti(){}; }; } // namespace serialization } // namespace boost /////////////////////////////////////////////////////////////////////////////// // If no other implementation has been designated as default, // use this one. To use this implementation as the default, specify it // before any of the other headers. #ifndef BOOST_SERIALIZATION_DEFAULT_TYPE_INFO #define BOOST_SERIALIZATION_DEFAULT_TYPE_INFO namespace boost { namespace serialization { template
struct extended_type_info_impl { typedef BOOST_DEDUCED_TYPENAME boost::serialization::extended_type_info_no_rtti
type; }; } // namespace serialization } // namespace boost #endif #ifdef BOOST_MSVC #pragma warning(pop) #endif #include
// pops abi_suffix.hpp pragmas #endif // BOOST_EXTENDED_TYPE_INFO_NO_RTTI_HPP
extended_type_info_no_rtti.hpp
Page URL
File URL
Prev
15/51
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.