Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
SVTK::TIsSameEntry< TActor > Struct Template Reference

This functor check, if the actor have pointed entry. More...

#include <SVTK_Functor.h>

Collaboration diagram for SVTK::TIsSameEntry< TActor >:
Collaboration graph

List of all members.

Public Member Functions

 TIsSameEntry (const char *theEntry)
 To construct the functor.
bool operator() (TActor *theActor)
 To calculate the functor.

Public Attributes

std::string myEntry

Detailed Description

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

This functor check, if the actor have pointed entry.

Definition at line 46 of file SVTK_Functor.h.

Constructor & Destructor Documentation

template<class TActor >
SVTK::TIsSameEntry< TActor >::TIsSameEntry ( const char *  theEntry) [inline]

To construct the functor.

Definition at line 50 of file SVTK_Functor.h.


Member Function Documentation

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

To calculate the functor.

Definition at line 54 of file SVTK_Functor.h.

      if ( theActor->hasIO() )
        Handle(SALOME_InteractiveObject) anIO = theActor->getIO();
        if ( anIO->hasEntry() )
          return myEntry == anIO->getEntry();
      return false;

Here is the call graph for this function:

Member Data Documentation

template<class TActor >
std::string SVTK::TIsSameEntry< TActor >::myEntry

Definition at line 48 of file SVTK_Functor.h.

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