Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
86a3b35b
Commit
86a3b35b
authored
Apr 13, 2018
by
thomas.forbriger
Browse files
libdatrwxx [FEATURE]: provide access to debug flag in oanystream
parent
f0335f80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/libdatrwxx/writeany.h
View file @
86a3b35b
...
...
@@ -33,6 +33,7 @@
* - 29/07/2011 V1.3 added constructor which accepts format modifiers
* support property query
* - 07/09/2011 V1.4 more string type format ID support: openmode
* - 13/04/2018 V1.5 provide access to debug flag if output stream
*
* ============================================================================
*/
...
...
@@ -41,7 +42,7 @@
#ifndef DATRW_WRITEANY_H_VERSION
#define DATRW_WRITEANY_H_VERSION \
"DATRW_WRITEANY_H V1.
4
"
"DATRW_WRITEANY_H V1.
5
"
#include<string>
#include<datrwxx/datwrite.h>
...
...
@@ -94,6 +95,10 @@ namespace datrw {
Edatatype
ANYDELEGATE
(
seriestype
)
static
std
::
ios_base
::
openmode
openmode
(
const
Eformat
&
format
);
static
std
::
ios_base
::
openmode
openmode
(
const
std
::
string
&
format
);
//! indicate debug mode
bool
debug
()
{
return
this
->
odatstream
().
debug
();
}
//! set debug mode
void
debug
(
const
bool
&
debug
)
{
this
->
odatstream
().
debug
(
debug
);
}
private:
//! \brief actually open stream (to be called by constructor)
void
open
(
std
::
ostream
&
os
,
std
::
string
format
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment