Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributeSequenceOfReal_i Class Reference

#include <SALOMEDS_AttributeSequenceOfReal_i.hxx>

List of all members.

Public Member Functions

 SALOMEDS_AttributeSequenceOfReal_i (SALOMEDSImpl_AttributeSequenceOfReal *theAttr, CORBA::ORB_ptr orb)
 ~SALOMEDS_AttributeSequenceOfReal_i ()
void Assign (const SALOMEDS::DoubleSeq &other)
SALOMEDS::DoubleSeqCorbaSequence ()
void Add (CORBA::Double value)
void Remove (CORBA::Long index)
void ChangeValue (CORBA::Long index, CORBA::Double value)
CORBA::Double Value (CORBA::Short index)
CORBA::Long Length ()

Detailed Description

Definition at line 37 of file SALOMEDS_AttributeSequenceOfReal_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributeSequenceOfReal_i::SALOMEDS_AttributeSequenceOfReal_i ( SALOMEDSImpl_AttributeSequenceOfReal *  theAttr,
CORBA::ORB_ptr  orb 
) [inline]

Definition at line 41 of file SALOMEDS_AttributeSequenceOfReal_i.hxx.

    :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 

Definition at line 44 of file SALOMEDS_AttributeSequenceOfReal_i.hxx.

{};

Member Function Documentation

void SALOMEDS_AttributeSequenceOfReal_i::Add ( CORBA::Double  value)

Definition at line 55 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  CheckLocked();
  dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->Add(value);
}

Here is the call graph for this function:

Definition at line 31 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  CheckLocked();
  std::vector<double> CasCadeSeq;
  for (int i = 0; i < other.length(); i++) {
    CasCadeSeq.push_back(other[i]);
  }
  dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->Assign(CasCadeSeq);
}

Here is the call graph for this function:

void SALOMEDS_AttributeSequenceOfReal_i::ChangeValue ( CORBA::Long  index,
CORBA::Double  value 
)

Definition at line 69 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  CheckLocked();
  dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->ChangeValue(index, value);
}

Here is the call graph for this function:

Definition at line 42 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  SALOMEDS::DoubleSeq_var CorbaSeq = new SALOMEDS::DoubleSeq;
  const std::vector<double>& CasCadeSeq = dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->Array();
  int len = CasCadeSeq.size();
  CorbaSeq->length(len);
  for (int i = 0; i < len; i++) {
    CorbaSeq[i] = CasCadeSeq[i];
  }
  return CorbaSeq._retn();
}

Here is the call graph for this function:

Definition at line 82 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

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

Here is the call graph for this function:

void SALOMEDS_AttributeSequenceOfReal_i::Remove ( CORBA::Long  index)

Definition at line 62 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  CheckLocked();
  dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->Remove(index);
}

Here is the call graph for this function:

CORBA::Double SALOMEDS_AttributeSequenceOfReal_i::Value ( CORBA::Short  index)

Definition at line 76 of file SALOMEDS_AttributeSequenceOfReal_i.cxx.

{
  SALOMEDS::Locker lock; 
  return dynamic_cast<SALOMEDSImpl_AttributeSequenceOfReal*>(_impl)->Value(index);
}

Here is the call graph for this function:


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