EChaineJDD#

#include <EChaineJDD.h>
Brief description

Same as EChaine except here the input string comes from a datafile. Keeps a track of the lines that have been read in the datafile so far, so in case of a TRUST crash, we can get the line in the datafile where the error occured.

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`EChaineJDD <class-echainejdd>`
[EChaineJDD](#class-echainejdd)

Detailed description#

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classEChaineJDD__inherit__graph.png

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

EChaineJDD#

Definition
EChaineJDD::EChaineJDD()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`EChaineJDD::EChaineJDD() <echainejdd-public-echainejdd-echainejdd>`
[EChaineJDD::EChaineJDD()](#echainejdd-public-echainejdd-echainejdd)

EChaineJDD#

Definition
EChaineJDD::EChaineJDD(const char *str)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`EChaineJDD::EChaineJDD(const char *str) <echainejdd-public-echainejdd-echainejdd-const-char-ptr-str>`
[EChaineJDD::EChaineJDD(const char *str)](#echainejdd-public-echainejdd-echainejdd-const-char-ptr-str)

get#

Definition
int Entree::get(char *buf, std::streamsize bufsize)
Brief description

Lecture d’une chaine dans ostream_ bufsize est la taille du buffer alloue pour ob (y compris.

Detailed description

le caractere 0 final). La chaine contient toujours un 0 meme en cas d’echec. La methode renvoie 1 si la lecture est bonne, 0 sinon. Si le buffer est trop petit, pour l’instant on fait exit() mais par la suite on pourra tester: si strlen(ob) = = bufsize-1, alors refaire lire() jusqu’a arriver au bout. Si le lire() suivant renvoie une chaine de longueur nulle, cela signifie que la taille de la chaine etait exactement bufsize-1. Attention: le comportement est different en binaire et en ascii. En binaire, on lit la chaine jusqu’au prochain ‘0’. En ascii, on lit la chaine jusqu’au prochain separateur (espace, tab, fin ligne)

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(char *buf, std::streamsize bufsize) <echainejdd-public-int-entree-get-char-ptr-buf-std-streamsize-bufsize>`
[int Entree::get(char *buf, std::streamsize bufsize)](#echainejdd-public-int-entree-get-char-ptr-buf-std-streamsize-bufsize)

get#

Definition
int EChaineJDD::get(char *ob, std::streamsize bufsize) override
Brief description

Lecture d’une chaine dans ostream_ bufsize est la taille du buffer alloue pour ob (y compris.

Detailed description

le caractere 0 final). La chaine contient toujours un 0 meme en cas d’echec. La methode renvoie 1 si la lecture est bonne, 0 sinon. Si le buffer est trop petit, pour l’instant on fait exit() mais par la suite on pourra tester: si strlen(ob) = = bufsize-1, alors refaire lire() jusqu’a arriver au bout. Si le lire() suivant renvoie une chaine de longueur nulle, cela signifie que la taille de la chaine etait exactement bufsize-1. Attention: le comportement est different en binaire et en ascii. En binaire, on lit la chaine jusqu’au prochain ‘0’. En ascii, on lit la chaine jusqu’au prochain separateur (espace, tab, fin ligne)

Reimplements:

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int EChaineJDD::get(char *ob, std::streamsize bufsize) override <echainejdd-public-int-echainejdd-get-char-ptr-ob-std-streamsize-bufsize-override>`
[int EChaineJDD::get(char *ob, std::streamsize bufsize) override](#echainejdd-public-int-echainejdd-get-char-ptr-ob-std-streamsize-bufsize-override)

get#

Definition
int Entree::get(double *ob, std::streamsize n)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(double *ob, std::streamsize n) <echainejdd-public-int-entree-get-double-ptr-ob-std-streamsize-n>`
[int Entree::get(double *ob, std::streamsize n)](#echainejdd-public-int-entree-get-double-ptr-ob-std-streamsize-n)

get#

Definition
int Entree::get(float *ob, std::streamsize n)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(float *ob, std::streamsize n) <echainejdd-public-int-entree-get-float-ptr-ob-std-streamsize-n>`
[int Entree::get(float *ob, std::streamsize n)](#echainejdd-public-int-entree-get-float-ptr-ob-std-streamsize-n)

get#

Definition
int Entree::get(long *ob, std::streamsize n)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(long *ob, std::streamsize n) <echainejdd-public-int-entree-get-long-ptr-ob-std-streamsize-n>`
[int Entree::get(long *ob, std::streamsize n)](#echainejdd-public-int-entree-get-long-ptr-ob-std-streamsize-n)

get#

Definition
int Entree::get(long long *ob, std::streamsize n)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(long long *ob, std::streamsize n) <echainejdd-public-int-entree-get-long-long-ptr-ob-std-streamsize-n>`
[int Entree::get(long long *ob, std::streamsize n)](#echainejdd-public-int-entree-get-long-long-ptr-ob-std-streamsize-n)

get#

Definition
int Entree::get(True_int *ob, std::streamsize n)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Entree::get(True_int *ob, std::streamsize n) <echainejdd-public-int-entree-get-true-int-ptr-ob-std-streamsize-n>`
[int Entree::get(True_int *ob, std::streamsize n)](#echainejdd-public-int-entree-get-true-int-ptr-ob-std-streamsize-n)

init#

Definition
void EChaineJDD::init(const char *str)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void EChaineJDD::init(const char *str) <echainejdd-public-void-echainejdd-init-const-char-ptr-str>`
[void EChaineJDD::init(const char *str)](#echainejdd-public-void-echainejdd-init-const-char-ptr-str)

operator>>#

Definition
Entree & Entree::operator>>(const TRUST_Ref< T > &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(const TRUST_Ref< T > &) <echainejdd-public-entree-ref-entree-operator-const-trust-ref-t-ref>`
[Entree & Entree::operator>>(const TRUST_Ref< T > &)](#echainejdd-public-entree-ref-entree-operator-const-trust-ref-t-ref)

operator>>#

Definition
Entree & Entree::operator>>(const TRUST_Ref_Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(const TRUST_Ref_Objet_U &) <echainejdd-public-entree-ref-entree-operator-const-trust-ref-objet-u-ref>`
[Entree & Entree::operator>>(const TRUST_Ref_Objet_U &)](#echainejdd-public-entree-ref-entree-operator-const-trust-ref-objet-u-ref)

operator>>#

Definition
Entree & Entree::operator>>(double &ob)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(double &ob) <echainejdd-public-entree-ref-entree-operator-double-ref-ob>`
[Entree & Entree::operator>>(double &ob)](#echainejdd-public-entree-ref-entree-operator-double-ref-ob)

operator>>#

Definition
Entree & EChaineJDD::operator>>(double &ob) override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & EChaineJDD::operator>>(double &ob) override <echainejdd-public-entree-ref-echainejdd-operator-double-ref-ob-override>`
[Entree & EChaineJDD::operator>>(double &ob) override](#echainejdd-public-entree-ref-echainejdd-operator-double-ref-ob-override)

operator>>#

Definition
Entree & Entree::operator>>(Entree &(*f)(Entree &))
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(Entree &(*f)(Entree &)) <echainejdd-public-entree-ref-entree-operator-entree-ref-ptr-f-entree-ref>`
[Entree & Entree::operator>>(Entree &(*f)(Entree &))](#echainejdd-public-entree-ref-entree-operator-entree-ref-ptr-f-entree-ref)

operator>>#

Definition
Entree & Entree::operator>>(float &ob)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(float &ob) <echainejdd-public-entree-ref-entree-operator-float-ref-ob>`
[Entree & Entree::operator>>(float &ob)](#echainejdd-public-entree-ref-entree-operator-float-ref-ob)

operator>>#

Definition
Entree & Entree::operator>>(ios &(*f)(ios &))
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(ios &(*f)(ios &)) <echainejdd-public-entree-ref-entree-operator-ios-ref-ptr-f-ios-ref>`
[Entree & Entree::operator>>(ios &(*f)(ios &))](#echainejdd-public-entree-ref-entree-operator-ios-ref-ptr-f-ios-ref)

operator>>#

Definition
Entree & Entree::operator>>(istream &(*f)(istream &))
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(istream &(*f)(istream &)) <echainejdd-public-entree-ref-entree-operator-istream-ref-ptr-f-istream-ref>`
[Entree & Entree::operator>>(istream &(*f)(istream &))](#echainejdd-public-entree-ref-entree-operator-istream-ref-ptr-f-istream-ref)

operator>>#

Definition
Entree & Entree::operator>>(long &ob)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(long &ob) <echainejdd-public-entree-ref-entree-operator-long-ref-ob>`
[Entree & Entree::operator>>(long &ob)](#echainejdd-public-entree-ref-entree-operator-long-ref-ob)

operator>>#

Definition
Entree & Entree::operator>>(long long &ob)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(long long &ob) <echainejdd-public-entree-ref-entree-operator-long-long-ref-ob>`
[Entree & Entree::operator>>(long long &ob)](#echainejdd-public-entree-ref-entree-operator-long-long-ref-ob)

operator>>#

Definition
Entree & Entree::operator>>(Objet_U &ob) final
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(Objet_U &ob) final <echainejdd-public-entree-ref-entree-operator-objet-u-ref-ob-final>`
[Entree & Entree::operator>>(Objet_U &ob) final](#echainejdd-public-entree-ref-entree-operator-objet-u-ref-ob-final)

operator>>#

Definition
Entree & Entree::operator>>(True_int &ob)
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Entree::operator>>(True_int &ob) <echainejdd-public-entree-ref-entree-operator-true-int-ref-ob>`
[Entree & Entree::operator>>(True_int &ob)](#echainejdd-public-entree-ref-entree-operator-true-int-ref-ob)

operator>>#

Definition
Entree & EChaineJDD::operator>>(True_int &ob) override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & EChaineJDD::operator>>(True_int &ob) override <echainejdd-public-entree-ref-echainejdd-operator-true-int-ref-ob-override>`
[Entree & EChaineJDD::operator>>(True_int &ob) override](#echainejdd-public-entree-ref-echainejdd-operator-true-int-ref-ob-override)

set_track_lines#

Definition
void EChaineJDD::set_track_lines(bool b)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void EChaineJDD::set_track_lines(bool b) <echainejdd-public-void-echainejdd-set-track-lines-bool-b>`
[void EChaineJDD::set_track_lines(bool b)](#echainejdd-public-void-echainejdd-set-track-lines-bool-b)

~EChaineJDD#

Definition
EChaineJDD::~EChaineJDD() override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`EChaineJDD::~EChaineJDD() override <echainejdd-public-echainejdd-dtor-echainejdd-override>`
[EChaineJDD::~EChaineJDD() override](#echainejdd-public-echainejdd-dtor-echainejdd-override)

operator_template#

Definition
Entree & EChaineJDD::operator_template(_TYPE_ &ob)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & EChaineJDD::operator_template(_TYPE_ &ob) <echainejdd-protected-entree-ref-echainejdd-operator-template-type-ref-ob>`
[Entree & EChaineJDD::operator_template(_TYPE_ &ob)](#echainejdd-protected-entree-ref-echainejdd-operator-template-type-ref-ob)

Attributes Documentation#

file_cur_line_ (public)
int EChaineJDD::file_cur_line_ = 1
istrstream_ (protected)
istringstream* EChaineJDD::istrstream_
track_lines_ (protected)
bool EChaineJDD::track_lines_