GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::textscan_format_elt Class Reference
Collaboration diagram for octave::textscan_format_elt:

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 1602 of file oct-stream.cc.

Member Enumeration Documentation

◆ special_conversion

Enumerator
whitespace_conversion 
literal_conversion 

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

Constructor & Destructor Documentation

◆ textscan_format_elt() [1/2]

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 1613 of file oct-stream.cc.

◆ textscan_format_elt() [2/2]

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

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

Member Function Documentation

◆ operator=()

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

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

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

Member Data Documentation

◆ bitwidth

int octave::textscan_format_elt::bitwidth

◆ char_class

std::string octave::textscan_format_elt::char_class

◆ discard

bool octave::textscan_format_elt::discard

◆ numeric

bool octave::textscan_format_elt::numeric

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

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

◆ prec

int octave::textscan_format_elt::prec

◆ text

std::string octave::textscan_format_elt::text

◆ type

char octave::textscan_format_elt::type

◆ width


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