EChaineJDD#
#include <EChaineJDD.h>
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#
public : Entree
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Protected Methods#
Complete Member Function Documentation#
EChaineJDD#
EChaineJDD::EChaineJDD()
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#
EChaineJDD::EChaineJDD(const char *str)
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#
int Entree::get(char *buf, std::streamsize bufsize)
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#
int EChaineJDD::get(char *ob, std::streamsize bufsize) override
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#
int Entree::get(double *ob, std::streamsize n)
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#
int Entree::get(float *ob, std::streamsize n)
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#
int Entree::get(long *ob, std::streamsize n)
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#
int Entree::get(long long *ob, std::streamsize n)
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#
int Entree::get(True_int *ob, std::streamsize n)
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#
void EChaineJDD::init(const char *str)
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>>#
Entree & Entree::operator>>(const TRUST_Ref< T > &)
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>>#
Entree & Entree::operator>>(const TRUST_Ref_Objet_U &)
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>>#
Entree & Entree::operator>>(double &ob)
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>>#
Entree & EChaineJDD::operator>>(double &ob) override
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>>#
Entree & Entree::operator>>(Entree &(*f)(Entree &))
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>>#
Entree & Entree::operator>>(float &ob)
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>>#
Entree & Entree::operator>>(ios &(*f)(ios &))
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>>#
Entree & Entree::operator>>(istream &(*f)(istream &))
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>>#
Entree & Entree::operator>>(long &ob)
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>>#
Entree & Entree::operator>>(long long &ob)
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>>#
Entree & Entree::operator>>(Objet_U &ob) final
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>>#
Entree & Entree::operator>>(True_int &ob)
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>>#
Entree & EChaineJDD::operator>>(True_int &ob) override
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#
void EChaineJDD::set_track_lines(bool b)
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#
EChaineJDD::~EChaineJDD() override
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#
Entree & EChaineJDD::operator_template(_TYPE_ &ob)
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#
int EChaineJDD::file_cur_line_ = 1
istringstream* EChaineJDD::istrstream_
bool EChaineJDD::track_lines_