#include <GridIfpEn.hpp>
|
void | _writeLine (int mode, const char *comment, int valint, double valrel, const char *combis) |
|
int | _readLine (int mode, const char *comment, int *valint, double *valrel) |
|
◆ GridIfpEn() [1/2]
GridIfpEn::GridIfpEn |
( |
const char * |
filename, |
|
|
const Db * |
db = nullptr |
|
) |
| |
◆ GridIfpEn() [2/2]
◆ ~GridIfpEn()
GridIfpEn::~GridIfpEn |
( |
| ) |
|
|
virtual |
◆ _readLine()
int GridIfpEn::_readLine |
( |
int |
mode, |
|
|
const char * |
comment, |
|
|
int * |
valint, |
|
|
double * |
valrel |
|
) |
| |
|
private |
Decode a line for IFPEN file
- Parameters
-
[in] | mode | Type of encoding
- 0 : Comment
- 1 : Integer value
- 2 : Real value
|
[in] | comment | Comment string (or NULL) |
[out] | valint | Integer value |
[out] | valrel | Float value |
◆ _writeLine()
void GridIfpEn::_writeLine |
( |
int |
mode, |
|
|
const char * |
comment, |
|
|
int |
valint, |
|
|
double |
valrel, |
|
|
const char * |
combis |
|
) |
| |
|
private |
Encode a line for IFPEN file
- Parameters
-
[in] | mode | Type of encoding
- 0 : Comment
- 1 : Integer value
- 2 : Real value
|
[in] | comment | Comment string (or NULL) |
[in] | valint | Integer value |
[in] | valrel | Float value |
[in] | combis | Second comment (or NULL) |
◆ mustBeForNDim()
bool GridIfpEn::mustBeForNDim |
( |
int |
| ) |
const |
|
inlineoverridevirtual |
◆ mustBeForRotation()
bool GridIfpEn::mustBeForRotation |
( |
int |
mode | ) |
const |
|
inlineoverridevirtual |
◆ mustBeGrid()
bool GridIfpEn::mustBeGrid |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ mustBeOneVariable()
bool GridIfpEn::mustBeOneVariable |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ operator=()
◆ readGridFromFile()
DbGrid * GridIfpEn::readGridFromFile |
( |
| ) |
|
|
overridevirtual |
◆ writeInFile()
int GridIfpEn::writeInFile |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: