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

Public Member Functions

 CatalogItem (const QUrl &url)
 
 CatalogItem (const QSqlRecord &rec)
 
QString operator[] (const QString &property) const
 
QVariant & operator[] (const QString &property)
 
bool hasProperty (const QString &property) const
 
QUrl url () const
 
QUrl container () const
 
void setContainer (const QUrl &url)
 
quint64 size () const
 
QString dimensions () const
 
IlwisTypes ilwisType () const
 
IlwisTypes extendedType () const
 
QString type () const
 
void setIlwisType (IlwisTypes tp)
 
void setExtendedType (IlwisTypes tp)
 
void prepare ()
 
bool store (QSqlQuery &queryItem, QSqlQuery &queryProperties) const
 
bool isValid () 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)
 

Protected Attributes

QHash< QString, QVariant > _properties
 
QUrl _resource
 
QUrl _container
 
quint64 _size
 
QString _dimensions
 
IlwisTypes _ilwtype
 
IlwisTypes _extendedType
 

Additional Inherited Members

- 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)
 

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