white_tab Struct Reference

Set the whitespace to tabs and newlines only. More...

#include <Utils.h>

List of all members.

Public Member Functions

 white_tab ()
 Create the white_tab object, and initialize the table.
 ~white_tab ()
 The destructor. Clear the table.
ctype_base::mask const * init ()
 Initialize the table only with tab and newline as legal whitespaces.
ctype_base::mask const * get_table ()
 Get the local table.

Private Attributes

ctype_base::mask * _rc
 An array containing the local table.


Detailed Description

Set the whitespace to tabs and newlines only.

Use it with:

 "ifstream".imbue( locale(locale(), new nor_utils::white_tab) ); 
Date:
11/11/2005

Definition at line 54 of file Utils.h.


Constructor & Destructor Documentation

white_tab  )  [inline]
 

Create the white_tab object, and initialize the table.

Date:
12/11/2005

Definition at line 60 of file Utils.h.


Member Function Documentation

ctype_base::mask const* get_table  )  [inline]
 

Get the local table.

Returns:
The local table
Date:
12/11/2005
See also:
init()

Definition at line 89 of file Utils.h.

References white_tab::_rc.

ctype_base::mask const* init  )  [inline]
 

Initialize the table only with tab and newline as legal whitespaces.

Returns:
The modified table
Date:
12/11/2005

Definition at line 68 of file Utils.h.

References white_tab::_rc.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 28 21:43:48 2005 for MultiBoost by  doxygen 1.4.5