Version: 6.5.0
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
MEDMEM::FIELD_ Class Reference
Inheritance diagram for MEDMEM::FIELD_:
Inheritance graph
[legend]
Collaboration diagram for MEDMEM::FIELD_:
Collaboration graph
[legend]

Public Member Functions

 FIELD_ ()
 FIELD_ (const SUPPORT *Support, const int NumberOfComponents)
 FIELD_ (const FIELD_ &m)
virtual ~FIELD_ ()
FIELD_operator= (const FIELD_ &m)
virtual void rmDriver (int index=0)
virtual int addDriver (driverTypes driverType, const string &fileName="Default File Name.med", const string &driverFieldName="Default Field Nam", MED_EN::med_mode_acces access=MED_EN::RDWR)
virtual int addDriver (GENDRIVER &driver)
virtual void read (driverTypes driverType, const std::string &fileName)
virtual void read (const GENDRIVER &)
virtual void read (int index=0)
virtual void openAppend (void)
virtual void write (const GENDRIVER &, MED_EN::med_mode_acces medMode=MED_EN::RDWR)
virtual void write (driverTypes driverType, const std::string &fileName, MED_EN::med_mode_acces medMode=MED_EN::RDWR)
virtual void write (int index=0)
virtual void writeAppend (const GENDRIVER &)
virtual void writeAppend (int index=0, const string &driverName="")
void setName (const string Name)
string getName () const
void setDescription (const string Description)
string getDescription () const
const SUPPORTgetSupport () const
void setSupport (const SUPPORT *support)
void setNumberOfComponents (const int NumberOfComponents)
int getNumberOfComponents () const
void setNumberOfValues (const int NumberOfValues)
int getNumberOfValues () const
void setComponentsNames (const string *ComponentsNames)
void setComponentName (int i, const string ComponentName)
const string * getComponentsNames () const
string getComponentName (int i) const
void setComponentsDescriptions (const string *ComponentsDescriptions)
void setComponentDescription (int i, const string ComponentDescription)
const string * getComponentsDescriptions () const
string getComponentDescription (int i) const
void setComponentsUnits (const UNIT *ComponentsUnits)
const UNIT * getComponentsUnits () const
const UNIT * getComponentUnit (int i) const
void setMEDComponentsUnits (const string *MEDComponentsUnits)
void setMEDComponentUnit (int i, const string MEDComponentUnit)
const string * getMEDComponentsUnits () const
string getMEDComponentUnit (int i) const
void setIterationNumber (int IterationNumber)
int getIterationNumber () const
void setTime (double Time)
double getTime () const
void setOrderNumber (int OrderNumber)
int getOrderNumber () const
MED_EN::med_type_champ getValueType () const
MED_EN::medModeSwitch getInterlacingType () const
virtual bool getGaussPresence () const throw (MEDEXCEPTION)

Protected Member Functions

void _checkNormCompatibility (const FIELD< double > *p_field_volume=NULL, const bool nodalAllowed=false) const throw (MEDEXCEPTION)
FIELD< double > * _getFieldSize (const SUPPORT *subSupport=NULL) const
void copyGlobalInfo (const FIELD_ &m)

Static Protected Member Functions

static void _checkFieldCompatibility (const FIELD_ &m, const FIELD_ &n, bool checkUnit=true) throw (MEDEXCEPTION)
static void _deepCheckFieldCompatibility (const FIELD_ &m, const FIELD_ &n, bool checkUnit=true) throw (MEDEXCEPTION)

Protected Attributes

bool _isRead
bool _isMinMax
string _name
string _description
const SUPPORT_support
int _numberOfComponents
int _numberOfValues
vector< int > _componentsTypes
vector< string > _componentsNames
vector< string > _componentsDescriptions
vector< UNIT > _componentsUnits
vector< string > _MEDComponentsUnits
int _iterationNumber
double _time
int _orderNumber
MED_EN::med_type_champ _valueType
MED_EN::medModeSwitch _interlacingType
vector< GENDRIVER * > _drivers

Friends

