Open Reality Reference Guide
Loading...
Searching...
No Matches
fbdefines.h
Go to the documentation of this file.
1
#ifndef __FBDEFINES_H__
2
#define __FBDEFINES_H__
3
/**************************************************************************
4
Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5
All Rights Reserved.
6
7
The coded instructions, statements, computer programs, and/or related
8
material (collectively the "Data") in these files contain unpublished
9
information proprietary to Autodesk, Inc. and/or its licensors, which is
10
protected by Canada and United States of America federal copyright law
11
and by international treaties.
12
13
The Data may not be disclosed or distributed to third parties, in whole
14
or in part, without the prior written consent of Autodesk, Inc.
15
("Autodesk").
16
17
THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18
ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19
WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20
ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21
OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22
PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23
WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24
FREE.
25
26
IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27
OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28
EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29
DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30
OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31
DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32
LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33
LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34
DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35
BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36
37
**************************************************************************/
38
44
#include <kaydaradef.h>
45
46
#ifndef FBSDK_DLL
50
#define FBSDK_DLL K_DLLIMPORT
51
#endif
52
53
// Global includes
54
#include <
fbsdk/fbtypes.h
>
55
56
#ifdef FBSDKUseNamespace
57
namespace
FBSDKNamespace {
58
#endif
59
64
#define FBClassInit
65
71
#define FBClassImplementation( Name ) \
72
Name::~Name() { } \
73
const char* Name::ClassName(){ return #Name; } \
74
int Name::GetTypeId() { return TypeInfo; } \
75
bool Name::Is( int pTypeId ){ return (pTypeId==TypeInfo) ? true : ParentClass::Is( pTypeId ); } \
76
void Name::FBDelete() { ParentClass::FBDelete(); } \
77
int Name::TypeInfo=FBPlug::mGlobalTypeInfo++;
78
85
#define FBClassDeclare( Name,Parent ) \
86
public: \
87
typedef Parent ParentClass; \
88
virtual const char *ClassName() override ;\
89
static int TypeInfo; \
90
virtual bool Is( int pTypeId ) override ;\
91
virtual void FBDelete() override ;\
92
virtual int GetTypeId() override ;\
93
virtual ~Name(); \
94
\
95
private:
96
97
#ifdef FBSDKUseNamespace
98
}
99
#endif
100
101
#endif
fbtypes.h
Types & macros.
Components
amKernel
kkernel
fbsdk
include
fbsdk
fbdefines.h
Generated by
1.9.7