Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributeTextHighlightColor_i Class Reference

#include <SALOMEDS_AttributeTextHighlightColor_i.hxx>

List of all members.

Public Member Functions

 SALOMEDS_AttributeTextHighlightColor_i (SALOMEDSImpl_AttributeTextHighlightColor *theAttr, CORBA::ORB_ptr orb)
 ~SALOMEDS_AttributeTextHighlightColor_i ()
SALOMEDS::Color TextHighlightColor ()
void SetTextHighlightColor (const SALOMEDS::Color &value)

Detailed Description

Definition at line 37 of file SALOMEDS_AttributeTextHighlightColor_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributeTextHighlightColor_i::SALOMEDS_AttributeTextHighlightColor_i ( SALOMEDSImpl_AttributeTextHighlightColor *  theAttr,
CORBA::ORB_ptr  orb 
) [inline]

Definition at line 42 of file SALOMEDS_AttributeTextHighlightColor_i.hxx.

    :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 

Definition at line 45 of file SALOMEDS_AttributeTextHighlightColor_i.hxx.

{};

Member Function Documentation

Definition at line 49 of file SALOMEDS_AttributeTextHighlightColor_i.cxx.

{
  SALOMEDS::Locker lock;
  CheckLocked();
  std::vector<double> anArray;
  anArray.push_back(value.R);
  anArray.push_back(value.G);
  anArray.push_back(value.B);
  dynamic_cast<SALOMEDSImpl_AttributeTextHighlightColor*>(_impl)->ChangeArray(anArray);
}

Here is the call graph for this function:

Definition at line 31 of file SALOMEDS_AttributeTextHighlightColor_i.cxx.

{
  SALOMEDS::Locker lock;
  SALOMEDS::Color TextHighlightColor;
  std::vector<double> anArray = dynamic_cast<SALOMEDSImpl_AttributeTextHighlightColor*>(_impl)->TextHighlightColor();
  if (anArray.size()!=3) { 
    TextHighlightColor.R = 0;
    TextHighlightColor.G = 0;
    TextHighlightColor.B = 0;
  }
  else {
    TextHighlightColor.R = anArray[0];
    TextHighlightColor.G = anArray[1];
    TextHighlightColor.B = anArray[2];
  }
  return TextHighlightColor;
}

Here is the call graph for this function:


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