| 
    Ilwis-Objects
    1.0
    
   GIS and Remote Sensing framework for data access and processing 
   | 
 
#include <coordinatedomain.h>
  
 Public Member Functions | |
| CoordinateDomain () | |
| CoordinateDomain (const Resource &resource) | |
| Constructor for a CoordinateDomain based on a Resource requires a valid name and id. calls the parent constructor, which will check for a parent domain and remove this from its children. after that it will check for: if it is of the itCOVERAGE type both the coordinatesystem and the envelope will be set if it is of the itCOORDSYSTEM type only the coordinatesystem will be set. More...  | |
| void | setRange (Range *vr) | 
| Domain::Containement | contains (const QVariant &value) const | 
| bool | isCompatibleWith (const IDomain &dom) const | 
| QVariant | impliedValue (const QVariant &v) const | 
| IlwisTypes | valueType () const | 
| IlwisTypes | ilwisType () const | 
| ICoordinateSystem | coordinateSystem () const | 
| void | range (Range *) | 
  Public Member Functions inherited from Ilwis::Domain | |
| Domain () | |
| Domain (const Resource &resource) | |
| bool | isStrict () const | 
| void | setStrict (bool yesno) | 
| IDomain | parent () const | 
| virtual void | setParent (const IDomain &dm) | 
| template<typename T = Range> | |
| QSharedPointer< T > | range2range () const | 
  Public Member Functions inherited from Ilwis::IlwisObject | |
| IlwisObject () | |
| IlwisObject (const Resource &source) | |
| virtual bool | prepare () | 
| 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 | isEqual (const Ilwis::IlwisObject *obj) const | 
| isEqual compares the properties of ilwisobjects to test for equality.  More... | |
| virtual bool | isValid () const | 
| isValid Tests the validity of an ilwisobject.  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) | 
| virtual bool | prepare (const QString &def) | 
| prepare  More... | |
| 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 IlwisObject * | clone () | 
| 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) | 
Protected Member Functions | |
| SPRange | getRange () const | 
  Protected Member Functions inherited from Ilwis::Domain | |
| void | addChildDomain (quint64 idchild) | 
| bool | removeChildDomain (quint64 idchild) | 
  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 Member Functions inherited from Ilwis::Identity | |
| Identity (const QString &name, qint64 id=i64UNDEF, const QString &cde=sUNDEF, const QString &descr=sUNDEF) | |
| void | prepare (quint64 base=0) | 
| void | setId (quint64 newid) | 
Additional Inherited Members | |
  Public Types inherited from Ilwis::Domain | |
| enum | Containement { cSELF =1, cPARENT =2, cDECLARED =3, cNONE =0 } | 
  Static Public Member Functions inherited from Ilwis::Domain | |
| static IlwisTypes | ilwType (const QVariant &v) | 
| static IlwisTypes | ilwType (const QString &impliedValue) | 
  Protected Attributes inherited from Ilwis::Domain | |
| std::map< quint64, quint32 > | _childDomains | 
The CoordinateDomain class implements a coordinate based type of domain all coordinates are in x y z unless specified otherwise
| CoordinateDomain::CoordinateDomain | ( | ) | 
Constructor for an empty CoordinateDomain
| CoordinateDomain::CoordinateDomain | ( | const Resource & | resource | ) | 
Constructor for a CoordinateDomain based on a Resource requires a valid name and id.
 calls the parent constructor, which will check for a parent domain and remove this from its children.
 after that it will check for:
 if it is of the itCOVERAGE type both the coordinatesystem and the envelope will be set
 if it is of the itCOORDSYSTEM type only the coordinatesystem will be set. 
| resource | The Resource | 
      
  | 
  virtual | 
Checks if this domain contains a certain coordinate can both be 2D and 3D
 2D -> row col
 3D -> row col height 
| value | The coordinate to be checked | 
Implements Ilwis::Domain.
| ICoordinateSystem CoordinateDomain::coordinateSystem | ( | ) | const | 
Query to the ICoordinateSystem of this domain
 can be null when it is not yet set 
      
  | 
  virtual | 
Gives the IlwisTypes of this object
Implements Ilwis::IlwisObject.
      
  | 
  virtual | 
Query to the value of this coordinate variant to a string
 prints the coordinate in x y z 
| v | The coordinate in Qvariant form | 
Reimplemented from Ilwis::Domain.
      
  | 
  virtual | 
Checks if this domain is compatible with another domain.
 it is not compatible if the other domain is not valid,or when the other is not a CoordinateDomain
 compatibility requires both to have the same coodinate system. 
| dom | The other domain | 
Implements Ilwis::Domain.
      
  | 
  virtual | 
empty function only here to fill the interface
Implements Ilwis::Domain.
| void CoordinateDomain::setRange | ( | Range * | vr | ) | 
Changes the range of this domain
 copies this pointer to the range. 
| vr | the new range | 
 1.8.3.1