class MED_MED_RDONLY_DRIVER21
class MED_MED_WRONLY_DRIVER21
class MED_MED_RDWR_DRIVER21
class MED_MED_RDONLY_DRIVER22
class MED_MED_WRONLY_DRIVER22
class MED_MED_RDWR_DRIVER22
class VTK_MED_DRIVER

Detailed Description

This class contains all the informations related with a template class FIELD :

Constructor & Destructor Documentation

FIELD_::FIELD_ ( )

Constructor.

FIELD_::FIELD_ ( const SUPPORT Support,
const int  NumberOfComponents 
)
FIELD_::FIELD_ ( const FIELD_ m)
FIELD_::~FIELD_ ( )
virtual

Destructor.

References _drivers, and _support.

Member Function Documentation

void FIELD_::_checkFieldCompatibility ( const FIELD_ m,
const FIELD_ n,
bool  checkUnit = true 
) throw (MEDEXCEPTION)
staticprotected
void FIELD_::_deepCheckFieldCompatibility ( const FIELD_ m,
const FIELD_ n,
bool  checkUnit = true 
) throw (MEDEXCEPTION)
staticprotected
void FIELD_::_checkNormCompatibility ( const FIELD< double > *  p_field_volume = NULL,
const bool  nodalAllowed = false 
) const throw (MEDEXCEPTION)
protected
FIELD< double > * FIELD_::_getFieldSize ( const SUPPORT subSupport = NULL) const
protected
FIELD_ & FIELD_::operator= ( const FIELD_ m)
void FIELD_::rmDriver ( int  index = 0)
virtual
void FIELD_::writeAppend ( const GENDRIVER &  )
virtual
void FIELD_::writeAppend ( int  index = 0,
const string &  driverName = "" 
)
virtual
void FIELD_::copyGlobalInfo ( const FIELD_ m)
protected

Friends And Related Function Documentation

friend class MED_MED_RDONLY_DRIVER21
friend
friend class MED_MED_WRONLY_DRIVER21
friend
friend class MED_MED_RDWR_DRIVER21
friend
friend class MED_MED_RDONLY_DRIVER22
friend
friend class MED_MED_WRONLY_DRIVER22
friend
friend class MED_MED_RDWR_DRIVER22
friend
friend class VTK_MED_DRIVER
friend

Member Data Documentation

bool MEDMEM::FIELD_::_isRead
protected

Referenced by FIELD_(), and operator=().

bool MEDMEM::FIELD_::_isMinMax
protected

Referenced by FIELD_(), and operator=().

string MEDMEM::FIELD_::_name
protected

Referenced by FIELD_(), and operator=().

string MEDMEM::FIELD_::_description
protected

Referenced by FIELD_(), and operator=().

const SUPPORT* MEDMEM::FIELD_::_support
protected

Referenced by FIELD_(), operator=(), and ~FIELD_().

int MEDMEM::FIELD_::_numberOfComponents
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

int MEDMEM::FIELD_::_numberOfValues
protected

Referenced by FIELD_(), and operator=().

vector<int> MEDMEM::FIELD_::_componentsTypes
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

vector<string> MEDMEM::FIELD_::_componentsNames
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

vector<string> MEDMEM::FIELD_::_componentsDescriptions
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

vector<UNIT> MEDMEM::FIELD_::_componentsUnits
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

vector<string> MEDMEM::FIELD_::_MEDComponentsUnits
protected

Referenced by copyGlobalInfo(), FIELD_(), and operator=().

int MEDMEM::FIELD_::_iterationNumber
protected

Referenced by copyGlobalInfo(), and operator=().

double MEDMEM::FIELD_::_time
protected

Referenced by copyGlobalInfo(), and operator=().

int MEDMEM::FIELD_::_orderNumber
protected

Referenced by copyGlobalInfo(), and operator=().

MED_EN::med_type_champ MEDMEM::FIELD_::_valueType
protected
MED_EN::medModeSwitch MEDMEM::FIELD_::_interlacingType
protected
vector<GENDRIVER *> MEDMEM::FIELD_::_drivers
protected

Referenced by ~FIELD_().

Copyright © 2007-2012 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