Entree_complete#

#include <Entree_complete.h>
Brief description

Cette classe se comporte comme EChaine tant que l’on n’est pas a la fin de la chaine.

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:`Entree\_complete <class-entree-complete>`
[Entree\_complete](#class-entree-complete)

Detailed description#

La suite est lue dans entree2 passee en parametre. check_types() et error_action() sont identiques a ceux de entree2

Inherits from#

Inheritance graph#

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

../../../../../_images/classEntree__complete__inherit__graph.png

List of Public Methods#

List of Protected Methods#

List of Private Methods#

Complete Member Function Documentation#

Entree_complete#

Definition
Entree_complete::Entree_complete(const char *str, Entree &entree2)
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_complete::Entree_complete(const char *str, Entree &entree2) <entree-complete-public-entree-complete-entree-complete-const-char-ptr-str-entree-ref-entree2>`
[Entree_complete::Entree_complete(const char *str, Entree &entree2)](#entree-complete-public-entree-complete-entree-complete-const-char-ptr-str-entree-ref-entree2)

eof#

Definition
int Entree_complete::eof() override
Brief description
Detailed description

Reimplements:

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:`int Entree_complete::eof() override <entree-complete-public-int-entree-complete-eof-override>`
[int Entree_complete::eof() override](#entree-complete-public-int-entree-complete-eof-override)

fail#

Definition
int Entree_complete::fail() override
Brief description
Detailed description

Reimplements:

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:`int Entree_complete::fail() override <entree-complete-public-int-entree-complete-fail-override>`
[int Entree_complete::fail() override](#entree-complete-public-int-entree-complete-fail-override)

get#

Definition
int Entree_complete::get(char *buf, 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
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_complete::get(char *buf, std::streamsize bufsize) override <entree-complete-public-int-entree-complete-get-char-ptr-buf-std-streamsize-bufsize-override>`
[int Entree_complete::get(char *buf, std::streamsize bufsize) override](#entree-complete-public-int-entree-complete-get-char-ptr-buf-std-streamsize-bufsize-override)

get#

Definition
int Entree_complete::get(double *ob, std::streamsize n) 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:`int Entree_complete::get(double *ob, std::streamsize n) override <entree-complete-public-int-entree-complete-get-double-ptr-ob-std-streamsize-n-override>`
[int Entree_complete::get(double *ob, std::streamsize n) override](#entree-complete-public-int-entree-complete-get-double-ptr-ob-std-streamsize-n-override)

get#

Definition
int Entree_complete::get(float *ob, std::streamsize n) 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:`int Entree_complete::get(float *ob, std::streamsize n) override <entree-complete-public-int-entree-complete-get-float-ptr-ob-std-streamsize-n-override>`
[int Entree_complete::get(float *ob, std::streamsize n) override](#entree-complete-public-int-entree-complete-get-float-ptr-ob-std-streamsize-n-override)

get#

Definition
int Entree_complete::get(long *ob, std::streamsize n) 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:`int Entree_complete::get(long *ob, std::streamsize n) override <entree-complete-public-int-entree-complete-get-long-ptr-ob-std-streamsize-n-override>`
[int Entree_complete::get(long *ob, std::streamsize n) override](#entree-complete-public-int-entree-complete-get-long-ptr-ob-std-streamsize-n-override)

get#

Definition
int Entree_complete::get(long long *ob, std::streamsize n) 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:`int Entree_complete::get(long long *ob, std::streamsize n) override <entree-complete-public-int-entree-complete-get-long-long-ptr-ob-std-streamsize-n-override>`
[int Entree_complete::get(long long *ob, std::streamsize n) override](#entree-complete-public-int-entree-complete-get-long-long-ptr-ob-std-streamsize-n-override)

get#

Definition
int Entree_complete::get(True_int *ob, std::streamsize n) 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:`int Entree_complete::get(True_int *ob, std::streamsize n) override <entree-complete-public-int-entree-complete-get-true-int-ptr-ob-std-streamsize-n-override>`
[int Entree_complete::get(True_int *ob, std::streamsize n) override](#entree-complete-public-int-entree-complete-get-true-int-ptr-ob-std-streamsize-n-override)

good#

Definition
int Entree_complete::good() override
Brief description
Detailed description

Reimplements:

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:`int Entree_complete::good() override <entree-complete-public-int-entree-complete-good-override>`
[int Entree_complete::good() override](#entree-complete-public-int-entree-complete-good-override)

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 > &) <entree-complete-public-entree-ref-entree-operator-const-trust-ref-t-ref>`
[Entree & Entree::operator>>(const TRUST_Ref< T > &)](#entree-complete-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 &) <entree-complete-public-entree-ref-entree-operator-const-trust-ref-objet-u-ref>`
[Entree & Entree::operator>>(const TRUST_Ref_Objet_U &)](#entree-complete-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) <entree-complete-public-entree-ref-entree-operator-double-ref-ob>`
[Entree & Entree::operator>>(double &ob)](#entree-complete-public-entree-ref-entree-operator-double-ref-ob)

operator>>#

Definition
Entree & Entree_complete::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 & Entree_complete::operator>>(double &ob) override <entree-complete-public-entree-ref-entree-complete-operator-double-ref-ob-override>`
[Entree & Entree_complete::operator>>(double &ob) override](#entree-complete-public-entree-ref-entree-complete-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 &)) <entree-complete-public-entree-ref-entree-operator-entree-ref-ptr-f-entree-ref>`
[Entree & Entree::operator>>(Entree &(*f)(Entree &))](#entree-complete-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) <entree-complete-public-entree-ref-entree-operator-float-ref-ob>`
[Entree & Entree::operator>>(float &ob)](#entree-complete-public-entree-ref-entree-operator-float-ref-ob)

operator>>#

Definition
Entree & Entree_complete::operator>>(float &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 & Entree_complete::operator>>(float &ob) override <entree-complete-public-entree-ref-entree-complete-operator-float-ref-ob-override>`
[Entree & Entree_complete::operator>>(float &ob) override](#entree-complete-public-entree-ref-entree-complete-operator-float-ref-ob-override)

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 &)) <entree-complete-public-entree-ref-entree-operator-ios-ref-ptr-f-ios-ref>`
[Entree & Entree::operator>>(ios &(*f)(ios &))](#entree-complete-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 &)) <entree-complete-public-entree-ref-entree-operator-istream-ref-ptr-f-istream-ref>`
[Entree & Entree::operator>>(istream &(*f)(istream &))](#entree-complete-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) <entree-complete-public-entree-ref-entree-operator-long-ref-ob>`
[Entree & Entree::operator>>(long &ob)](#entree-complete-public-entree-ref-entree-operator-long-ref-ob)

operator>>#

Definition
Entree & Entree_complete::operator>>(long &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 & Entree_complete::operator>>(long &ob) override <entree-complete-public-entree-ref-entree-complete-operator-long-ref-ob-override>`
[Entree & Entree_complete::operator>>(long &ob) override](#entree-complete-public-entree-ref-entree-complete-operator-long-ref-ob-override)

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) <entree-complete-public-entree-ref-entree-operator-long-long-ref-ob>`
[Entree & Entree::operator>>(long long &ob)](#entree-complete-public-entree-ref-entree-operator-long-long-ref-ob)

operator>>#

Definition
Entree & Entree_complete::operator>>(long long &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 & Entree_complete::operator>>(long long &ob) override <entree-complete-public-entree-ref-entree-complete-operator-long-long-ref-ob-override>`
[Entree & Entree_complete::operator>>(long long &ob) override](#entree-complete-public-entree-ref-entree-complete-operator-long-long-ref-ob-override)

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 <entree-complete-public-entree-ref-entree-operator-objet-u-ref-ob-final>`
[Entree & Entree::operator>>(Objet_U &ob) final](#entree-complete-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) <entree-complete-public-entree-ref-entree-operator-true-int-ref-ob>`
[Entree & Entree::operator>>(True_int &ob)](#entree-complete-public-entree-ref-entree-operator-true-int-ref-ob)

operator>>#

Definition
Entree & Entree_complete::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 & Entree_complete::operator>>(True_int &ob) override <entree-complete-public-entree-ref-entree-complete-operator-true-int-ref-ob-override>`
[Entree & Entree_complete::operator>>(True_int &ob) override](#entree-complete-public-entree-ref-entree-complete-operator-true-int-ref-ob-override)

set_bin#

Definition
void Entree_complete::set_bin(bool bin) override
Brief description

Il est interdit de changer de type d’entree.

Detailed description

exit()

Reimplements:

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:`void Entree_complete::set_bin(bool bin) override <entree-complete-public-void-entree-complete-set-bin-bool-bin-override>`
[void Entree_complete::set_bin(bool bin) override](#entree-complete-public-void-entree-complete-set-bin-bool-bin-override)

set_check_types#

Definition
void Entree_complete::set_check_types(bool flag) override
Brief description

affecte le drapeau aux deux entrees sources Attention, le drapeau de entree2 est modifie !

Detailed description

Reimplements:

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:`void Entree_complete::set_check_types(bool flag) override <entree-complete-public-void-entree-complete-set-check-types-bool-flag-override>`
[void Entree_complete::set_check_types(bool flag) override](#entree-complete-public-void-entree-complete-set-check-types-bool-flag-override)

set_error_action#

Definition
void Entree_complete::set_error_action(Error_Action) override
Brief description

affecte la valeur aux deux entrees sources Attention, la valeur de entree2 est modifiee !

Detailed description

Reimplements:

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:`void Entree_complete::set_error_action(Error_Action) override <entree-complete-public-void-entree-complete-set-error-action-error-action-override>`
[void Entree_complete::set_error_action(Error_Action) override](#entree-complete-public-void-entree-complete-set-error-action-error-action-override)

~Entree_complete#

Definition
Entree_complete::~Entree_complete() override
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_complete::~Entree_complete() override <entree-complete-public-entree-complete-dtor-entree-complete-override>`
[Entree_complete::~Entree_complete() override](#entree-complete-public-entree-complete-dtor-entree-complete-override)

get_input#

Definition
Entree & Entree_complete::get_input()
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:`Entree & Entree_complete::get_input() <entree-complete-protected-entree-ref-entree-complete-get-input>`
[Entree & Entree_complete::get_input()](#entree-complete-protected-entree-ref-entree-complete-get-input)

get_template#

Definition
int Entree_complete::get_template(_TYPE_ *ob, std::streamsize n)
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:`int Entree_complete::get_template(_TYPE_ *ob, std::streamsize n) <entree-complete-private-int-entree-complete-get-template-type-ptr-ob-std-streamsize-n>`
[int Entree_complete::get_template(_TYPE_ *ob, std::streamsize n)](#entree-complete-private-int-entree-complete-get-template-type-ptr-ob-std-streamsize-n)

operator_template#

Definition
Entree & Entree_complete::operator_template(_TYPE_ &ob)
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_complete::operator_template(_TYPE_ &ob) <entree-complete-private-entree-ref-entree-complete-operator-template-type-ref-ob>`
[Entree & Entree_complete::operator_template(_TYPE_ &ob)](#entree-complete-private-entree-ref-entree-complete-operator-template-type-ref-ob)

Attributes Documentation#

chaine_str_ (protected)
EChaine Entree_complete::chaine_str_
entree2_ (protected)
Entree* Entree_complete::entree2_
num_entree_ (protected)
int Entree_complete::num_entree_
str_size_ (protected)
int Entree_complete::str_size_