GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
textscan_format_elt Class Reference
Collaboration diagram for 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 1651 of file oct-stream.cc.

Member Enumeration Documentation

◆ special_conversion

Enumerator
whitespace_conversion 
literal_conversion 

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

Constructor & Destructor Documentation

◆ textscan_format_elt() [1/2]

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

◆ textscan_format_elt() [2/2]

textscan_format_elt::textscan_format_elt ( const textscan_format_elt e)
inline

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

Member Function Documentation

◆ operator=()

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

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

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

Member Data Documentation

◆ bitwidth

int textscan_format_elt::bitwidth

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

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

◆ char_class

std::string textscan_format_elt::char_class

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

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

◆ discard

bool textscan_format_elt::discard

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

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

◆ numeric

bool textscan_format_elt::numeric

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

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

◆ prec

int textscan_format_elt::prec

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

Referenced by operator=(), textscan_format_list::printme(), and textscan::read_double().

◆ text

std::string textscan_format_elt::text

◆ type

char textscan_format_elt::type

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

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

◆ width


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