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::OperationResource Class Reference
Inheritance diagram for Ilwis::OperationResource:
Ilwis::Resource Ilwis::Identity

Public Member Functions

 OperationResource (const QUrl &url, const QString &nmspace="ilwis")
 
void setLongName (const QString &longname)
 
void setSyntax (const QString &syntax)
 
void setInParameterCount (const std::vector< quint32 > &counts)
 
void setOutParameterCount (const std::vector< quint32 > &counts)
 
void addInParameter (quint32 order, IlwisTypes type, const QString &name=sUNDEF, const QString &description=sUNDEF)
 
void addOutParameter (quint32 order, IlwisTypes type, const QString &name=sUNDEF, const QString &description=sUNDEF)
 
void setKeywords (const QString &words)
 
- Public Member Functions inherited from Ilwis::Resource
 Resource ()
 
 Resource (const Resource &resource)
 
 Resource (const QUrl &url, quint64 tp, bool isNew=true)
 
 Resource (const QString &name, quint64 tp, bool isNew=true)
 
 Resource (quint64 tp, const QUrl &url=INTERNAL_OBJECT)
 
 Resource (const QSqlRecord &rec)
 
void setName (const QString &nm, bool adaptUrl=true)
 
QVariant operator[] (const QString &property) const
 
bool hasProperty (const QString &property) const
 
void addProperty (const QString &key, const QVariant &value)
 
QUrl url () const
 
void setUrl (const QUrl &url)
 
QUrlQuery urlQuery () const
 
bool hasUrlQuery () const
 
QString toLocalFile (bool relative=false) const
 
QUrl container (int level=0) const
 
void addContainer (const QUrl &url, int level=0)
 
quint64 size () const
 
QString dimensions () const
 
IlwisTypes ilwisType () const
 
IlwisTypes extendedType () const
 
void setIlwisType (IlwisTypes tp)
 
void setExtendedType (IlwisTypes tp)
 
void prepare ()
 
bool store (QSqlQuery &queryItem, QSqlQuery &queryProperties) const
 
bool isValid () const
 
bool operator() (const Ilwis::Resource &resource)
 
void setId (quint64 newid)
 
Resource copy (quint64 id) const
 
bool isRoot () const
 
- Public Member Functions inherited from Ilwis::Identity
virtual void setCode (const QString &code)
 sets the code for this instance More...
 
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

- Static Public Member Functions inherited from Ilwis::Resource
static QString toLocalFile (const QUrl &url, bool relative=false, const QString &ext=sUNDEF)
 
static bool isRoot (const QString &txt)
 
- Protected Member Functions inherited from Ilwis::Resource
void stringAsUrl (const QString &txt, IlwisTypes tp, bool isNew)
 
void checkUrl (IlwisTypes tp)
 
- Protected Attributes inherited from Ilwis::Resource
QHash< QString, QVariant > _properties
 
QUrl _resource
 
QUrlQuery _urlQuery
 
std::vector< QUrl > _container
 
quint64 _size
 
QString _dimensions
 
IlwisTypes _ilwtype
 
IlwisTypes _extendedType
 

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