BPS C++ API  2.24.4
bpstypes.h
1 #ifndef BPSTYPES_H
2 #define BPSTYPES_H
3 
4 #include "bpscore_global.h"
5 #include "bpsvariant.h"
6 #include <QVariant>
7 #include <QString>
8 
29 public:
30 
34  static int metaType();
35 
40 
45  operator QVariant() const;
46 };
47 
48 Q_DECLARE_METATYPE(BpsTypeLocaltimestamp);
49 
71 public:
72 
76  static int metaType();
77 
82 
87  BpsTypeLiteral(const QString& aString);
88 
93  BpsTypeLiteral(const QByteArray& aByteArray);
94 
100 
104  QString toString() const;
105 
110  operator QVariant() const;
112 private:
113  QString mString;
115 };
116 
117 Q_DECLARE_METATYPE(BpsTypeLiteral);
118 
119 #endif // BPSTYPES_H
Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
Public include file for BpsVariant class.
Dummy type representing a literal value for SQL operations.
Definition: bpstypes.h:70
BpsTypeLiteral(const QString &aString)
Construct from QString.
QString toString() const
static int metaType()
BpsTypeLiteral(const BpsTypeLiteral &aOther)
The copy constructor.
BpsTypeLiteral()
The default constructor.
BpsTypeLiteral(const QByteArray &aByteArray)
Construct from QByteArray.
Dummy type representing the pseudo-value "localcaltimestamp" for SQL operations.
Definition: bpstypes.h:28
static int metaType()
BpsTypeLocaltimestamp()
The default constructor.