Version: 9.12.0
MEDCoupling::MEDFileParameterMultiTS Class Reference
Inheritance diagram for MEDCoupling::MEDFileParameterMultiTS:
Collaboration diagram for MEDCoupling::MEDFileParameterMultiTS:

Public Member Functions

void appendValue (int dt, int it, double time, double val)
 
MEDFileParameterMultiTSdeepCopy () const
 
void eraseTimeStepIds (const int *startIds, const int *endIds)
 
std::string getClassName () const override
 
std::vector< const BigMemoryObject * > getDirectChildrenWithNull () const
 
double getDoubleValue (int iteration, int order) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
std::vector< std::pair< int, int > > getIterations () const
 
std::string getName () const
 
int getNumberOfTS () const
 
int getPosGivenTime (double time, double eps=1e-8) const
 
int getPosOfTimeStep (int iteration, int order) const
 
MEDFileParameter1TSgetTimeStepAtPos (int posId) const
 
std::vector< std::pair< int, int > > getTimeSteps (std::vector< double > &ret1) const
 
bool isEqual (const MEDFileParameterMultiTS *other, double eps, std::string &what) const
 
void setName (const std::string &name)
 
std::string simpleRepr () const
 
void simpleRepr2 (int bkOffset, std::ostream &oss) const
 
void write (const std::string &fileName, int mode) const
 
void writeAdvanced (med_idt fid, const MEDFileWritable &mw) const
 
- Public Member Functions inherited from MEDCoupling::RefCountObjectOnly
bool decrRef () const
 
int getRCValue () const
 
void incrRef () const
 
RefCountObjectOnlyoperator= (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 ()
 
- Public Member Functions inherited from MEDCoupling::MEDFileParameterTinyInfo
std::string getDescription () const
 
std::size_t getHeapMemSizeOfStrings () const
 
std::string getTimeUnit () const
 
bool isEqualStrings (const MEDFileParameterTinyInfo &other, std::string &what) const
 
void setDescription (const std::string &name)
 
void setTimeUnit (const std::string &unit)
 

Static Public Member Functions

static MEDFileParameterMultiTSNew ()
 
static MEDFileParameterMultiTSNew (const std::string &fileName)
 
static MEDFileParameterMultiTSNew (const std::string &fileName, const std::string &paramName)
 
static MEDFileParameterMultiTSNew (med_idt fid)
 
static MEDFileParameterMultiTSNew (med_idt fid, const std::string &paramName)
 
- Static Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 

Protected Member Functions

void finishLoading (med_idt fid, med_parameter_type typ, int nbOfSteps)
 
 MEDFileParameterMultiTS ()
 
 MEDFileParameterMultiTS (const MEDFileParameterMultiTS &other, bool deepCopy)
 
 MEDFileParameterMultiTS (med_idt fid)
 
 MEDFileParameterMultiTS (med_idt fid, const std::string &paramName)
 
- 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 Member Functions inherited from MEDCoupling::MEDFileParameterTinyInfo
void mainRepr (int bkOffset, std::ostream &oss) const
 
void writeLLHeader (med_idt fid, med_parameter_type typ) const
 

Protected Attributes

std::vector< MCAuto< MEDFileParameter1TS > > _param_per_ts
 
- Protected Attributes inherited from MEDCoupling::MEDFileParameterTinyInfo
std::string _desc_name
 
std::string _dt_unit
 
std::string _name
 

Constructor & Destructor Documentation

◆ MEDFileParameterMultiTS() [1/4]

MEDFileParameterMultiTS::MEDFileParameterMultiTS ( )
protected

Referenced by deepCopy(), and New().

◆ MEDFileParameterMultiTS() [2/4]

MEDFileParameterMultiTS::MEDFileParameterMultiTS ( const MEDFileParameterMultiTS other,
bool  deepCopy 
)
protected

◆ MEDFileParameterMultiTS() [3/4]

◆ MEDFileParameterMultiTS() [4/4]

MEDFileParameterMultiTS::MEDFileParameterMultiTS ( med_idt  fid,
const std::string &  paramName 
)
protected

Member Function Documentation

◆ New() [1/5]

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( )
static

◆ New() [2/5]

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( const std::string &  fileName)
static

References New().

◆ New() [3/5]

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( med_idt  fid)
static

◆ New() [4/5]

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( const std::string &  fileName,
const std::string &  paramName 
)
static

References New().

◆ New() [5/5]

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( med_idt  fid,
const std::string &  paramName 
)
static

◆ getClassName()

std::string MEDCoupling::MEDFileParameterMultiTS::getClassName ( ) const
overridevirtual

Reimplemented from MEDCoupling::BigMemoryObject.

◆ getName()

std::string MEDCoupling::MEDFileParameterMultiTS::getName ( ) const

◆ setName()

void MEDCoupling::MEDFileParameterMultiTS::setName ( const std::string &  name)

◆ getHeapMemorySizeWithoutChildren()

std::size_t MEDFileParameterMultiTS::getHeapMemorySizeWithoutChildren ( ) const
virtual

◆ getDirectChildrenWithNull()

std::vector< const BigMemoryObject * > MEDFileParameterMultiTS::getDirectChildrenWithNull ( ) const
virtual

◆ deepCopy()

MEDFileParameterMultiTS * MEDFileParameterMultiTS::deepCopy ( ) const

◆ isEqual()

bool MEDFileParameterMultiTS::isEqual ( const MEDFileParameterMultiTS other,
double  eps,
std::string &  what 
) const

References _param_per_ts.

◆ write()

void MEDFileParameterMultiTS::write ( const std::string &  fileName,
int  mode 
) const

References writeAdvanced().

◆ writeAdvanced()

void MEDFileParameterMultiTS::writeAdvanced ( med_idt  fid,
const MEDFileWritable &  mw 
) const

◆ simpleRepr()

std::string MEDFileParameterMultiTS::simpleRepr ( ) const

References simpleRepr2().

◆ appendValue()

void MEDFileParameterMultiTS::appendValue ( int  dt,
int  it,
double  time,
double  val 
)

◆ getDoubleValue()

double MEDFileParameterMultiTS::getDoubleValue ( int  iteration,
int  order 
) const

◆ getPosOfTimeStep()

int MEDFileParameterMultiTS::getPosOfTimeStep ( int  iteration,
int  order 
) const

◆ getPosGivenTime()

int MEDFileParameterMultiTS::getPosGivenTime ( double  time,
double  eps = 1e-8 
) const

◆ getTimeStepAtPos()

MEDFileParameter1TS * MEDFileParameterMultiTS::getTimeStepAtPos ( int  posId) const
Returns
an internal pointer that can be null. Warning the caller is not responsible of the returned pointer.

References _param_per_ts.

◆ eraseTimeStepIds()

void MEDFileParameterMultiTS::eraseTimeStepIds ( const int *  startIds,
const int *  endIds 
)

References _param_per_ts.

◆ getNumberOfTS()

int MEDFileParameterMultiTS::getNumberOfTS ( ) const

References getIterations().

◆ getIterations()

std::vector< std::pair< int, int > > MEDFileParameterMultiTS::getIterations ( ) const

◆ getTimeSteps()

std::vector< std::pair< int, int > > MEDFileParameterMultiTS::getTimeSteps ( std::vector< double > &  ret1) const

◆ simpleRepr2()

void MEDFileParameterMultiTS::simpleRepr2 ( int  bkOffset,
std::ostream &  oss 
) const

◆ finishLoading()

void MEDFileParameterMultiTS::finishLoading ( med_idt  fid,
med_parameter_type  typ,
int  nbOfSteps 
)
protected

Member Data Documentation

◆ _param_per_ts