Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributeFlags_i Class Reference

#include <SALOMEDS_AttributeFlags_i.hxx>

List of all members.

Public Member Functions

 SALOMEDS_AttributeFlags_i (SALOMEDSImpl_AttributeFlags *theAttr, CORBA::ORB_ptr orb)
virtual ~SALOMEDS_AttributeFlags_i ()
CORBA::Long GetFlags ()
void SetFlags (CORBA::Long theFlags)
CORBA::Boolean Get (CORBA::Long theFlag)
void Set (CORBA::Long theFlag, CORBA::Boolean theValue)

Detailed Description

Definition at line 50 of file SALOMEDS_AttributeFlags_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributeFlags_i::SALOMEDS_AttributeFlags_i ( SALOMEDSImpl_AttributeFlags *  theAttr,
CORBA::ORB_ptr  orb 
) [inline]

Definition at line 55 of file SALOMEDS_AttributeFlags_i.hxx.

                        :SALOMEDS_GenericAttribute_i(theAttr, orb) {};

Definition at line 58 of file SALOMEDS_AttributeFlags_i.hxx.

{};

Member Function Documentation

CORBA::Boolean SALOMEDS_AttributeFlags_i::Get ( CORBA::Long  theFlag)

Definition at line 66 of file SALOMEDS_AttributeFlags_i.cxx.

{
  SALOMEDS::Locker lock;
  return dynamic_cast<SALOMEDSImpl_AttributeFlags*>(_impl)->Get() & theFlag ? true : false;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 46 of file SALOMEDS_AttributeFlags_i.cxx.

{
  SALOMEDS::Locker lock;
  return dynamic_cast<SALOMEDSImpl_AttributeFlags*>(_impl)->Get();
}

Here is the call graph for this function:

void SALOMEDS_AttributeFlags_i::Set ( CORBA::Long  theFlag,
CORBA::Boolean  theValue 
)

Definition at line 76 of file SALOMEDS_AttributeFlags_i.cxx.

{
  SALOMEDS::Locker lock;
  SALOMEDSImpl_AttributeFlags* anAttr = dynamic_cast<SALOMEDSImpl_AttributeFlags*>(_impl);
  if ( theValue )
    anAttr->Set( anAttr->Get() | theFlag );
  else
    anAttr->Set( anAttr->Get() & ~theFlag );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void SALOMEDS_AttributeFlags_i::SetFlags ( CORBA::Long  theFlags)

Definition at line 56 of file SALOMEDS_AttributeFlags_i.cxx.

{
  SALOMEDS::Locker lock;
  dynamic_cast<SALOMEDSImpl_AttributeFlags*>(_impl)->Set( theFlags );
}

Here is the call graph for this function:


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