APEX Framework: ApexUsingNamespace.h Source File

NVIDIA APEX

ApexUsingNamespace.h
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef APEX_USING_NAMESPACE_H
00013 #define APEX_USING_NAMESPACE_H
00014 
00015 #include "foundation/Px.h"
00016 #include "ApexDefs.h"
00017 
00018 #define FORWARD_DECLARATION_AND_USING(T, X) \
00019     namespace physx \
00020     { \
00021         T X ; \
00022     }; \
00023 
00024 FORWARD_DECLARATION_AND_USING(class,    PxActor);
00025 FORWARD_DECLARATION_AND_USING(class,    PxBase);
00026 FORWARD_DECLARATION_AND_USING(class,    PxBoxGeometry);
00027 FORWARD_DECLARATION_AND_USING(class,    PxCapsuleGeometry);
00028 FORWARD_DECLARATION_AND_USING(class,    PxCloth);
00029 FORWARD_DECLARATION_AND_USING(class,    PxCooking);
00030 FORWARD_DECLARATION_AND_USING(struct,   PxConvexFlag);
00031 FORWARD_DECLARATION_AND_USING(class,    PxConvexMesh);
00032 FORWARD_DECLARATION_AND_USING(class,    PxConvexMeshGeometry);
00033 FORWARD_DECLARATION_AND_USING(struct,   PxDebugPoint);
00034 FORWARD_DECLARATION_AND_USING(struct,   PxDebugLine);
00035 FORWARD_DECLARATION_AND_USING(struct,   PxDebugTriangle);
00036 FORWARD_DECLARATION_AND_USING(struct,   PxDebugText);
00037 FORWARD_DECLARATION_AND_USING(struct,   PxFilterData);
00038 FORWARD_DECLARATION_AND_USING(struct,   PxFilterFlag);
00039 FORWARD_DECLARATION_AND_USING(class,    PxGeometry);
00040 FORWARD_DECLARATION_AND_USING(struct,   PxGeometryType);
00041 FORWARD_DECLARATION_AND_USING(class,    PxJoint);
00042 FORWARD_DECLARATION_AND_USING(class,    PxMaterial);
00043 FORWARD_DECLARATION_AND_USING(struct,   PxPairFlag);
00044 FORWARD_DECLARATION_AND_USING(class,    PxParticleBase);
00045 FORWARD_DECLARATION_AND_USING(class,    PxParticleFluid);
00046 FORWARD_DECLARATION_AND_USING(class,    PxParticleSystem);
00047 FORWARD_DECLARATION_AND_USING(class,    PxPhysics);
00048 FORWARD_DECLARATION_AND_USING(struct,   PxQueryFilterData);
00049 FORWARD_DECLARATION_AND_USING(struct,   PxQueryFlag);
00050 FORWARD_DECLARATION_AND_USING(struct,   PxQueryHit);
00051 FORWARD_DECLARATION_AND_USING(struct,   PxQueryHitType);
00052 FORWARD_DECLARATION_AND_USING(class,    PxRenderBuffer);
00053 FORWARD_DECLARATION_AND_USING(class,    PxRigidActor);
00054 FORWARD_DECLARATION_AND_USING(class,    PxRigidBody);
00055 FORWARD_DECLARATION_AND_USING(struct,   PxRigidBodyFlag);
00056 FORWARD_DECLARATION_AND_USING(class,    PxRigidDynamic);
00057 FORWARD_DECLARATION_AND_USING(class,    PxSimulationEventCallback);
00058 FORWARD_DECLARATION_AND_USING(class,    PxContactModifyCallback);
00059 FORWARD_DECLARATION_AND_USING(class,    PxScene);
00060 FORWARD_DECLARATION_AND_USING(class,    PxShape);
00061 FORWARD_DECLARATION_AND_USING(struct,   PxShapeFlag);
00062 FORWARD_DECLARATION_AND_USING(class,    PxSphereGeometry);
00063 FORWARD_DECLARATION_AND_USING(class,    PxTriangleMesh);
00064 FORWARD_DECLARATION_AND_USING(class,    PxTriangleMeshGeometry);
00065 
00066 namespace physx
00067 {
00068     namespace shdfnd {}
00069     using namespace shdfnd;
00070 
00071     namespace general_PxIOStream2
00072     {
00073         class PxFileBuf;
00074     }
00075 }
00076 
00077 namespace nvidia
00078 {
00079     namespace apex {}
00080     using namespace apex;
00081 
00082     using namespace physx;
00083     using namespace physx::shdfnd;
00084     using namespace physx::general_PxIOStream2;
00085 };
00086 
00087 
00088 
00089 #endif // APEX_USING_NAMESPACE_H

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.