Workspace 7.0.2
Namespaces | Macros | Functions
protobufplugin.cpp File Reference
#include <QString>
#include <QStringList>
#include "Workspace/DataExecution/DataObjects/datafactorytraits.h"
#include "Workspace/DataExecution/DataObjects/json.h"
#include "Workspace/DataExecution/Execution/schedulerprovidermanager.h"
#include "Workspace/DataExecution/Operations/operationfactorytraits.h"
#include "protobufplugin.h"
#include "Protobuf/objectadaptor.h"
Include dependency graph for protobufplugin.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Protobuf
 

Macros

#define AddProtobufTypeAdaptors(Namespace, Type)
 
#define STRINGIFY(x)   #x
 
#define TOSTRING(x)   STRINGIFY(x)
 

Functions

CSIRO_EXPORTSPEC const char * builtAgainstWorkspace ()
 
CSIRO_EXPORTSPEC CSIRO::Application::WorkspacePlugingetWorkspacePlugin ()
 

Macro Definition Documentation

◆ AddProtobufTypeAdaptors

#define AddProtobufTypeAdaptors (   Namespace,
  Type 
)
Value:
addFactory(DataFactoryTraits<Namespace::Protobuf::Type>::getInstance()); \
addFactory(SimpleAdaptorFactory<Namespace::Type, Namespace::Protobuf::Type>::getInstance()); \
addFactory(SimpleAdaptorFactory<Namespace::Protobuf::Type, Namespace::Type>::getInstance()); \
addFactory(SimpleAdaptorFactory<QByteArray, Namespace::Protobuf::Type>::getInstance()); \
addFactory(SimpleAdaptorFactory<Namespace::Protobuf::Type, QByteArray>::getInstance()); \
addFactory(SimpleAdaptorFactory<Namespace::Protobuf::Type, QString>::getInstance())

◆ STRINGIFY

#define STRINGIFY (   x)    #x

◆ TOSTRING

#define TOSTRING (   x)    STRINGIFY(x)

Function Documentation

◆ builtAgainstWorkspace()

CSIRO_EXPORTSPEC const char * builtAgainstWorkspace ( )
Returns
The version string for the Workspace build we've been built against

◆ getWorkspacePlugin()