std::basic_ios::rdbuf
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
std::basic_streambuf<CharT,Traits>* rdbuf()const; | (1) | |
std::basic_streambuf<CharT,Traits>* rdbuf(std::basic_streambuf<CharT,Traits>* sb ); | (2) | |
Gerencia o buffer de fluxo associado.
1) Original:
Manages the associated stream buffer.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Retorna o buffer de fluxo associado. Se não houver um buffer de fluxo associado, retorna NULL.
2) Original:
Returns the associated stream buffer. If there is no associated stream buffer, returns NULL.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Define o buffer de fluxo associado para
sb
. O estado de erro de sb
é eliminado chamando sb.clear(). Retorna o buffer de fluxo associado antes da operação. Se não houver um buffer de fluxo associado, retorna NULL.Original:
Sets the associated stream buffer to
sb
. The error state of sb
is cleared by calling sb.clear(). Returns the associated stream buffer before the operation. If there is no associated stream buffer, returns NULL.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar]Parâmetros
sb | - | buffer de fluxo para associar Original: stream buffer to associate to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
O buffer de fluxo associado, ou NULL se não houvesse buffer de fluxo associado.
Original:
The associated stream buffer, or NULL if there was no associated stream buffer.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Exceções
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
substitui o rdbuf sem limpar seu estado de erroOriginal: replaces the rdbuf without clearing its error stateThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (protegido função de membro) |