GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
octave::textscan_format_elt Class Reference
Collaboration diagram for octave::textscan_format_elt:
Collaboration graph
[legend]

Public Types

enum  special_conversion { whitespace_conversion = 1, literal_conversion = 2 }
 

Public Member Functions

 textscan_format_elt (const std::string &txt, int w=0, int p=-1, int bw=0, bool dis=false, char typ= '\0', const std::string &ch_class=std::string())
 
 textscan_format_elt (const textscan_format_elt &e)
 
textscan_format_eltoperator= (const textscan_format_elt &e)
 

Public Attributes

int bitwidth
 
std::string char_class
 
bool discard
 
bool numeric
 
int prec
 
std::string text
 
char type
 
unsigned int width
 

Detailed Description

Definition at line 1616 of file oct-stream.cc.

Member Enumeration Documentation

Enumerator
whitespace_conversion 
literal_conversion 

Definition at line 1621 of file oct-stream.cc.

Constructor & Destructor Documentation

octave::textscan_format_elt::textscan_format_elt ( const std::string txt,
int  w = 0,
int  p = -1,
int  bw = 0,
bool  dis = false,
char  typ = '\0',
const std::string ch_class = std::string () 
)
inline

Definition at line 1627 of file oct-stream.cc.

octave::textscan_format_elt::textscan_format_elt ( const textscan_format_elt e)
inline

Definition at line 1635 of file oct-stream.cc.

Member Function Documentation

textscan_format_elt& octave::textscan_format_elt::operator= ( const textscan_format_elt e)
inline

Definition at line 1641 of file oct-stream.cc.

References bitwidth, char_class, discard, numeric, prec, text, type, type, and width.

Member Data Documentation

int octave::textscan_format_elt::bitwidth
std::string octave::textscan_format_elt::char_class
bool octave::textscan_format_elt::discard
bool octave::textscan_format_elt::numeric

Definition at line 1683 of file oct-stream.cc.

Referenced by operator=(), and octave::textscan::scan_one().

int octave::textscan_format_elt::prec
std::string octave::textscan_format_elt::text
char octave::textscan_format_elt::type
unsigned int octave::textscan_format_elt::width

The documentation for this class was generated from the following file: