Back to index

salome-gui  6.5.0
Public Member Functions
SVTK::TIsSameIObject< TActor > Struct Template Reference

This functor check, if the actor point to the same SALOME_InteractiveObject. More...

#include <SVTK_Functor.h>

List of all members.

Public Member Functions

 Handle (SALOME_InteractiveObject) myIObject
 TIsSameIObject (const Handle(SALOME_InteractiveObject)&theIObject)
 To construct the functor.
bool operator() (TActor *theActor)
 To calculate the functor.

Detailed Description

template<class TActor>
struct SVTK::TIsSameIObject< TActor >

This functor check, if the actor point to the same SALOME_InteractiveObject.

Definition at line 70 of file SVTK_Functor.h.


Constructor & Destructor Documentation

template<class TActor >
SVTK::TIsSameIObject< TActor >::TIsSameIObject ( const Handle(SALOME_InteractiveObject)&  theIObject) [inline]

To construct the functor.

Definition at line 74 of file SVTK_Functor.h.

                                                                      :
      myIObject(theIObject)
    {}

Member Function Documentation

template<class TActor >
SVTK::TIsSameIObject< TActor >::Handle ( SALOME_InteractiveObject  )
template<class TActor >
bool SVTK::TIsSameIObject< TActor >::operator() ( TActor *  theActor) [inline]

To calculate the functor.

Definition at line 78 of file SVTK_Functor.h.

    {
      if(theActor->hasIO())
      {
        Handle(SALOME_InteractiveObject) anIO = theActor->getIO();
        return myIObject->isSame(anIO);
      }
      return false;
    }

Here is the call graph for this function:


The documentation for this struct was generated from the following file: