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

Public Types

enum  special_conversion { whitespace_conversion = 1 , literal_conversion = 2 , null = 3 }
 

Public Member Functions

 scanf_format_elt (const scanf_format_elt &)=default
 
 scanf_format_elt (const std::string &txt="", int w=0, bool d=false, char typ='\0', char mod='\0', const std::string &ch_class="")
 
 ~scanf_format_elt (void)=default
 
scanf_format_eltoperator= (const scanf_format_elt &)=default
 

Public Attributes

std::string char_class
 
bool discard
 
char modifier
 
std::string text
 
char type
 
int width
 

Detailed Description

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

Member Enumeration Documentation

◆ special_conversion

Enumerator
whitespace_conversion 
literal_conversion 
null 

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

Constructor & Destructor Documentation

◆ scanf_format_elt() [1/2]

scanf_format_elt::scanf_format_elt ( const std::string &  txt = "",
int  w = 0,
bool  d = false,
char  typ = '\0',
char  mod = '\0',
const std::string &  ch_class = "" 
)
inline

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

◆ scanf_format_elt() [2/2]

scanf_format_elt::scanf_format_elt ( const scanf_format_elt )
default

◆ ~scanf_format_elt()

scanf_format_elt::~scanf_format_elt ( void  )
default

Member Function Documentation

◆ operator=()

scanf_format_elt& scanf_format_elt::operator= ( const scanf_format_elt )
default

Member Data Documentation

◆ char_class

std::string scanf_format_elt::char_class

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

Referenced by scanf_format_list::printme().

◆ discard

bool scanf_format_elt::discard

◆ modifier

char scanf_format_elt::modifier

◆ text

std::string scanf_format_elt::text

◆ type

◆ width

int scanf_format_elt::width

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

Referenced by octave_scan(), and scanf_format_list::printme().


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