Public Types | Public Member Functions | Public Attributes

scanf_format_elt Class Reference

#include "oct-stream.h"

Collaboration diagram for scanf_format_elt:
Collaboration graph
[legend]

List of all members.

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


Member Enumeration Documentation

Enumerator:
whitespace_conversion 
literal_conversion 

Definition at line 48 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 54 of file oct-stream.h.

scanf_format_elt::scanf_format_elt ( const scanf_format_elt e  )  [inline]

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

scanf_format_elt::~scanf_format_elt ( void   )  [inline]

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


Member Function Documentation

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

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

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


Member Data Documentation

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

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

Definition at line 85 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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines