tsv-utils v1.3.2 (2018-11-12T07:30:35Z)
Home
Dub
Repo
BufferedOutputRange
tsv_utils
common
utils
Undocumented in source.
struct
BufferedOutputRange (
OutputTarget
)
if
(
isFileHandle
!(
Unqual
!
OutputTarget
) ||
isOutputRange
!(
Unqual
!
OutputTarget
,
char
)
) {
import
std
.
range
:
isOutputRange
;
;
import
std
.
array
:
appender
;
;
import
std
.
format
:
format
;
;
alias
C
=
char
;
alias
C
=
ubyte
;
this
(OutputTarget outputTarget, size_t flushSize, size_t reserveSize, size_t maxSize);
~this
();
void
flush
();
bool
flushIfFull
();
void
flushIfMaxSize
();
void
append
(T stuff);
bool
appendln
();
bool
appendln
(T stuff);
void
joinAppend
(InputRange inputRange, E delimiter);
void
put
(T stuff);
}
Constructors
this
this
(OutputTarget outputTarget, size_t flushSize, size_t reserveSize, size_t maxSize)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Aliases
C
alias
C
=
char
Undocumented in source.
C
alias
C
=
ubyte
Undocumented in source.
Functions
append
void
append
(T stuff)
Undocumented in source. Be warned that the author may not have intended to support it.
appendln
bool
appendln
()
Undocumented in source. Be warned that the author may not have intended to support it.
appendln
bool
appendln
(T stuff)
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void
flush
()
Undocumented in source. Be warned that the author may not have intended to support it.
flushIfFull
bool
flushIfFull
()
Undocumented in source. Be warned that the author may not have intended to support it.
flushIfMaxSize
void
flushIfMaxSize
()
Undocumented in source. Be warned that the author may not have intended to support it.
joinAppend
void
joinAppend
(InputRange inputRange, E delimiter)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void
put
(T stuff)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
tsv_utils
common
utils
aliases
AllowFieldNumZero
ConvertToZeroBasedIndex
EnablePartialLines
NewlineWasRemoved
OptionHandlerDelegate
classes
InputFieldReordering
functions
getTsvFieldValue
joinAppend
makeFieldListOptionHandler
parseFieldList
throwIfWindowsNewlineOnUnix
structs
BufferedOutputRange