Version: 9.12.0
SalomeApp_DataObject.cxx File Reference
#include "SalomeApp_DataObject.h"
#include "SalomeApp_Study.h"
#include "SalomeApp_Application.h"
#include <CAM_DataObject.h>
#include <SUIT_Session.h>
#include <SUIT_Application.h>
#include <SUIT_ResourceMgr.h>
#include <SALOME_LifeCycleCORBA.hxx>
#include <Basics_Utils.hxx>
#include <QObject>
#include <QVariant>

Functions

 _PTR (SObject) SalomeApp_DataObject
 Get SALOMEDS object. More...
 

Function Documentation

◆ _PTR()

_PTR ( SObject  )

Get SALOMEDS object.

Returns
SALOMEDS object

Returns the string identifier of the data objects referenced by this one.

Re-implemented from LightApp_DataObject using SALOMEDS API.

Returns
ID string of the referenced SObject

Check if the data object is a reference.

Re-implemented from LightApp_DataObject using SALOMEDS API.

Returns
true if this data object actually refers to another one

Get the object referenced by this one.

Returns
referenced object

Check if object has children

Returns
true if object has at least one child sub-object and false otherwise

Check if the object is expandable (e.g. in the data tree view)

Returns
true if object is expandable and false otherwise

Check if the object is visible.

Returns
true if this object is displayable or false otherwise

Check if the specified column supports custom sorting.

Parameters
idcolumn id
Returns
true if column sorting should be customized
See also
compare()

Compares data from two items for sorting purposes.

This method is called only for those columns for which customSorting() method returns true.

Parameters
leftfirst data to compare
rightsecond data to compare
idcolumn id
Returns
result of the comparison
See also
customSorting()

Get data object IOR.

Parameters
objdata object
Returns
data object IOR or null string if IOR is empty

Get data object entry identifier.

Parameters
objdata object
Returns
data object entry identifier or empty object does not have entry

Get data object value.

Parameters
objdata object
Returns
data object value or empty string if there is no value associated to the object