#include <MEDFileFieldRepresentationTree.hxx>
|
| MEDFileFieldRepresentationTree () |
|
int | getNumberOfLeavesArrays () const |
|
void | assignIds () const |
|
void | activateTheFirst () const |
|
void | computeFullNameInLeaves () const |
|
void | feedSIL (vtkMutableDirectedGraph *sil, vtkIdType root, vtkVariantArray *edge, std::vector< std::string > &names) const |
|
std::string | getActiveMeshName () const |
|
std::string | feedSILForFamsAndGrps (vtkMutableDirectedGraph *sil, vtkIdType root, vtkVariantArray *edge, std::vector< std::string > &names) const |
|
std::string | getNameOf (int id) const |
|
const char * | getNameOfC (int id) const |
|
bool | getStatusOf (int id) const |
|
int | getIdHavingZeName (const char *name) const |
|
bool | changeStatusOfAndUpdateToHaveCoherentVTKDataSet (int id, bool status) const |
|
int | getMaxNumberOfTimeSteps () const |
|
std::string | getDftMeshName () const |
|
std::vector< double > | getTimeSteps (int &lev0, const TimeKeeper &tk) const |
|
vtkDataSet * | buildVTKInstance (bool isStdOrMode, double timeReq, std::string &meshName, const TimeKeeper &tk, ExportedTinyInfo *internalInfo=0) const |
|
void | printMySelf (std::ostream &os) const |
|
std::map< std::string, bool > | dumpState () const |
|
void | loadMainStructureOfFile (const char *fileName, bool isMEDOrSauv, int iPart, int nbOfParts) |
|
void | loadInMemory (MEDCoupling::MEDFileFields *fields, MEDCoupling::MEDFileMeshes *meshes) |
|
void | removeEmptyLeaves () |
|
MEDFileFieldRepresentationTree::MEDFileFieldRepresentationTree |
( |
| ) |
|
int MEDFileFieldRepresentationTree::getNumberOfLeavesArrays |
( |
| ) |
const |
void MEDFileFieldRepresentationTree::assignIds |
( |
| ) |
const |
void MEDFileFieldRepresentationTree::activateTheFirst |
( |
| ) |
const |
void MEDFileFieldRepresentationTree::computeFullNameInLeaves |
( |
| ) |
const |
void MEDFileFieldRepresentationTree::feedSIL |
( |
vtkMutableDirectedGraph * |
sil, |
|
|
vtkIdType |
root, |
|
|
vtkVariantArray * |
edge, |
|
|
std::vector< std::string > & |
names |
|
) |
| const |
std::string MEDFileFieldRepresentationTree::getActiveMeshName |
( |
| ) |
const |
std::string MEDFileFieldRepresentationTree::feedSILForFamsAndGrps |
( |
vtkMutableDirectedGraph * |
sil, |
|
|
vtkIdType |
root, |
|
|
vtkVariantArray * |
edge, |
|
|
std::vector< std::string > & |
names |
|
) |
| const |
std::string MEDFileFieldRepresentationTree::getNameOf |
( |
int |
id | ) |
const |
const char * MEDFileFieldRepresentationTree::getNameOfC |
( |
int |
id | ) |
const |
bool MEDFileFieldRepresentationTree::getStatusOf |
( |
int |
id | ) |
const |
int MEDFileFieldRepresentationTree::getIdHavingZeName |
( |
const char * |
name | ) |
const |
bool MEDFileFieldRepresentationTree::changeStatusOfAndUpdateToHaveCoherentVTKDataSet |
( |
int |
id, |
|
|
bool |
status |
|
) |
| const |
int MEDFileFieldRepresentationTree::getMaxNumberOfTimeSteps |
( |
| ) |
const |
std::string MEDFileFieldRepresentationTree::getDftMeshName |
( |
| ) |
const |
std::vector< double > MEDFileFieldRepresentationTree::getTimeSteps |
( |
int & |
lev0, |
|
|
const TimeKeeper & |
tk |
|
) |
| const |
vtkDataSet * MEDFileFieldRepresentationTree::buildVTKInstance |
( |
bool |
isStdOrMode, |
|
|
double |
timeReq, |
|
|
std::string & |
meshName, |
|
|
const TimeKeeper & |
tk, |
|
|
ExportedTinyInfo * |
internalInfo = 0 |
|
) |
| const |
void MEDFileFieldRepresentationTree::printMySelf |
( |
std::ostream & |
os | ) |
const |
std::map< std::string, bool > MEDFileFieldRepresentationTree::dumpState |
( |
| ) |
const |
void MEDFileFieldRepresentationTree::loadMainStructureOfFile |
( |
const char * |
fileName, |
|
|
bool |
isMEDOrSauv, |
|
|
int |
iPart, |
|
|
int |
nbOfParts |
|
) |
| |
void MEDFileFieldRepresentationTree::loadInMemory |
( |
MEDCoupling::MEDFileFields * |
fields, |
|
|
MEDCoupling::MEDFileMeshes * |
meshes |
|
) |
| |
void MEDFileFieldRepresentationTree::removeEmptyLeaves |
( |
| ) |
|
bool MEDFileFieldRepresentationTree::IsFieldMeshRegardingInfo |
( |
const std::vector< std::string > & |
compInfos | ) |
|
|
static |
std::string MEDFileFieldRepresentationTree::PostProcessFieldName |
( |
const std::string & |
fullFieldName | ) |
|
|
static |
Here the non regression tests. const char inp0[]=""; const char exp0[]=""; const char inp1[]="field"; const char exp1[]="field"; const char inp2[]="_________"; const char exp2[]="_________"; const char inp3[]="field_p"; const char exp3[]="field_p"; const char inp4[]="field__p"; const char exp4[]="field_p"; const char inp5[]="field_p__"; const char exp5[]="field_p"; const char inp6[]="field_p_"; const char exp6[]="field_p"; const char inp7[]="field_____EDFGEG//sdkjf_____PP_______________"; const char exp7[]="field_EDFGEG//sdkjf_PP"; const char inp8[]="field_____EDFGEG//sdkjf_____PP"; const char exp8[]="field_EDFGEG//sdkjf_PP"; const char inp9[]="_field_____EDFGEG//sdkjf_____PP_______________"; const char exp9[]="field_EDFGEG//sdkjf_PP"; const char inp10[]="___field_____EDFGEG//sdkjf_____PP_______________"; const char exp10[]="field_EDFGEG//sdkjf_PP";
References SplitFieldNameIntoParts().
MEDCoupling::MEDFileFields * MEDFileFieldRepresentationTree::BuildFieldFromMeshes |
( |
const MEDCoupling::MEDFileMeshes * |
ms | ) |
|
|
staticprivate |
void MEDFileFieldRepresentationTree::AppendFieldFromMeshes |
( |
const MEDCoupling::MEDFileMeshes * |
ms, |
|
|
MEDCoupling::MEDFileFields * |
ret |
|
) |
| |
|
staticprivate |
std::string MEDFileFieldRepresentationTree::BuildAUniqueArrayNameForMesh |
( |
const std::string & |
meshName, |
|
|
const MEDCoupling::MEDFileFields * |
ret |
|
) |
| |
|
staticprivate |
std::vector< std::string > MEDFileFieldRepresentationTree::SplitFieldNameIntoParts |
( |
const std::string & |
fullFieldName, |
|
|
char |
sep |
|
) |
| |
|
staticprivate |
const char MEDFileFieldRepresentationTree::ROOT_OF_GRPS_IN_TREE ="zeGrps" |
|
static |
const char MEDFileFieldRepresentationTree::ROOT_OF_FAM_IDS_IN_TREE ="zeFamIds" |
|
static |
const char MEDFileFieldRepresentationTree::COMPO_STR_TO_LOCATE_MESH_DA ="-@?|*_" |
|
static |
MEDCoupling::MCAuto<MEDCoupling::MEDFileMeshes> MEDFileFieldRepresentationTree::_ms |
|
private |
MEDCoupling::MCAuto<MEDCoupling::MEDFileFields> MEDFileFieldRepresentationTree::_fields |
|
private |