Version: 6.5.0
Public Member Functions | Static Public Member Functions | List of all members
ParaMEDMEM::MEDFileFields Class Reference
Inheritance diagram for ParaMEDMEM::MEDFileFields:
Inheritance graph
[legend]
Collaboration diagram for ParaMEDMEM::MEDFileFields:
Collaboration graph
[legend]

Public Member Functions

void write (const char *fileName, int mode) const throw (INTERP_KERNEL::Exception)
void writeLL (med_idt fid) const throw (INTERP_KERNEL::Exception)
int getNumberOfFields () const
std::vector< std::string > getFieldsNames () const throw (INTERP_KERNEL::Exception)
std::string simpleRepr () const
void simpleRepr (int bkOffset, std::ostream &oss) const
void resize (int newSize) throw (INTERP_KERNEL::Exception)
void pushField (MEDFileFieldMultiTS *field) throw (INTERP_KERNEL::Exception)
void setFieldAtPos (int i, MEDFileFieldMultiTS *field) throw (INTERP_KERNEL::Exception)
MEDFileFieldMultiTSgetFieldAtPos (int i) const throw (INTERP_KERNEL::Exception)
MEDFileFieldMultiTSgetFieldWithName (const char *fieldName) const throw (INTERP_KERNEL::Exception)
void destroyFieldAtPos (int i) throw (INTERP_KERNEL::Exception)
- Public Member Functions inherited from ParaMEDMEM::RefCountObject
bool decrRef () const
void incrRef () const
- Public Member Functions inherited from ParaMEDMEM::MEDFieldFieldGlobsReal
 MEDFieldFieldGlobsReal (const char *fname)
 MEDFieldFieldGlobsReal ()
void simpleRepr (std::ostream &oss) const
void shallowCpyGlobs (const MEDFieldFieldGlobsReal &other)
void appendGlobs (const MEDFieldFieldGlobsReal &other, double eps) throw (INTERP_KERNEL::Exception)
virtual std::vector< std::string > getPflsReallyUsed () const =0
virtual std::vector< std::string > getLocsReallyUsed () const =0
virtual std::vector< std::string > getPflsReallyUsedMulti () const =0
virtual std::vector< std::string > getLocsReallyUsedMulti () const =0
virtual void changePflsRefsNamesGen (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)=0 throw (INTERP_KERNEL::Exception)
virtual void changeLocsRefsNamesGen (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)=0 throw (INTERP_KERNEL::Exception)
virtual ~MEDFieldFieldGlobsReal ()
void loadProfileInFile (med_idt fid, int id, const char *pflName) throw (INTERP_KERNEL::Exception)
void loadProfileInFile (med_idt fid, int id)
void loadGlobals (med_idt fid) throw (INTERP_KERNEL::Exception)
void loadAllGlobals (med_idt fid) throw (INTERP_KERNEL::Exception)
void writeGlobals (med_idt fid, const MEDFileWritable &opt) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > getPfls () const
std::vector< std::string > getLocs () const
bool existsPfl (const char *pflName) const
bool existsLoc (const char *locName) const
std::vector< std::vector< int > > whichAreEqualProfiles () const
std::vector< std::vector< int > > whichAreEqualLocs (double eps) const
void setFileName (const char *fileName)
void changePflsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changeLocsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changePflsNames (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changeLocsNames (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) throw (INTERP_KERNEL::Exception)
void changePflName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception)
void changeLocName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception)
std::vector< std::pair
< std::vector< std::string >
, std::string > > 
zipPflsNames () throw (INTERP_KERNEL::Exception)
std::vector< std::pair
< std::vector< std::string >
, std::string > > 
zipLocsNames (double eps) throw (INTERP_KERNEL::Exception)
int getNbOfGaussPtPerCell (int locId) const throw (INTERP_KERNEL::Exception)
int getLocalizationId (const char *loc) const throw (INTERP_KERNEL::Exception)
const char * getFileName () const
std::string getFileName2 () const
const MEDFileFieldLoc & getLocalizationFromId (int locId) const throw (INTERP_KERNEL::Exception)
const MEDFileFieldLoc & getLocalization (const char *locName) const throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & getLocalizationFromId (int locId) throw (INTERP_KERNEL::Exception)
MEDFileFieldLoc & getLocalization (const char *locName) throw (INTERP_KERNEL::Exception)
const DataArrayIntgetProfile (const char *pflName) const throw (INTERP_KERNEL::Exception)
const DataArrayIntgetProfileFromId (int pflId) const throw (INTERP_KERNEL::Exception)
DataArrayIntgetProfile (const char *pflName) throw (INTERP_KERNEL::Exception)
DataArrayIntgetProfileFromId (int pflId) throw (INTERP_KERNEL::Exception)
void killProfileIds (const std::vector< int > &pflIds) throw (INTERP_KERNEL::Exception)
void killLocalizationIds (const std::vector< int > &locIds) throw (INTERP_KERNEL::Exception)
void appendProfile (DataArrayInt *pfl) throw (INTERP_KERNEL::Exception)
void appendLoc (const char *locName, INTERP_KERNEL::NormalizedCellType geoType, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &w) throw (INTERP_KERNEL::Exception)

Static Public Member Functions

static MEDFileFieldsNew ()
static MEDFileFieldsNew (const char *fileName) throw (INTERP_KERNEL::Exception)

Additional Inherited Members

- Protected Member Functions inherited from ParaMEDMEM::RefCountObject
 RefCountObject ()
 RefCountObject (const RefCountObject &other)
virtual ~RefCountObject ()
- Protected Attributes inherited from ParaMEDMEM::MEDFieldFieldGlobsReal
MEDCouplingAutoRefCountObjectPtr
< MEDFieldFieldGlobs > 
_globals

Detailed Description

Use class.

Member Function Documentation

MEDFileFields * MEDFileFields::New ( )
static
MEDFileFields * MEDFileFields::New ( const char *  fileName) throw (INTERP_KERNEL::Exception)
static
void MEDFileFields::write ( const char *  fileName,
int  mode 
) const throw (INTERP_KERNEL::Exception)
void MEDFileFields::writeLL ( med_idt  fid) const throw (INTERP_KERNEL::Exception)
int MEDFileFields::getNumberOfFields ( ) const

Referenced by simpleRepr().

std::vector< std::string > MEDFileFields::getFieldsNames ( ) const throw (INTERP_KERNEL::Exception)
std::string MEDFileFields::simpleRepr ( ) const

Referenced by simpleRepr().

void MEDFileFields::simpleRepr ( int  bkOffset,
std::ostream &  oss 
) const
void MEDFileFields::resize ( int  newSize) throw (INTERP_KERNEL::Exception)
void MEDFileFields::pushField ( MEDFileFieldMultiTS field) throw (INTERP_KERNEL::Exception)
void MEDFileFields::setFieldAtPos ( int  i,
MEDFileFieldMultiTS field 
) throw (INTERP_KERNEL::Exception)
MEDFileFieldMultiTS * MEDFileFields::getFieldAtPos ( int  i) const throw (INTERP_KERNEL::Exception)
MEDFileFieldMultiTS * MEDFileFields::getFieldWithName ( const char *  fieldName) const throw (INTERP_KERNEL::Exception)
void MEDFileFields::destroyFieldAtPos ( int  i) throw (INTERP_KERNEL::Exception)
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