MLABMLBaseField Class Reference
[Fields]

A field containing a ML Base object pointer. More...

Inherits MLABField.

List of all members.

Public Slots

virtual void setStringValue (const QString &)
virtual QString stringValue ()
virtual void touch ()
Type checking
QStringList allowedTypesByString ()
bool matchesTypes (MLABMLBaseField *field)
Scripting access
QStringList getMLBaseAncestors ()
QString getMLBaseType ()
bool isMLBaseDerivedFrom (const QString &parent)
QObject * object ()
QString persistentString ()
void setPersistentString (const QString &string)
void setValue (ML_UTILS_NAMESPACE::Base *value)
ML_UTILS_NAMESPACE::Base * value () const


Detailed Description

A field containing a ML Base object pointer.

Member Function Documentation

QStringList MLABMLBaseField::allowedTypesByString (  )  [slot]

Get list of allowed types as strings.

QStringList MLABMLBaseField::getMLBaseAncestors (  )  [slot]

returns a list of ancestors of the current base object, starting with the parent of the object

QString MLABMLBaseField::getMLBaseType (  )  [slot]

returns the type of the internal MLBase object, returns empty string when there is no object set

bool MLABMLBaseField::isMLBaseDerivedFrom ( const QString &  parent  )  [slot]

returns if the current ml base object is derived from the given parent

bool MLABMLBaseField::matchesTypes ( MLABMLBaseField field  )  [slot]

check if the allowed types of this field matches (intersects) the types of the given field

QObject* MLABMLBaseField::object (  )  [slot]

get access to a scriptable base object (NOTE: this is only available if there is a CPPWrapperObject registered for the type of the contained base object)

QString MLABMLBaseField::persistentString (  )  [slot]

get the persistent string of the base object

void MLABMLBaseField::setPersistentString ( const QString &  string  )  [slot]

set the persitent string of the base object and touch it

virtual void MLABMLBaseField::setStringValue ( const QString &   )  [inline, virtual, slot]

set string value

Reimplemented from MLABField.

void MLABMLBaseField::setValue ( ML_UTILS_NAMESPACE::Base *  value  )  [slot]

set the pointer to the mlBase object

virtual QString MLABMLBaseField::stringValue (  )  [inline, virtual, slot]

get string value

Reimplemented from MLABField.

virtual void MLABMLBaseField::touch (  )  [virtual, slot]

force a notify to all observers without changing value of field

Reimplemented from MLABField.

ML_UTILS_NAMESPACE::Base* MLABMLBaseField::value (  )  const [slot]

get the pointer to the mlBase object


Generated on Sat Sep 3 18:38:02 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8