Back to index

salome-med  6.5.0
Public Member Functions | Private Attributes
MEDMEM::FAMILYClient Class Reference

#include <FAMILYClient.hxx>

List of all members.

Public Member Functions

 FAMILYClient (const SALOME_MED::FAMILY_ptr S, GMESH *M=NULL)
 Constructeur.
virtual ~FAMILYClient ()
 Destructeur.
virtual void blankCopy (bool blankSupport=true)
 Remplit les informations générales.
virtual void fillCopy (bool fillSupport=true)
 Remplit les informations générales.

Private Attributes

const SALOME_MED::FAMILY_var IOR_Family
bool _complete

Detailed Description

Definition at line 34 of file FAMILYClient.hxx.


Constructor & Destructor Documentation

FAMILYClient::FAMILYClient ( const SALOME_MED::FAMILY_ptr  S,
GMESH *  M = NULL 
)

Constructeur.

Definition at line 32 of file FAMILYClient.cxx.

  : SUPPORTClient(S, M), 
    FAMILY(), 
    IOR_Family(SALOME_MED::FAMILY::_duplicate(S))
{
  SCRUTE(S);
  SCRUTE(M);

  blankCopy(false);
}

Here is the call graph for this function:

Destructeur.

Definition at line 118 of file FAMILYClient.cxx.

{
}

Member Function Documentation

void FAMILYClient::blankCopy ( bool  blankSupport = true) [virtual]

Remplit les informations générales.

Definition at line 48 of file FAMILYClient.cxx.

{
  if (blankSupport)
    SUPPORTClient::blankCopy();

  setIdentifier(IOR_Family->getIdentifier());

  int nAttr, nGr, n;
  int *i;
  std::string *s;

  nAttr = IOR_Family->getNumberOfAttributes();
  setNumberOfAttributes(nAttr);

  SALOME_TYPES::ListOfLong* attrId= IOR_Family->getAttributesIdentifiers();
  convertCorbaArray(i, n, attrId);
  delete attrId;
  ASSERT(n == nAttr);
  setAttributesIdentifiers(i);

  attrId=IOR_Family->getAttributesValues();
  i=0;
  convertCorbaArray(i, n, attrId);
  delete attrId;
  ASSERT(n == _numberOfAttribute);
  setAttributesValues(i);

  SALOME_TYPES::ListOfString * attrDesc=IOR_Family->getAttributesDescriptions();
  convertCorbaArray(s, n, attrDesc);
  delete attrDesc;
  ASSERT(n == _numberOfAttribute);
  setAttributesDescriptions(s);

  nGr = IOR_Family->getNumberOfGroups();
  setNumberOfGroups(nGr);

  attrDesc=IOR_Family->getGroupsNames();
  s=0;
  convertCorbaArray(s, n, attrDesc);
  delete attrDesc;
  ASSERT(n == _numberOfGroup);
  setGroupsNames(s,true);

  _complete = false;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void FAMILYClient::fillCopy ( bool  fillSupport = true) [virtual]

Remplit les informations générales.

Definition at line 99 of file FAMILYClient.cxx.

{
  if (!_complete) {

    if (fillSupport)
      SUPPORTClient::fillCopy();

    // Get other FAMILY attributes

    _complete = true;
  }
}

Member Data Documentation

bool MEDMEM::FAMILYClient::_complete [mutable, private]

Definition at line 41 of file FAMILYClient.hxx.

const SALOME_MED::FAMILY_var MEDMEM::FAMILYClient::IOR_Family [private]

Definition at line 39 of file FAMILYClient.hxx.


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