El
ios_base
clase es una clase de usos múltiples que sirve como clase base para todas las clases de flujos de E / S. Mantiene varios tipos de datos:
Original:
The class ios_base
is a multipurpose class that serves as the base class for all I/O stream classes. It maintains several kinds of data:
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
1) información de estado: Indicadores de estado de flujo
Original:
state information: stream status flags
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
2) información de control: indicadores que controlan el formato de entrada y salida de las secuencias y el escenario imbuidos
Original:
control information: flags that control formatting of both input and output sequences and the imbued locale
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
3) almacenamiento privado: estructura de datos indexada extensible que permite tanto
long y
void* miembros, que puede ser implementado como dos matrices de longitud arbitraria o una única matriz de estructuras de dos elementos o contenedores de otro .
Original:
private storage: indexed extensible data structure that allows both long and void* members, which may be implemented as two arbitrary-length arrays or a single array of two-element structs or another container.
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
4) devoluciones de llamada: número arbitrario de funciones definidas por el usuario para llamar desde imbuir (), copyfmt (), y ~ ios_base ()
Original:
callbacks: arbitrary number of user-defined functions to be called from imbue(), copyfmt(), and ~ios_base()
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
Implementación típica mantiene constantes miembro correspondientes a todos los valores de fmtflags, iostate, openmode, y seekdir de abajo, las variables miembro para mantener la precisión actual, anchura, y las banderas de formato, la máscara de excepción, el estado del buffer de error, un contenedor que sostiene resizeable las devoluciones de llamada, la configuración regional seleccionada impregnada, el almacenamiento privado, y una variable estática entero para xalloc () .
Original:
Typical implementation holds member constants corresponding to all values of fmtflags, iostate, openmode, and seekdir shown below, member variables to maintain current precision, width, and formatting flags, the exception mask, the buffer error state, a resizeable container holding the callbacks, the currently imbued locale, the private storage, and a static integer variable for xalloc().
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
[editar] Las funciones miembro
|
|
Construye el objeto Original: constructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (protegidos función miembro) [edit]
|
|
|
destructs el objeto Original: destructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Virtual Member público función) [edit]
|
Formato Original: Formatting The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
|
gestiona las banderas de formato Original: manages format flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
|
|
establece el marcador formato específico Original: sets specific format flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
|
|
clears specific format flag (miembro público función) [edit]
|
|
|
gestiona precisión decimal de operaciones de punto flotante Original: manages decimal precision of floating point operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
|
|
manages field width (miembro público función) [edit]
|
Locales Original: Locales The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
|
establece la configuración regional Original: sets locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
|
|
devuelve localización actual Original: returns current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
Conjunto extensible interior Original: Internal extensible array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
|
devuelve un entero único para todo el programa que es seguro de usar como índice para pword () y iword () Original: returns a program-wide unique integer that is safe to use as index to pword() and iword() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro estático público función) [edit]
|
|
|
cambia el tamaño del almacenamiento privado si es necesario y el acceso a la long elemento en el índice especificado Original: resizes the private storage if necessary and access to the long element at the given index The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
|
|
cambia el tamaño del almacenamiento privado si es necesario y el acceso a la void* elemento en el índice especificado Original: resizes the private storage if necessary and access to the void* element at the given index The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) [edit]
|
Varios Original: Miscellaneous The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
|
registers event callback function (miembro público función) [edit]
|
|
|
Establece si C + + y C IO Libraries son interoperables Original: sets whether C++ and C IO libraries are interoperable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro estático público función) [edit]
|
Clases de miembros Original: Member classes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
|
corriente excepción Original: stream exception The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público clase) [edit]
|
|
|
inicializa los objetos estándar de la corriente Original: initializes standard stream objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público clase) [edit]
|
Tipos de miembros y constantes Original: Member types and constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
Tipo Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation
|
|
|
corriente Tipo de modo de apertura
Las siguientes constantes se definen también:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
app
|
buscan al final del flujo antes de cada escritura Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
binary
|
abrir en modo binario Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
in
|
abierto para la lectura Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
out
|
abrir para escritura Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
trunc
|
descartar el contenido de la corriente cuando se abre Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
ate
|
buscar al extremo de corriente inmediatamente después de abierto Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
Original: stream open mode type
The following constants are also defined:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
app
|
buscan al final del flujo antes de cada escritura Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
binary
|
abrir en modo binario Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
in
|
abierto para la lectura Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
out
|
abrir para escritura Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
trunc
|
descartar el contenido de la corriente cuando se abre Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
ate
|
buscar al extremo de corriente inmediatamente después de abierto Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) [edit]
|
|
|
banderas de formato tipo
Las siguientes constantes se definen también:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
dec
|
utilizar base decimal para enteros I / O Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
oct
|
utilizar octal base de entero I / O Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
hex
|
utilizar la base hexadecimal entero I / O Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
basefield
|
dec|oct|hex|0. Útil para operaciones de enmascarar Original: dec|oct|hex|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
left
|
ajuste izquierdo (añade caracteres de relleno a la derecha) Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
right
|
ajuste derecho (añade caracteres de relleno a la izquierda) Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
internal
|
ajuste interno (añade caracteres de relleno hasta el punto interno designado) Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
adjustfield
|
left|right|internal. Útil para operaciones de enmascarar Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
scientific
|
generar tipos de coma flotante utilizando notación científica o notación hexadecimal si se combina con fijo Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
fixed
|
generar los tipos de punto flotante usando notación fija, o notación hexadecimal si se combina con científicos Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
floatfield
|
scientific|fixed|(scientific|fixed)|0. Útil para operaciones de enmascarar Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
boolalpha
|
insertar y extraer tipo bool en formato alfanumérico Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showbase
|
generar un prefijo que indica la base numérica para la salida entera, requieren que el indicador en moneda monetario I / O Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showpoint
|
generar un carácter de punto decimal sin condiciones para la salida de número de punto flotante Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showpos
|
generar un carácter + para no negativo de salida numérico Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
skipws
|
omitir los principales espacios en blanco antes de las operaciones de entrada determinado Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
unitbuf
|
enjuagar la salida después de cada operación de salida Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
uppercase
|
reemplazar ciertas letras minúsculas con sus uppercase equivalents en ciertas operaciones de salida de salida Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
Original: formatting flags type
The following constants are also defined:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
dec
|
utilizar base decimal para enteros I / O Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
oct
|
utilizar octal base de entero I / O Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
hex
|
utilizar la base hexadecimal entero I / O Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
basefield
|
dec|oct|hex|0. Útil para operaciones de enmascarar Original: dec|oct|hex|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
left
|
ajuste izquierdo (añade caracteres de relleno a la derecha) Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
right
|
ajuste derecho (añade caracteres de relleno a la izquierda) Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
internal
|
ajuste interno (añade caracteres de relleno hasta el punto interno designado) Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
adjustfield
|
left|right|internal. Útil para operaciones de enmascarar Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
scientific
|
generar tipos de coma flotante utilizando notación científica o notación hexadecimal si se combina con fijo Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
fixed
|
generar los tipos de punto flotante usando notación fija, o notación hexadecimal si se combina con científicos Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
floatfield
|
scientific|fixed|(scientific|fixed)|0. Útil para operaciones de enmascarar Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
boolalpha
|
insertar y extraer tipo bool en formato alfanumérico Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showbase
|
generar un prefijo que indica la base numérica para la salida entera, requieren que el indicador en moneda monetario I / O Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showpoint
|
generar un carácter de punto decimal sin condiciones para la salida de número de punto flotante Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
showpos
|
generar un carácter + para no negativo de salida numérico Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
skipws
|
omitir los principales espacios en blanco antes de las operaciones de entrada determinado Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
unitbuf
|
enjuagar la salida después de cada operación de salida Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
uppercase
|
reemplazar ciertas letras minúsculas con sus uppercase equivalents en ciertas operaciones de salida de salida Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) [edit]
|
|
|
estado del tipo de flujo
Las siguientes constantes se definen también:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
goodbit
|
no hay error Original: no error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
badbit
|
error irrecuperable corriente Original: irrecoverable stream error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
failbit
|
entrada / salida de operación falló (error de formato o de extracción) Original: input/output operation failed (formatting or extraction error) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
eofbit
|
secuencia asociada de entrada ha llegado al final de su archivo Original: associated input sequence has reached end-of-file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
Original: state of the stream type
The following constants are also defined:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
goodbit
|
no hay error Original: no error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
badbit
|
error irrecuperable corriente Original: irrecoverable stream error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
failbit
|
entrada / salida de operación falló (error de formato o de extracción) Original: input/output operation failed (formatting or extraction error) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
eofbit
|
secuencia asociada de entrada ha llegado al final de su archivo Original: associated input sequence has reached end-of-file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) [edit]
|
|
|
seeking direction type
The following constants are also defined:
|
Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation[edit]
|
|
beg
|
el inicio de una corriente Original: the beginning of a stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
end
|
el final de una secuencia Original: the ending of a stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
|
cur
|
la posición actual del indicador de posición corriente Original: the current position of stream position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [edit]
|
(typedef) [edit]
|
|
|
especifica el tipo de evento Original: specifies event type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (enum) [edit]
|
|
|
callback tipo de función Original: callback function type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) [edit]
|
Desaprobado tipos de miembros Original: Deprecated member types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
Tipo Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
Explanation
|
|
io_state (obsoleto)
|
tipo entero que puede ser utilizado como iostate Original: integer type that may be used like iostate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
open_mode (obsoleto)
|
tipo entero que puede ser utilizado como openmode Original: integer type that may be used like openmode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
seek_dir (obsoleto)
|
tipo entero que puede ser utilizado como seekdir Original: integer type that may be used like seekdir The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
streamoff (obsoleto)
|
tipo no especificado que se puede utilizar como off_type , no necesariamente std::streamoffOriginal: unspecified type that may be used like off_type , not necessarily std::streamoffThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
streampos (obsoleto)
|
tipo no especificado que se puede utilizar como pos_type , no necesariamente std::streamposOriginal: unspecified type that may be used like pos_type , not necessarily std::streamposThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|