Version: 5.1.6

MEDMEM.FIELD_i Class Reference

#include <MEDMEM_Field_i.hxx>

Inheritance diagram for MEDMEM.FIELD_i:
Inheritance graph

Public Member Functions

 FIELD_i ()
 FIELD_i (MEDMEM::FIELD_ *const field, bool ownCppPtr)
 FIELD_i (FIELD_i &f)
 ~FIELD_i ()
char * getName () throw (SALOME::SALOME_Exception)
void setName (const char *theName) throw (SALOME::SALOME_Exception)
char * getDescription () throw (SALOME::SALOME_Exception)
SALOME_MED::SUPPORT_ptr getSupport () throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfComponents () throw (SALOME::SALOME_Exception)
char * getComponentName (CORBA::Long i) throw (SALOME::SALOME_Exception)
char * getComponentUnit (CORBA::Long i) throw (SALOME::SALOME_Exception)
char * getComponentDescription (CORBA::Long i) throw (SALOME::SALOME_Exception)
CORBA::Long getIterationNumber () throw (SALOME::SALOME_Exception)
CORBA::Long getOrderNumber () throw (SALOME::SALOME_Exception)
CORBA::Boolean getGaussPresence ()
CORBA::Double getTime () throw (SALOME::SALOME_Exception)
CORBA::Long getCorbaIndex () throw (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString * getComponentsNames () throw (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString * getComponentsUnits () throw (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString * getComponentsDescriptions () throw (SALOME::SALOME_Exception)
void addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::FIELD_ptr myIor) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
void addInStudyToComponent (SALOMEDS::SComponent_ptr myComponent, SALOME_MED::FIELD_ptr myIor) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
CORBA::Long addDriver (SALOME_MED::medDriverTypes driverType, const char *fileName, const char *fieldName) throw (SALOME::SALOME_Exception)
void rmDriver (CORBA::Long i) throw (SALOME::SALOME_Exception)
void read (CORBA::Long i) throw (SALOME::SALOME_Exception)
void write (CORBA::Long i, const char *driverFieldName) throw (SALOME::SALOME_Exception)
MEDMEM::FIELD_constructConstField () const
SALOMEDS::SComponent_ptr PublishMedComponent (SALOMEDS::Study_ptr theStudy)
std::string getEntryPath ()
 Return a default path to publish this field.

Data Fields

bool _ownCppPtr
::MEDMEM::FIELD_ *const _fieldTptr
const int _corbaIndex
string _FieldId

Static Public Attributes

static map< int,::MEDMEM::FIELD_ * > fieldMap
static int fieldIndex = 0

Constructor & Destructor Documentation

FIELD_i::FIELD_i (  ) 

Default constructor

MEDMEM.FIELD_i.FIELD_i ( MEDMEM::FIELD_ *const   field,
bool  ownCppPtr 
)
FIELD_i::FIELD_i ( FIELD_i f  ) 
FIELD_i::~FIELD_i (  ) 

Member Function Documentation

char * FIELD_i::getName (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for Fields's Name

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getName(), MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

void FIELD_i::setName ( const char *  theName  )  throw (SALOME::SALOME_Exception)
char * FIELD_i::getDescription (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for Fields's Description

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getDescription(), MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

SALOME_MED::SUPPORT_ptr FIELD_i::getSupport (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for Fields's Support

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getSupport(), NULL, and medClient_test.support.

CORBA::Long FIELD_i::getNumberOfComponents (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for Fields's Number of components

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getNumberOfComponents(), MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

char * FIELD_i::getComponentName ( CORBA::Long  i  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for names of component I

References MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

char * FIELD_i::getComponentUnit ( CORBA::Long  i  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for unit of component I

References MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

char * FIELD_i::getComponentDescription ( CORBA::Long  i  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for description of component I

References MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

CORBA::Long FIELD_i::getIterationNumber (  )  throw (SALOME::SALOME_Exception)
CORBA::Long FIELD_i::getOrderNumber (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for iteration number

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getOrderNumber(), MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

CORBA::Boolean FIELD_i::getGaussPresence (  ) 

CORBA: Accessor for gauss numbers presence.

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getGaussPresence(), MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

CORBA::Double FIELD_i::getTime (  )  throw (SALOME::SALOME_Exception)
CORBA::Long FIELD_i::getCorbaIndex (  )  throw (SALOME::SALOME_Exception)

CORBA: Accessor for Corba Number

References MEDMEM.FIELD_i._corbaIndex, MEDMEM.FIELD_i._fieldTptr, and NULL.

SALOME_TYPES::ListOfString * FIELD_i::getComponentsNames (  )  throw (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString * FIELD_i::getComponentsUnits (  )  throw (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString * FIELD_i::getComponentsDescriptions (  )  throw (SALOME::SALOME_Exception)
void FIELD_i::addInStudy ( SALOMEDS::Study_ptr  myStudy,
SALOME_MED::FIELD_ptr  myIor 
) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)

CORBA: Add in Study

void FIELD_i::addInStudyToComponent ( SALOMEDS::SComponent_ptr  myComponent,
SALOME_MED::FIELD_ptr  myIor 
) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
CORBA::Long FIELD_i::addDriver ( SALOME_MED::medDriverTypes  driverType,
const char *  fileName,
const char *  fieldName 
) throw (SALOME::SALOME_Exception)
void FIELD_i::rmDriver ( CORBA::Long  i  )  throw (SALOME::SALOME_Exception)

CORBA: rmDriver

References MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

void FIELD_i::read ( CORBA::Long  i  )  throw (SALOME::SALOME_Exception)

CORBA: read

References MESSAGE, NULL, and MEDMEM.MEDEXCEPTION.what().

void FIELD_i::write ( CORBA::Long  i,
const char *  driverFieldName 
) throw (SALOME::SALOME_Exception)

CORBA: write

References MESSAGE, and NULL.

FIELD_ * FIELD_i::constructConstField (  )  const

Constructor d un pointeur constant

SALOMEDS::SComponent_ptr FIELD_i::PublishMedComponent ( SALOMEDS::Study_ptr  theStudy  ) 

internal method: publish MED component

References ASSERT, init, TestMedCorba1.lcc, and TestMedCorba1.orb.

string FIELD_i::getEntryPath (  ) 

Field Documentation

map< int,::FIELD_ * > FIELD_i::fieldMap [static]
int FIELD_i::fieldIndex = 0 [static]