[#BloombergLP-balxml-Reader-setOptions] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Reader.adoc[Reader]::setOptions :relfileprefix: ../../../ :mrdocs: Set the options to the flags in the specified `flags`. The options for the reader are persistent, i.e., the options are not reset by `close`. The behavior is undefined if this method is called after calling `open` and before calling `close`; except that derived classes are permitted to specify valid behavior for calling this function for specific arguments while the reader is open. == Synopsis Declared in `<balxml_reader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void setOptions(unsigned int flags) = 0; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#