Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoCADFileFormat.h
Go to the documentation of this file.
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (Sep 2014)
22**=======================================================================*/
23
24
25#ifndef _SO_CAD_FILE_FORMAT_H_
26#define _SO_CAD_FILE_FORMAT_H_
27
28#include <Inventor/SbBasic.h>
29
30// InventorCAD_EXPORTS is defined only when building fei_inventor_io_cad library
31#ifdef InventorCAD_EXPORTS
32# define VC_DLL_EXPORT
33#else
34# define VC_DLL_IMPORT
35#endif
36
38
39#ifdef _WIN32
40# ifndef InventorCAD_EXPORTS
41# ifndef OIV_DISABLE_AUTOLINK
42# pragma comment(lib,__INVENTORCADLIB)
43# endif
44# endif
45#endif
46
47#include <Inventor/SoModule.h>
48SO_MODULE_HEADER(SoCADFileFormat, __INVENTORCADDLL)
49
50
67
68 public:
69
76 static void init();
77
86 static void finish();
87
91 static const char *getProductName();
92
93#if 1 SoDEPRECATED
98 static const char *getVersion();
99#endif
105 static bool isInitialized()
106 { return (s_initRefCount>0); }
107
108 private:
109
110 // reference counter on the lib.
111 static int s_initRefCount;
112
113};
114/*---------------------------------------------------------------------------*/
115
116// Declare plugin entry points for dynamic plugin loading
117extern "C" void initPlugin();
118extern "C" void exitPlugin();
119
120#endif // _SO_CAD_FILE_FORMAT_H_
121
void initPlugin()
void exitPlugin()
#define __INVENTORCADDLL
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Module class to ...
static void init()
Initializes all classes of CADFileFormat modules by registering them in the database.
static SoDEPRECATED const char * getVersion()
Returns a character string identifying the version of the extension.
static bool isInitialized()
Return true if this plugin has been initialized (init() method called at least once)
static void finish()
Frees Open Inventor's internal static memory allocations.
static const char * getProductName()
Returns a character string identifying the name of the extension.