Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
hkDataObjectNative.h
Package: wow-313-source.rar [view]
Upload User: yisoukefu
Upload Date: 2020-08-09
Package Size: 39506k
Code Size: 4k
Category:
Other Games
Development Platform:
Visual C++
- /*
- *
- * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
- * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
- * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
- *
- */
- #ifndef HK_DATA_NATIVE_OBJECT
- #define HK_DATA_NATIVE_OBJECT
- #include <Common/Serialize/Data/hkDataObject.h>
- class hkPackfileReader;
- class hkPackfileData;
- class hkDataClassNative;
- class hkVtableClassRegistry;
- class hkClassNameRegistry;
- /// This class implements the native type of hkDataWorld and
- /// can be used only for read access and in-place modifications
- /// of native objects.
- ///
- /// You also may use this class to save object contents to a tagfile
- /// with a pointer and hkClass.
- class hkDataWorldNative : public hkDataWorld
- {
- public:
- /// Constructor.
- hkDataWorldNative();
- /// Destructor.
- ~hkDataWorldNative();
- /// Implements hkDataWorld::getContents().
- virtual hkDataObject getContents() const;
- // Not implemented for native world.
- virtual hkDataObjectImpl* newObject(const hkDataClass& klass) const;
- // Not implemented for native world.
- virtual hkDataClassImpl* newClass(const ClassCinfo& cinfo);
- // Not implemented for native world.
- virtual hkDataArrayImpl* newArray(hkDataObject& obj, const hkDataClass::MemberInfo& minfo) const;
- /// Implements hkDataWorld::getType(). Return hkDataWorld::TYPE_NATIVE.
- virtual hkEnum<hkDataWorld::DataWorldType, hkInt32> getType() const;
- /// Implements hkDataWorld::findAllClasses().
- virtual void findAllClasses(hkArray<hkDataClassImpl*>& classesOut) const;
- /// Implements hkDataWorld::findAllClasses().
- virtual hkDataClassImpl* findClass(const char* name) const;
- /// Wrap native object based on the given pointer and hkClass.
- hkDataObjectImpl* wrapObject(void* object, const hkClass& klass) const;
- /// Set top level object with the given pointer and hkClass.
- /// The hkClass must be from the set class name registry.
- /// If 'klass' is not found then the world's top level object is set to HK_NULL.
- void setContents(void* object, const hkClass& klass);
- /// Set class name registry.
- /// Classes from this registry are used to wrap and access native objects.
- void setClassRegistry(const hkClassNameRegistry* r);
- /// Set vtable registry.
- /// This registry is used to find the most-derived class when wrapping native virtual objects.
- void setVtableRegistry(const hkVtableClassRegistry* vt);
- // Used internally.
- hkRefPtr<const hkClassNameRegistry> m_reg;
- hkRefPtr<const hkVtableClassRegistry> m_vtable;
- mutable hkStringMap<hkDataClassNative*> m_classes;
- hkVariant m_contents;
- };
- #endif // HK_DATA_NATIVE_OBJECT
- /*
- * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20090216)
- *
- * Confidential Information of Havok. (C) Copyright 1999-2009
- * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
- * Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership
- * rights, and intellectual property rights in the Havok software remain in
- * Havok and/or its suppliers.
- *
- * Use of this software for evaluation purposes is subject to and indicates
- * acceptance of the End User licence Agreement for this product. A copy of
- * the license is included with this software and is also available at www.havok.com/tryhavok.
- *
- */