Bond 0.9
Bond Standard Library API Documentation
Loading...
Searching...
No Matches
Bond::IO Namespace Reference

Enumerations

enum  Flags {
  BoolAlpha = 1 << 0 , ShowBase = 1 << 1 , ShowPoint = 1 << 2 , SkipWhite = 1 << 3 ,
  Zero = 1 << 4 , Dec = 1 << 5 , Hex = 1 << 6 , Oct = 1 << 7 ,
  Fixed = 1 << 8 , Scientific = 1 << 9 , Left = 1 << 10
}
enum  Constants { Eof = -1 }

Enumeration Type Documentation

◆ Constants

Enumerator
Eof 

◆ Flags

Enumerator
BoolAlpha 

Read and write bool values as the strings "true" and "false".

ShowBase 

Write base 16 and base 8 integers with a "0x" or "0" prefix.

ShowPoint 

Always write a decimal point in floating-point values.

SkipWhite 

Skip whitespace before consuming other characters in a formatted read.

Zero 

Write numbers padded to the left with zeros instead of spaces.

Dec 

Read and write integers in base 10.

Hex 

Read and write integers in base 16.

Oct 

Read and write integers in base 8.

Fixed 

Write floating-point values in decimal notation.

Scientific 

Write floating-point values in scientific notation.

Left 

Write output with left justification.