Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributeSequenceOfInteger_i Class Reference

#include <SALOMEDS_AttributeSequenceOfInteger_i.hxx>

List of all members.

Public Member Functions

 SALOMEDS_AttributeSequenceOfInteger_i (SALOMEDSImpl_AttributeSequenceOfInteger *theAttr, CORBA::ORB_ptr orb)
 ~SALOMEDS_AttributeSequenceOfInteger_i ()
void Assign (const SALOMEDS::LongSeq &other)
SALOMEDS::LongSeqCorbaSequence ()
void Add (CORBA::Long value)
void Remove (CORBA::Long index)
void ChangeValue (CORBA::Long index, CORBA::Long value)
CORBA::Long Value (CORBA::Short index)
CORBA::Long Length ()

Detailed Description

Definition at line 37 of file SALOMEDS_AttributeSequenceOfInteger_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributeSequenceOfInteger_i::SALOMEDS_AttributeSequenceOfInteger_i ( SALOMEDSImpl_AttributeSequenceOfInteger *  theAttr,
CORBA::ORB_ptr  orb 
) [inline]

Definition at line 42 of file SALOMEDS_AttributeSequenceOfInteger_i.hxx.

    :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 

Definition at line 45 of file SALOMEDS_AttributeSequenceOfInteger_i.hxx.

{};

Member Function Documentation

void SALOMEDS_AttributeSequenceOfInteger_i::Add ( CORBA::Long  value)

Definition at line 54 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:

Definition at line 32 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:

void SALOMEDS_AttributeSequenceOfInteger_i::ChangeValue ( CORBA::Long  index,
CORBA::Long  value 
)

Definition at line 68 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:

Definition at line 41 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

{
  SALOMEDS::Locker lock;
  SALOMEDS::LongSeq_var CorbaSeq = new SALOMEDS::LongSeq;
  const std::vector<int>& CasCadeSeq = dynamic_cast<SALOMEDSImpl_AttributeSequenceOfInteger*>(_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 81 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:

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

Definition at line 61 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:

CORBA::Long SALOMEDS_AttributeSequenceOfInteger_i::Value ( CORBA::Short  index)

Definition at line 75 of file SALOMEDS_AttributeSequenceOfInteger_i.cxx.

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

Here is the call graph for this function:


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