Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
Public Member Functions | List of all members
Ilwis::ConventionalCoordinateSystem Class Reference
Inheritance diagram for Ilwis::ConventionalCoordinateSystem:
Ilwis::CoordinateSystem Ilwis::IlwisObject Ilwis::Identity

Public Member Functions

 ConventionalCoordinateSystem (const Resource &resource)
 
Coordinate coord2coord (const ICoordinateSystem &sourceCs, const Coordinate &crdSource) const
 
LatLon coord2latlon (const Coordinate &crdSource) const
 
Coordinate latlon2coord (const LatLon &ll) const
 
const std::unique_ptr
< Ilwis::GeodeticDatum > & 
datum () const
 
void setDatum (Ilwis::GeodeticDatum *datum)
 
IEllipsoid ellipsoid () const
 
void setEllipsoid (const IEllipsoid &ell)
 
void setProjection (const IProjection &proj)
 
IProjection projection () const
 
virtual bool isLatLon () const
 
bool prepare (const QString &parms)
 prepare More...
 
bool prepare ()
 
IlwisTypes ilwisType () const
 
bool isValid () const
 isValid Tests the validity of an ilwisobject. More...
 
bool isEqual (const Ilwis::IlwisObject *obj) const
 isEqual compares the properties of ilwisobjects to test for equality. More...
 
- Public Member Functions inherited from Ilwis::CoordinateSystem
 CoordinateSystem (const Ilwis::Resource &resource)
 
virtual Ilwis::Envelope convertEnvelope (const ICoordinateSystem &sourceCs, const Envelope &envelope) const
 
virtual bool canConvertToLatLon () const
 
virtual bool canConvertToCoordinate () const
 
virtual Coordinate inverseCoordinateConversion (const CoordinateSystem &cs, const Coordinate &crd) const
 
Ilwis::Envelope envelope () const
 
void envelope (const Envelope &env)
 
- Public Member Functions inherited from Ilwis::IlwisObject
 IlwisObject ()
 
 IlwisObject (const Resource &source)
 
void setName (const QString &nm)
 
void setCode (const QString &cd)
 
QDateTime modifiedTime () const
 returns the moment when the object was last modified More...
 
void setModifiedTime (const Time &time)
 sets the last modified time of the object More...
 
Time createTime () const
 
void setCreateTime (const Time &time)
 
virtual QString toString ()
 translates the defintion of an object to a string representation More...
 
virtual void setConnector (ConnectorInterface *connector, int mode=cmINPUT|cmOUTPUT)
 connects an ilwisobject to an input or output source More...
 
virtual bool isReadOnly () const
 isReadOnly tells if the source/target of the ilwisobject maybe modifiable. More...
 
virtual void setReadOnly (bool yesno)
 
virtual bool hasChanged () const
 
virtual void changed (bool yesno)
 
bool fromInternal (const QSqlRecord &rec)
 
bool isAnonymous () const
 
virtual Resource source (int mode=cmINPUT) const
 source the location of the source that represents the physical read origin of this object More...
 
virtual bool store (int mode=smMETADATA|smBINARYDATA)
 target the location of the source that represents the physical write target of this object More...
 
void connectTo (const QUrl &url, const QString &format, const QString &fnamespace, ConnectorMode cmode)
 
virtual IlwisObjectclone ()
 
virtual bool merge (const IlwisObject *obj, int options=0)
 
bool isSystemObject () const
 
bool isInternalObject () const
 
- Public Member Functions inherited from Ilwis::Identity
QString code () const
 code returns the code of the identity. If no code is attached it will return sUNDEF ("?"). More...
 
quint64 id () const
 id returns a unsigned 64-bit number unique for the objects using the identity More...
 
virtual QString name () const
 name returns the name of an object. All objects have names though names need not to be unique More...
 
void setName (const QString &n)
 setName sets the name of an object. All objects have names though names need not to be unique More...
 
virtual QString description () const
 
void setDescription (const QString &desc)
 

Additional Inherited Members

- Public Types inherited from Ilwis::IlwisObject
enum  ConnectorMode { cmINPUT =1, cmOUTPUT =2, cmEXTENDED =4 }
 The ConnectorMode enum Describes the state of the instance of the connector. More...
 
enum  StoreMode { smMETADATA =1, smBINARYDATA =2 }
 
- Static Public Member Functions inherited from Ilwis::IlwisObject
template<typename T >
static T create (const QString &def)
 
template<typename T >
static T create (quint64 id)
 
static IlwisObjectcreate (const Resource &source, const PrepareOptions &options=PrepareOptions())
 
static IlwisTypes findType (const QString &source)
 findType More...
 
static QString type2Name (IlwisTypes t)
 
static IlwisTypes name2Type (const QString &name)
 
static void addTypeFunction (IlwisTypeFunction)
 addTypeFunction More...
 
static IlwisTypes name2ExtendedType (const QString &dname)
 
- Protected Member Functions inherited from Ilwis::IlwisObject
QScopedPointer
< ConnectorInterface > & 
connector (int mode=cmINPUT|cmOUTPUT)
 
const QScopedPointer
< ConnectorInterface > & 
connector (int mode=cmINPUT|cmOUTPUT) const
 
bool setValid (bool yesno)
 
void copyTo (IlwisObject *obj)
 
- Protected Attributes inherited from Ilwis::IlwisObject
std::mutex _mutex
 
std::mutex _loadforstore
 

Member Function Documentation

IlwisTypes ConventionalCoordinateSystem::ilwisType ( ) const
virtual

Gives the IlwisTypes of this object

See Also
IlwisObject
Returns
the IlwisTypes of this IlwisObject

Implements Ilwis::IlwisObject.

bool ConventionalCoordinateSystem::isEqual ( const Ilwis::IlwisObject obj) const
virtual

isEqual compares the properties of ilwisobjects to test for equality.

*It also will test the id's in which case the equality is guarenteed. The method is virtual so it will be re-implemented at each derivative.

Parameters
objan ilwisobject to be compared with
Returns
true when the objects are equal

Reimplemented from Ilwis::IlwisObject.

bool ConventionalCoordinateSystem::isValid ( ) const
virtual

isValid Tests the validity of an ilwisobject.

*Ilwisobjects are valid when all their properties are valid. Usualy this is determined during the 'loadXXX' methods that fill the properties of an object

Returns
valid or not

Reimplemented from Ilwis::IlwisObject.

bool ConventionalCoordinateSystem::prepare ( const QString &  def)
virtual

prepare

??

Parameters
def
Returns

Reimplemented from Ilwis::IlwisObject.

bool ConventionalCoordinateSystem::prepare ( )
virtual

tries to Prepares this ilwisobject for use

Returns
true when the prepare succeeded

Reimplemented from Ilwis::IlwisObject.


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