OpenIndy-Core  0.2.0.43
exchangedefinedformat.h
Go to the documentation of this file.
1 #ifndef EXCHANGEDEFINEDFORMAT_H
2 #define EXCHANGEDEFINEDFORMAT_H
3 
4 #include "exchangeinterface.h"
5 
6 namespace oi{
7 
13 {
14  Q_OBJECT
15 
16 public:
17  explicit ExchangeDefinedFormat(QObject *parent = 0);
18 
19  virtual ~ExchangeDefinedFormat();
20 
21  //#########################################
22  //methods to get or set further information
23  //#########################################
24 
25  const QStringList &getSupportedFileExtensions() const;
26 
27  const QList<ElementTypes> &getUsedElements() const;
28  void setUsedElements(const QList<ElementTypes> &usedElementTypes);
29 
30 protected:
31 
32  //###########################
33  //input and output parameters
34  //###########################
35 
36  QList<ElementTypes> usedElementTypes; //types of elements that shall be im- or exported
37 
39 
40 };
41 
42 }
43 
44 #ifndef STR
45 #define STR(x) #x
46 #endif
47 #ifndef STR2
48 #define STR2(x) STR(x)
49 #endif
50 
51 #ifndef CONCAT
52 #define CONCAT(a, b) a ## b
53 #endif
54 #ifndef CONCAT2
55 #define CONCAT2(a, b) CONCAT(a, b)
56 #endif
57 
58 #define EXCHANGE_DEFINEDFORMAT_PREFIX de.openIndy.plugin.exchange.exchangeDefinedFormat.v
59 #define ExchangeDefinedFormat_iidd STR2(CONCAT2(EXCHANGE_DEFINEDFORMAT_PREFIX, PLUGIN_INTERFACE_VERSION))
60 
61 #endif // EXCHANGEDEFINEDFORMAT_H
QStringList supportedFileExtensions
Definition: exchangedefinedformat.h:38
The OiExchangeDefinedFormat class Interface that shall be used for files with a special standardized ...
Definition: exchangedefinedformat.h:12
Definition: coordinatesystem.h:15
The OiExchangeInterface class Base class for implementing import/export plugins.
Definition: exchangeinterface.h:19
QList< ElementTypes > usedElementTypes
Definition: exchangedefinedformat.h:36
#define OI_CORE_EXPORT
Definition: types.h:11