GNU Octave  4.0.0
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

#include "oct-stream.h"

Collaboration diagram for scanf_format_elt:
Collaboration graph
[legend]

Public Types

enum  special_conversion { whitespace_conversion = 1, literal_conversion = 2 }
 

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=std::string())
 
 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 chartext
 
char type
 
int width
 

Detailed Description

Definition at line 43 of file oct-stream.h.

Member Enumeration Documentation

Enumerator
whitespace_conversion 
literal_conversion 

Definition at line 49 of file oct-stream.h.

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 = std::string () 
)
inline

Definition at line 55 of file oct-stream.h.

scanf_format_elt::scanf_format_elt ( const scanf_format_elt e)
inline

Definition at line 61 of file oct-stream.h.

scanf_format_elt::~scanf_format_elt ( void  )
inline

Definition at line 80 of file oct-stream.h.

Member Function Documentation

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

Definition at line 65 of file oct-stream.h.

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

Member Data Documentation

std::string scanf_format_elt::char_class

Definition at line 99 of file oct-stream.h.

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 86 of file oct-stream.h.

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


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