OpenIndy-Core  0.2.0.43
oi::ExchangeInterface Class Reference

The OiExchangeInterface class Base class for implementing import/export plugins. More...

#include <exchangeinterface.h>

Inheritance diagram for oi::ExchangeInterface:
oi::ExchangeDefinedFormat oi::ExchangeSimpleAscii

Public Slots

virtual void importOiData ()
 ExchangeInterface::importOiData. More...
 
virtual void exportOiData ()
 ExchangeInterface::exportOiData. More...
 

Signals

void sendMessage (const QString &msg, const MessageTypes &msgType, const MessageDestinations &msgDest=eConsoleMessage)
 
void updateProgress (const int &progress, const QString &msg)
 
void importFinished (const bool &success)
 
void exportFinished (const bool &success)
 

Public Member Functions

 ExchangeInterface (QObject *parent=0)
 ExchangeInterface::ExchangeInterface. More...
 
virtual ~ExchangeInterface ()
 ExchangeInterface::~ExchangeInterface. More...
 
virtual void init ()
 ExchangeInterface::init. More...
 
const PluginMetaDatagetMetaData () const
 ExchangeInterface::getMetaData. More...
 
const QList< GeometryTypes > & getSupportedGeometries ()
 ExchangeInterface::getSupportedGeometries. More...
 
const QPointer< QIODevice > & getDevice () const
 ExchangeInterface::getDevice. More...
 
void setDevice (const QPointer< QIODevice > &device)
 ExchangeInterface::setDevice. More...
 
const QList< QPointer< FeatureWrapper > > & getFeatures () const
 ExchangeInterface::getFeatures. More...
 
void setFeatures (const QList< QPointer< FeatureWrapper > > &features)
 ExchangeInterface::setFeatures. More...
 
const bool & getExportObservations () const
 ExchangeInterface::getExportObservations. More...
 
void setExportObservations (const bool &exportObservations)
 ExchangeInterface::setExportObservations. More...
 
const QString & getGroupName () const
 ExchangeInterface::getGroupName. More...
 
void setGroupName (const QString &groupName)
 ExchangeInterface::setGroupName. More...
 
const QPointer< CoordinateSystem > & getNominalSystem () const
 ExchangeInterface::getNominalSystem. More...
 
void setNominalSystem (const QPointer< CoordinateSystem > &nominalSystem)
 ExchangeInterface::setNominalSystem. More...
 
const QMap< DimensionType, UnitType > & getUnits () const
 ExchangeInterface::getUnits. More...
 
void setUnit (const DimensionType &dimension, const UnitType &unit)
 ExchangeInterface::setUnit. More...
 

Protected Attributes

QMap< DimensionType, UnitTypeunits
 
bool exportObservations
 
QString groupName
 
QPointer< CoordinateSystemnominalSystem
 
QPointer< QIODevice > device
 
QList< QPointer< FeatureWrapper > > features
 
PluginMetaData metaData
 
QList< GeometryTypessupportedGeometries
 

Detailed Description

The OiExchangeInterface class Base class for implementing import/export plugins.

Constructor & Destructor Documentation

ExchangeInterface::ExchangeInterface ( QObject *  parent = 0)
explicit
ExchangeInterface::~ExchangeInterface ( )
virtual

Member Function Documentation

void oi::ExchangeInterface::exportFinished ( const bool &  success)
signal
void ExchangeInterface::exportOiData ( )
virtualslot
const QPointer< QIODevice > & ExchangeInterface::getDevice ( ) const
const bool & ExchangeInterface::getExportObservations ( ) const
const QList< QPointer< FeatureWrapper > > & ExchangeInterface::getFeatures ( ) const
const QString & ExchangeInterface::getGroupName ( ) const
const PluginMetaData & ExchangeInterface::getMetaData ( ) const
const QPointer< CoordinateSystem > & ExchangeInterface::getNominalSystem ( ) const
const QList< GeometryTypes > & ExchangeInterface::getSupportedGeometries ( )
const QMap< DimensionType, UnitType > & ExchangeInterface::getUnits ( ) const
void oi::ExchangeInterface::importFinished ( const bool &  success)
signal
void ExchangeInterface::importOiData ( )
virtualslot
void ExchangeInterface::init ( )
virtual
void oi::ExchangeInterface::sendMessage ( const QString &  msg,
const MessageTypes msgType,
const MessageDestinations msgDest = eConsoleMessage 
)
signal
void ExchangeInterface::setDevice ( const QPointer< QIODevice > &  device)

ExchangeInterface::setDevice.

Parameters
device
void ExchangeInterface::setExportObservations ( const bool &  exportObservations)

ExchangeInterface::setExportObservations.

Parameters
exportObservations
void ExchangeInterface::setFeatures ( const QList< QPointer< FeatureWrapper > > &  features)

ExchangeInterface::setFeatures.

Parameters
features
void ExchangeInterface::setGroupName ( const QString &  groupName)

ExchangeInterface::setGroupName.

Parameters
groupName
void ExchangeInterface::setNominalSystem ( const QPointer< CoordinateSystem > &  nominalSystem)

ExchangeInterface::setNominalSystem.

Parameters
nominalSystem
void ExchangeInterface::setUnit ( const DimensionType dimension,
const UnitType unit 
)

ExchangeInterface::setUnit.

Parameters
dimension
unit
void oi::ExchangeInterface::updateProgress ( const int &  progress,
const QString &  msg 
)
signal

Member Data Documentation

QPointer<QIODevice> oi::ExchangeInterface::device
protected
bool oi::ExchangeInterface::exportObservations
protected
QList<QPointer<FeatureWrapper> > oi::ExchangeInterface::features
protected
QString oi::ExchangeInterface::groupName
protected
PluginMetaData oi::ExchangeInterface::metaData
protected
QPointer<CoordinateSystem> oi::ExchangeInterface::nominalSystem
protected
QList<GeometryTypes> oi::ExchangeInterface::supportedGeometries
protected
QMap<DimensionType, UnitType> oi::ExchangeInterface::units
protected

The documentation for this class was generated from the following files: