Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
Ilwis::NamedIdentifier Class Reference
Inheritance diagram for Ilwis::NamedIdentifier:
Ilwis::DomainItem Ilwis::ThematicItem

Public Member Functions

 NamedIdentifier ()
 
 NamedIdentifier (const QString &name, quint32 rawvalue=iUNDEF)
 
bool isValid () const
 
QString name () const
 
void setName (const QString &n)
 
bool operator== (const NamedIdentifier &item) const
 
IlwisTypes valueType () const
 
DomainItemclone () const
 
- Public Member Functions inherited from Ilwis::DomainItem
 DomainItem (quint32 rawvalue=iUNDEF)
 
virtual void raw (quint32 r)
 
virtual quint32 raw () const
 
template<typename ItemType >
ItemType * toType ()
 

Static Public Member Functions

static
Ilwis::NamedIdentifierRange
createRange ()
 
static IlwisTypes valueTypeS ()
 

Friends

class NamedIdentifierRange
 

Additional Inherited Members

- Protected Attributes inherited from Ilwis::DomainItem
quint32 _raw
 

Constructor & Destructor Documentation

NamedIdentifier::NamedIdentifier ( )

Constructs an empty NamedIdentifier

NamedIdentifier::NamedIdentifier ( const QString &  name,
quint32  rawvalue = iUNDEF 
)

Constructs a NamedIdentifier with a given name

Parameters
namethe name

Member Function Documentation

DomainItem * NamedIdentifier::clone ( ) const
virtual

Creates a new NamedIdentifier with the same raw and name

Returns
a clone of this object

Implements Ilwis::DomainItem.

Reimplemented in Ilwis::ThematicItem.

NamedIdentifierRange * NamedIdentifier::createRange ( )
static

Creates an itemrange according to this object

Returns
a new NamedIdentifierRange
bool NamedIdentifier::isValid ( ) const
virtual

Query to check if this object is valid

Returns
true when valid

Implements Ilwis::DomainItem.

QString NamedIdentifier::name ( ) const
virtual

Query for the name of this NamedIdentifier

Returns
The name of this object

Implements Ilwis::DomainItem.

bool NamedIdentifier::operator== ( const NamedIdentifier item) const

override of operator==

an NamedIdentifier is the equal to another if both have the same name

Parameters
itemthe NamedIdentifier which this one should be compared to
Returns
true when they are equal
void NamedIdentifier::setName ( const QString &  n)

Changes the name of this object into the one specified

Parameters
nthe new name
IlwisTypes NamedIdentifier::valueType ( ) const
virtual

Query to the ilwistype of this object

Returns
itNAMEDITEM

Implements Ilwis::DomainItem.

Reimplemented in Ilwis::ThematicItem.

IlwisTypes NamedIdentifier::valueTypeS ( )
static

Query to the ilwistype of this object

Returns
itNAMEDITEM

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