Version: 6.3.1
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes

MEDMEM.FIELD_i Class Reference

#include <MEDMEM_Field_i.hxx>

Inheritance diagram for MEDMEM.FIELD_i:
Inheritance graph

Public Member Functions

 ~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.

Static Public Attributes

static map< int,::MEDMEM::FIELD_ * > fieldMap

Protected Member Functions

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

Protected Attributes

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

Static Protected Attributes

static int fieldIndex = 0

Constructor & Destructor Documentation

FIELD_i::FIELD_i ( ) [protected]

Default constructor

MEDMEM.FIELD_i.FIELD_i ( MEDMEM::FIELD_ *const  field,
bool  ownCppPtr 
) [protected]
FIELD_i::FIELD_i ( FIELD_i f) [protected]
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, 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, 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(), 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, and MEDMEM.MEDEXCEPTION.what().

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

CORBA: Accessor for names of component I

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

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

CORBA: Accessor for unit of component I

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

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

CORBA: Accessor for description of component I

References MESSAGE, 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, and MEDMEM.MEDEXCEPTION.what().

CORBA::Boolean FIELD_i::getGaussPresence ( )

CORBA: Accessor for gauss numbers presence.

References MEDMEM.FIELD_i._fieldTptr, MEDMEM.FIELD_.getGaussPresence(), MESSAGE, 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, and MEDMEM.FIELD_i._fieldTptr.

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, and MEDMEM.MEDEXCEPTION.what().

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

CORBA: read

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

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

CORBA: write

References MESSAGE.

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, protected]
bool MEDMEM.FIELD_i._ownCppPtr [protected]
const int MEDMEM.FIELD_i._corbaIndex [protected]
string MEDMEM.FIELD_i._FieldId [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS