Entree_complete#
#include <Entree_complete.h>
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#
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#
List of Private Methods#
Complete Member Function Documentation#
Entree_complete#
Entree_complete::Entree_complete(const char *str, Entree &entree2)
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#
int Entree_complete::eof() override
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#
int Entree_complete::fail() override
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#
int Entree_complete::get(char *buf, 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
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#
int Entree_complete::get(double *ob, std::streamsize n) 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:`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#
int Entree_complete::get(float *ob, std::streamsize n) 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:`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#
int Entree_complete::get(long *ob, std::streamsize n) 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:`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#
int Entree_complete::get(long long *ob, std::streamsize n) 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:`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#
int Entree_complete::get(True_int *ob, std::streamsize n) 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:`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#
int Entree_complete::good() override
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>>#
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 > &) <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>>#
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 &) <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>>#
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) <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>>#
Entree & Entree_complete::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 & 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>>#
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 &)) <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>>#
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) <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>>#
Entree & Entree_complete::operator>>(float &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 & 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>>#
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 &)) <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>>#
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 &)) <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>>#
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) <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>>#
Entree & Entree_complete::operator>>(long &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 & 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>>#
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) <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>>#
Entree & Entree_complete::operator>>(long long &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 & 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>>#
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 <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>>#
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) <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>>#
Entree & Entree_complete::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 & 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#
void Entree_complete::set_bin(bool bin) override
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#
void Entree_complete::set_check_types(bool flag) override
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#
void Entree_complete::set_error_action(Error_Action) override
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#
Entree_complete::~Entree_complete() override
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#
Entree & Entree_complete::get_input()
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 & 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#
int Entree_complete::get_template(_TYPE_ *ob, std::streamsize n)
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#
Entree & Entree_complete::operator_template(_TYPE_ &ob)
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#
EChaine Entree_complete::chaine_str_
Entree* Entree_complete::entree2_
int Entree_complete::num_entree_
int Entree_complete::str_size_