Workspace 7.0.2
Namespaces | Macros | Functions
meshprotobuftypesplugin.cpp File Reference
#include "meshprotobuftypesplugin.h"
#include <type_traits>
#include "Workspace/Application/builtinplugin.h"
#include "Workspace/Application/pluginmanager.h"
#include "Workspace/DataExecution/DataObjects/assignmentadaptor.h"
#include "Workspace/DataExecution/DataObjects/derivedtobaseadaptor.h"
#include "Workspace/DataExecution/DataObjects/enumtointadaptor.h"
#include "Workspace/DataExecution/Operations/operationfactorytraits.h"
#include "Mesh/Protobuf/elementtype.pb.h"
#include "Mesh/Protobuf/mesh.pb.h"
#include "Mesh/Protobuf/meshmodelinterface.pb.h"
#include "Protobuf/Protobuf/objectadaptor.h"
#include "Protobuf/protobufplugin.h"
#include "Mesh/Protobuf/meshadaptor.h"
#include "Mesh/Geometry/vector3d.h"
#include "Mesh/Geometry/transformmatrix.h"
#include "Mesh/meshplugin.h"
Include dependency graph for meshprotobuftypesplugin.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Mesh
 Mesh model data structures.
 

Macros

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

Functions

CSIRO_IMPORTSPEC const char * builtAgainstWorkspace ()
 
CSIRO_IMPORTSPEC 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_IMPORTSPEC const char * builtAgainstWorkspace ( )
Returns
The version string for the Workspace build we've been built against

◆ getWorkspacePlugin()