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

Member Enumeration Documentation

◆ special_conversion

Enumerator
whitespace_conversion 
literal_conversion 
null 

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

Constructor & Destructor Documentation

◆ scanf_format_elt() [1/2]

octave::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 249 of file oct-stream.cc.

◆ scanf_format_elt() [2/2]

octave::scanf_format_elt::scanf_format_elt ( const scanf_format_elt )
default

◆ ~scanf_format_elt()

octave::scanf_format_elt::~scanf_format_elt ( void  )
default

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ char_class

std::string octave::scanf_format_elt::char_class

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

Referenced by octave::scanf_format_list::printme().

◆ discard

bool octave::scanf_format_elt::discard

◆ modifier

char octave::scanf_format_elt::modifier

◆ text

std::string octave::scanf_format_elt::text

◆ type

◆ width

int octave::scanf_format_elt::width

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

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


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