SPATREF::COORDOP_SINGLE Class Reference

Coordinate Operation service with attach/detach interface for use with operation implementations not created automatically by spatial reference system. More...

#include <mi32/coordop.h>

Inheritance diagram for SPATREF::COORDOP_SINGLE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 COORDOP_SINGLE (COORDOP_IMPL *&pImpl)
 COORDOP_SINGLE ()
void Attach (COORDOP_IMPL *&pImpl)
ERRVALUE Create (const COORDOPDEF &CoordOpDef, const COORDREFSYS &SourceCRS, const COORDREFSYS &TargetCRS, bool DisableRangeCheck=false)
COORDOP_IMPLDetach ()
void ReleaseAttached ()

Detailed Description

Coordinate Operation service with attach/detach interface for use with operation implementations not created automatically by spatial reference system.


Constructor & Destructor Documentation

SPATREF::COORDOP_SINGLE::COORDOP_SINGLE (  ) 

Default constructor.

Operation will reference 'null' implementation until Attach() or Create().

SPATREF::COORDOP_SINGLE::COORDOP_SINGLE ( COORDOP_IMPL *&  pImpl  ) 

Construct and attach implementation instance.

After attachment, COORDOP instance is responsible for deletion and the passed-in pointer will be set to NULL. Used when implementation instance is manually created.

Parameters:
pImpl Operation implementation to attach

Member Function Documentation

void SPATREF::COORDOP_SINGLE::Attach ( COORDOP_IMPL *&  pImpl  ) 

Attach implemention to operation container.

After attachment, COORDOP instance is responsible for deletion and the passed-in pointer will be set to NULL. Used when implementation instance is manually created.

Parameters:
pImpl Operation implementation to attach
ERRVALUE SPATREF::COORDOP_SINGLE::Create ( const COORDOPDEF CoordOpDef,
const COORDREFSYS SourceCRS,
const COORDREFSYS TargetCRS,
bool  DisableRangeCheck = false 
)

Create operation using operation definition.

Not for use with concatenated coordinate operation.

Parameters:
CoordOpDef Coordinate operation definition
DisableRangeCheck Disable range check where supported
COORDOP_IMPL* SPATREF::COORDOP_SINGLE::Detach (  ) 

Detach implementation from operation container.

Returns:
Pointer to implementation instance, caller responsible for deletion. Operation will reference 'null' implementation after detachment.
void SPATREF::COORDOP_SINGLE::ReleaseAttached (  ) 

Release attached implementation if any.


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

Generated on Sun Oct 7 21:40:27 2012 for TNTsdk 2012 by  doxygen 1.6.1