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
scanf_format_elt Class Reference
Collaboration diagram for scanf_format_elt:
Collaboration graph

Public Types

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

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 181 of file

Member Enumeration Documentation


Definition at line 186 of file

Constructor & Destructor Documentation

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

Definition at line 193 of file

scanf_format_elt::scanf_format_elt ( const scanf_format_elt e)

Definition at line 200 of file

scanf_format_elt::~scanf_format_elt ( void  )

Definition at line 220 of file

References text.

Member Function Documentation

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

Definition at line 205 of file

References char_class, discard, modifier, strsave(), text, type, type, and width.

Member Data Documentation

std::string scanf_format_elt::char_class

Definition at line 239 of file

Referenced by operator=(), and scanf_format_list::printme().

bool scanf_format_elt::discard
char scanf_format_elt::modifier
const char* scanf_format_elt::text
char scanf_format_elt::type
int scanf_format_elt::width

Definition at line 226 of file

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

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