Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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::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::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 (med_idt fid)
 
static MEDFileParameterMultiTSNew (const std::string &fileName, const std::string &paramName)
 
static MEDFileParameterMultiTSNew (med_idt fid, const std::string &paramName)
 

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::MEDFileParameterMultiTS ( )
protected

Referenced by deepCopy(), and New().

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

Member Function Documentation

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

References New().

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

References New().

MEDFileParameterMultiTS * MEDFileParameterMultiTS::New ( med_idt  fid,
const std::string &  paramName 
)
static
std::string MEDCoupling::MEDFileParameterMultiTS::getName ( ) const
void MEDCoupling::MEDFileParameterMultiTS::setName ( const std::string &  name)
std::size_t MEDFileParameterMultiTS::getHeapMemorySizeWithoutChildren ( ) const
virtual
std::vector< const BigMemoryObject * > MEDFileParameterMultiTS::getDirectChildrenWithNull ( ) const
virtual
MEDFileParameterMultiTS * MEDFileParameterMultiTS::deepCopy ( ) const
bool MEDFileParameterMultiTS::isEqual ( const MEDFileParameterMultiTS other,
double  eps,
std::string &  what 
) const

References _param_per_ts.

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

References writeAdvanced().

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

References simpleRepr2().

void MEDFileParameterMultiTS::appendValue ( int  dt,
int  it,
double  time,
double  val 
)
double MEDFileParameterMultiTS::getDoubleValue ( int  iteration,
int  order 
) const
int MEDFileParameterMultiTS::getPosOfTimeStep ( int  iteration,
int  order 
) const
int MEDFileParameterMultiTS::getPosGivenTime ( double  time,
double  eps = 1e-8 
) const
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.

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

References _param_per_ts.

int MEDFileParameterMultiTS::getNumberOfTS ( ) const

References getIterations().

std::vector< std::pair< int, int > > MEDFileParameterMultiTS::getIterations ( ) const
std::vector< std::pair< int, int > > MEDFileParameterMultiTS::getTimeSteps ( std::vector< double > &  ret1) const
void MEDFileParameterMultiTS::simpleRepr2 ( int  bkOffset,
std::ostream &  oss 
) const
void MEDFileParameterMultiTS::finishLoading ( med_idt  fid,
med_parameter_type  typ,
int  nbOfSteps 
)
protected

Member Data Documentation