Public Member Functions | |
void | appendGlobs (const MEDFileFieldGlobs &other, double eps) |
void | appendLoc (const std::string &locName, INTERP_KERNEL::NormalizedCellType geoType, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &w) |
void | appendProfile (DataArrayIdType *pfl) |
void | changeLocsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) |
void | changePflsNamesInStruct (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif) |
void | checkGlobsLocsPartCoherency (const std::vector< std::string > &locsUsed) const |
void | checkGlobsPflsPartCoherency (const std::vector< std::string > &pflsUsed) const |
std::string | createNewNameOfLoc () const |
std::string | createNewNameOfPfl () const |
MEDFileFieldGlobs * | deepCopy () const |
MEDFileFieldGlobs * | deepCpyPart (const std::vector< std::string > &pfls, const std::vector< std::string > &locs) const |
bool | existsLoc (const std::string &locName) const |
bool | existsPfl (const std::string &pflName) const |
std::string | getClassName () const override |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
std::string | getFileName () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
MEDFileFieldLoc & | getLocalization (const std::string &locName) |
const MEDFileFieldLoc & | getLocalization (const std::string &locName) const |
MEDFileFieldLoc & | getLocalizationFromId (int locId) |
const MEDFileFieldLoc & | getLocalizationFromId (int locId) const |
int | getLocalizationId (const std::string &loc) const |
std::vector< std::string > | getLocs () const |
int | getNbOfGaussPtPerCell (int locId) const |
std::vector< std::string > | getPfls () const |
DataArrayIdType * | getProfile (const std::string &pflName) |
const DataArrayIdType * | getProfile (const std::string &pflName) const |
DataArrayIdType * | getProfileFromId (int pflId) |
const DataArrayIdType * | getProfileFromId (int pflId) const |
int | getProfileId (const std::string &pfl) const |
void | killLocalizationIds (const std::vector< int > &locIds) |
void | killProfileIds (const std::vector< int > &pflIds) |
void | killStructureElementsInGlobs () |
void | loadAllGlobals (med_idt fid, const MEDFileEntities *entities) |
void | loadGlobals (med_idt fid, const MEDFileFieldGlobsReal &real) |
void | loadProfileInFile (med_idt fid, int id) |
void | loadProfileInFile (med_idt fid, int id, const std::string &pflName) |
void | setFileName (const std::string &fileName) |
MEDFileFieldGlobs * | shallowCpyPart (const std::vector< std::string > &pfls, const std::vector< std::string > &locs) const |
void | simpleRepr (std::ostream &oss) const |
std::vector< std::vector< int > > | whichAreEqualLocs (double eps) const |
std::vector< std::vector< int > > | whichAreEqualProfiles () const |
void | writeGlobals (med_idt fid, const MEDFileWritable &opt) const |
Public Member Functions inherited from MEDCoupling::RefCountObjectOnly | |
bool | decrRef () const |
int | getRCValue () const |
void | incrRef () const |
RefCountObjectOnly & | operator= (const RefCountObjectOnly &other) |
Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
std::string | debugHeapMemorySize () const |
std::vector< const BigMemoryObject * > | getAllTheProgeny () const |
std::vector< const BigMemoryObject * > | getDirectChildren () const |
std::size_t | getHeapMemorySize () const |
std::string | getHeapMemorySizeStr () const |
bool | isObjectInTheProgeny (const BigMemoryObject *obj) const |
virtual | ~BigMemoryObject () |
Static Public Member Functions | |
static std::string | CreateNewNameNotIn (const std::string &prefix, const std::vector< std::string > &namesToAvoid) |
static MEDFileFieldGlobs * | New () |
static MEDFileFieldGlobs * | New (med_idt fid) |
Static Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
static std::size_t | GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs) |
Protected Member Functions | |
MEDFileFieldGlobs () | |
MEDFileFieldGlobs (med_idt fid) | |
~MEDFileFieldGlobs () | |
Protected Member Functions inherited from MEDCoupling::RefCountObject | |
RefCountObject () | |
RefCountObject (const RefCountObject &other) | |
virtual | ~RefCountObject () |
Protected Member Functions inherited from MEDCoupling::RefCountObjectOnly | |
RefCountObjectOnly () | |
RefCountObjectOnly (const RefCountObjectOnly &other) | |
virtual | ~RefCountObjectOnly () |
Protected Attributes | |
std::string | _file_name |
std::vector< MCAuto< MEDFileFieldLoc > > | _locs |
std::vector< MCAuto< DataArrayIdType > > | _pfls |
|
protected |
|
protected |
Referenced by deepCopy(), and New().
|
protected |
|
static |
References MEDFileFieldGlobs().
|
static |
References MEDFileFieldGlobs().
Referenced by deepCpyPart(), MEDCoupling::MEDFileFieldGlobsReal::resetContent(), and shallowCpyPart().
|
overridevirtual |
Reimplemented from MEDCoupling::BigMemoryObject.
|
virtual |
Implements MEDCoupling::BigMemoryObject.
References _file_name, _locs, and _pfls.
|
virtual |
Implements MEDCoupling::BigMemoryObject.
MEDFileFieldGlobs * MEDFileFieldGlobs::deepCopy | ( | ) | const |
References _locs, _pfls, and MEDFileFieldGlobs().
MEDFileFieldGlobs * MEDFileFieldGlobs::shallowCpyPart | ( | const std::vector< std::string > & | pfls, |
const std::vector< std::string > & | locs | ||
) | const |
if | a profile in pfls in not in this. |
if | a localization in locs in not in this. |
References getFileName(), getLocalization(), getProfile(), and New().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::shallowCpyOnlyUsedGlobs().
MEDFileFieldGlobs * MEDFileFieldGlobs::deepCpyPart | ( | const std::vector< std::string > & | pfls, |
const std::vector< std::string > & | locs | ||
) | const |
if | a profile in pfls in not in this. |
if | a localization in locs in not in this. |
References getFileName(), getLocalization(), getProfile(), and New().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::deepCpyOnlyUsedGlobs().
void MEDFileFieldGlobs::simpleRepr | ( | std::ostream & | oss | ) | const |
Referenced by MEDCoupling::MEDFileFieldGlobsReal::simpleReprGlobs().
void MEDFileFieldGlobs::appendGlobs | ( | const MEDFileFieldGlobs & | other, |
double | eps | ||
) |
void MEDFileFieldGlobs::checkGlobsPflsPartCoherency | ( | const std::vector< std::string > & | pflsUsed | ) | const |
References getProfile().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::checkGlobsPflsPartCoherency().
void MEDFileFieldGlobs::checkGlobsLocsPartCoherency | ( | const std::vector< std::string > & | locsUsed | ) | const |
References getLocalization().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::checkGlobsLocsPartCoherency().
void MEDFileFieldGlobs::loadProfileInFile | ( | med_idt | fid, |
int | id, | ||
const std::string & | pflName | ||
) |
References _pfls.
Referenced by loadAllGlobals(), loadGlobals(), and MEDCoupling::MEDFileFieldGlobsReal::loadProfileInFile().
void MEDFileFieldGlobs::loadProfileInFile | ( | med_idt | fid, |
int | id | ||
) |
References _pfls.
void MEDFileFieldGlobs::loadGlobals | ( | med_idt | fid, |
const MEDFileFieldGlobsReal & | real | ||
) |
void MEDFileFieldGlobs::loadAllGlobals | ( | med_idt | fid, |
const MEDFileEntities * | entities | ||
) |
References _locs, and loadProfileInFile().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::loadAllGlobals().
void MEDFileFieldGlobs::writeGlobals | ( | med_idt | fid, |
const MEDFileWritable & | opt | ||
) | const |
Referenced by MEDCoupling::MEDFileFieldGlobsReal::writeGlobals().
std::vector< std::string > MEDFileFieldGlobs::getPfls | ( | ) | const |
References _pfls.
Referenced by appendGlobs(), createNewNameOfPfl(), existsPfl(), and MEDCoupling::MEDFileFieldGlobsReal::getPfls().
std::vector< std::string > MEDFileFieldGlobs::getLocs | ( | ) | const |
References _locs.
Referenced by appendGlobs(), createNewNameOfLoc(), existsLoc(), and MEDCoupling::MEDFileFieldGlobsReal::getLocs().
bool MEDFileFieldGlobs::existsPfl | ( | const std::string & | pflName | ) | const |
References getPfls().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::existsPfl().
bool MEDFileFieldGlobs::existsLoc | ( | const std::string & | locName | ) | const |
References getLocs().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::existsLoc().
std::string MEDFileFieldGlobs::createNewNameOfPfl | ( | ) | const |
References CreateNewNameNotIn(), and getPfls().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::createNewNameOfPfl().
std::string MEDFileFieldGlobs::createNewNameOfLoc | ( | ) | const |
References CreateNewNameNotIn(), and getLocs().
Referenced by MEDCoupling::MEDFileFieldGlobsReal::createNewNameOfLoc().
std::vector< std::vector< int > > MEDFileFieldGlobs::whichAreEqualProfiles | ( | ) | const |
References _pfls.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::whichAreEqualProfiles().
std::vector< std::vector< int > > MEDFileFieldGlobs::whichAreEqualLocs | ( | double | eps | ) | const |
Referenced by MEDCoupling::MEDFileFieldGlobsReal::whichAreEqualLocs().
void MEDCoupling::MEDFileFieldGlobs::setFileName | ( | const std::string & | fileName | ) |
References _file_name.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::setFileName().
void MEDFileFieldGlobs::changePflsNamesInStruct | ( | const std::vector< std::pair< std::vector< std::string >, std::string > > & | mapOfModif | ) |
References _pfls.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::changePflsNamesInStruct().
void MEDFileFieldGlobs::changeLocsNamesInStruct | ( | const std::vector< std::pair< std::vector< std::string >, std::string > > & | mapOfModif | ) |
References _locs.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::changeLocsNamesInStruct().
int MEDFileFieldGlobs::getNbOfGaussPtPerCell | ( | int | locId | ) | const |
References _locs.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::getNbOfGaussPtPerCell().
int MEDFileFieldGlobs::getLocalizationId | ( | const std::string & | loc | ) | const |
References _locs.
Referenced by getLocalization(), and MEDCoupling::MEDFileFieldGlobsReal::getLocalizationId().
int MEDFileFieldGlobs::getProfileId | ( | const std::string & | pfl | ) | const |
References _pfls.
Referenced by getProfile(), and MEDCoupling::MEDFileFieldGlobsReal::getProfileId().
std::string MEDCoupling::MEDFileFieldGlobs::getFileName | ( | ) | const |
References _file_name.
Referenced by deepCpyPart(), MEDCoupling::MEDFileFieldGlobsReal::getFileName(), and shallowCpyPart().
const MEDFileFieldLoc & MEDFileFieldGlobs::getLocalizationFromId | ( | int | locId | ) | const |
References _locs.
Referenced by getLocalization(), and MEDCoupling::MEDFileFieldGlobsReal::getLocalizationFromId().
const MEDFileFieldLoc & MEDFileFieldGlobs::getLocalization | ( | const std::string & | locName | ) | const |
References getLocalizationFromId(), and getLocalizationId().
Referenced by checkGlobsLocsPartCoherency(), deepCpyPart(), MEDCoupling::MEDFileFieldGlobsReal::getLocalization(), and shallowCpyPart().
const DataArrayIdType * MEDFileFieldGlobs::getProfileFromId | ( | int | pflId | ) | const |
References _pfls.
Referenced by getProfile(), and MEDCoupling::MEDFileFieldGlobsReal::getProfileFromId().
const DataArrayIdType * MEDFileFieldGlobs::getProfile | ( | const std::string & | pflName | ) | const |
The returned value is never null.
References getProfileFromId(), and getProfileId().
Referenced by checkGlobsPflsPartCoherency(), deepCpyPart(), MEDCoupling::MEDFileFieldGlobsReal::getProfile(), and shallowCpyPart().
MEDFileFieldLoc & MEDFileFieldGlobs::getLocalizationFromId | ( | int | locId | ) |
References _locs.
MEDFileFieldLoc & MEDFileFieldGlobs::getLocalization | ( | const std::string & | locName | ) |
References getLocalizationFromId(), and getLocalizationId().
DataArrayIdType * MEDFileFieldGlobs::getProfile | ( | const std::string & | pflName | ) |
The returned value is never null. Borrowed reference returned.
References _pfls.
DataArrayIdType * MEDFileFieldGlobs::getProfileFromId | ( | int | pflId | ) |
References _pfls.
void MEDFileFieldGlobs::killProfileIds | ( | const std::vector< int > & | pflIds | ) |
References _pfls.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::killProfileIds().
void MEDFileFieldGlobs::killLocalizationIds | ( | const std::vector< int > & | locIds | ) |
References _locs.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::killLocalizationIds().
void MEDFileFieldGlobs::killStructureElementsInGlobs | ( | ) |
References _locs.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::killStructureElementsInGlobs().
void MEDFileFieldGlobs::appendProfile | ( | DataArrayIdType * | pfl | ) |
References _pfls.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::appendProfile().
void MEDFileFieldGlobs::appendLoc | ( | const std::string & | locName, |
INTERP_KERNEL::NormalizedCellType | geoType, | ||
const std::vector< double > & | refCoo, | ||
const std::vector< double > & | gsCoo, | ||
const std::vector< double > & | w | ||
) |
References _locs.
Referenced by MEDCoupling::MEDFileFieldGlobsReal::appendLoc().
|
static |
Referenced by createNewNameOfLoc(), and createNewNameOfPfl().
|
protected |
Referenced by appendGlobs(), appendProfile(), changePflsNamesInStruct(), deepCopy(), getDirectChildrenWithNull(), getHeapMemorySizeWithoutChildren(), getPfls(), getProfile(), getProfileFromId(), getProfileId(), killProfileIds(), loadGlobals(), loadProfileInFile(), simpleRepr(), whichAreEqualProfiles(), and writeGlobals().
|
protected |
Referenced by appendGlobs(), appendLoc(), changeLocsNamesInStruct(), deepCopy(), getDirectChildrenWithNull(), getHeapMemorySizeWithoutChildren(), getLocalizationFromId(), getLocalizationId(), getLocs(), getNbOfGaussPtPerCell(), killLocalizationIds(), killStructureElementsInGlobs(), loadAllGlobals(), loadGlobals(), simpleRepr(), and writeGlobals().
|
protected |
Referenced by getFileName(), getHeapMemorySizeWithoutChildren(), and setFileName().