|
Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
Public Member Functions | |
| TextDomain () | |
| TextDomain (const Resource &resource) | |
| virtual IlwisTypes | valueType () const |
| virtual QVariant | impliedValue (const QVariant &v) const |
| virtual Containement | contains (const QVariant &) const |
| IlwisTypes | ilwisType () const |
| void | setParent (const IDomain &) |
| bool | isCompatibleWith (const IDomain &dom) 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 |
| 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) |
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 Member Functions inherited from Ilwis::Domain | |
| void | addChildDomain (quint64 idchild) |
| bool | removeChildDomain (quint64 idchild) |
Protected Attributes inherited from Ilwis::Domain | |
| std::map< quint64, quint32 > | _childDomains |
| TextDomain::TextDomain | ( | ) |
Constructs an empty TextDomain
| TextDomain::TextDomain | ( | const Resource & | resource | ) |
The constructor for a RasterCoverage with a a Resource that is registered in the mastercatalog.
This resource must have a name and an Id.
Code and description are optional.
| resource | The Resource |
|
virtual |
Checks if this domain contains a certain value.
Every value can be translated to a String, so the containment is always cSELF
Implements Ilwis::Domain.
|
virtual |
Gives the IlwisTypes of this object
Implements Ilwis::IlwisObject.
|
virtual |
Transforms the given QVariant into a Qstring.
basically the same as QVariant.toString()
| v | The variant of which you want the value |
Reimplemented from Ilwis::Domain.
|
virtual |
Checks if the given domain is compatible with this ItemDomain
Will not be compatible if the given domain is not viable or not an ItemDomain
| dom | The domain to be checked |
Implements Ilwis::Domain.
|
inlinevirtual |
sets a new range on this domain, for requirements on the parameter and ensures on the function see the relevant subclass
| rng | the new range |
Implements Ilwis::Domain.
|
inlinevirtual |
Sets the given domain as parent of this TextDomain
Not really relevant for a TextDomain, so it is not implemented
Reimplemented from Ilwis::Domain.
1.8.3.1