ReadFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rdf::BaseElement Class Reference

#include <BaseImageElement.h>

Inheritance diagram for rdf::BaseElement:

Public Member Functions

 BaseElement (const QString &id=QString())
 This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More...
 
QString id () const
 Returns the elment's id. More...
 

Protected Attributes

QString mId
 

Friends

DllCoreExport friend bool operator== (const BaseElement &l, const BaseElement &r)
 Returns true if l and r have the same id. More...
 
DllCoreExport friend bool operator!= (const BaseElement &l, const BaseElement &r)
 

Constructor & Destructor Documentation

rdf::BaseElement::BaseElement ( const QString &  id = QString())

This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID.

Parameters
idThe identifier, if empty a new ID is generated.

Member Function Documentation

QString rdf::BaseElement::id ( ) const

Returns the elment's id.

Returns

Friends And Related Function Documentation

DllCoreExport friend bool operator!= ( const BaseElement l,
const BaseElement r 
)
friend
DllCoreExport friend bool operator== ( const BaseElement l,
const BaseElement r 
)
friend

Returns true if l and r have the same id.

Parameters
lAn element to compare.
rAn element to compare.
Returns

Member Data Documentation

QString rdf::BaseElement::mId
protected

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