Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Public Member Functions | Data Fields | Static Public Attributes
Ctype< charT > Struct Template Reference
Inheritance diagram for Ctype< charT >:
Inheritance graph
[legend]
Collaboration diagram for Ctype< charT >:
Collaboration graph
[legend]

Public Types

typedef std::ctype< charT > Base
 
typedef std::ctype< charT > Base
 
typedef std::ctype< charT > Base
 
typedef Base::char_type char_type
 
typedef std::ctype< charT > Base
 
typedef Base::char_type char_type
 
typedef std::ctype< charT > Base
 
typedef Base::char_type char_type
 

Public Member Functions

 Ctype (std::size_t ref, charT white)
 
bool do_is (std::ctype_base::mask m, charT c) const
 
const charT * do_is (const charT *lo, const charT *hi, std::ctype_base::mask *m) const
 
 Ctype (unsigned ref, charT white)
 
bool do_is (std::ctype_base::mask m, charT c) const
 
const charT * do_is (const charT *from, const charT *to, std::ctype_base::mask *m) const
 
const charT * do_scan_is (std::ctype_base::mask m, const charT *from, const charT *to) const
 
const charT * do_scan_not (std::ctype_base::mask m, const charT *from, const charT *to) const
 
 Ctype ()
 
virtual char_type do_widen (char c) const
 
virtual const char_type * do_widen (const char *lo, const char *hi, char_type *dst) const
 
 Ctype ()
 
virtual char_type do_widen (char c) const
 
virtual const char_type * do_widen (const char *lo, const char *hi, char_type *dst) const
 
 Ctype ()
 
virtual char_type do_widen (char c) const
 
virtual const char_type * do_widen (const char *lo, const char *hi, char_type *dst) const
 

Data Fields

const charT ws_
 
std::ctype_base::mask table_ [256]
 

Static Public Attributes

static int n_widen_
 

Detailed Description

template<class charT>
struct Ctype< charT >

27.istream.manip.cpp - test exercising the basic_istream ws manipulator

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2003-2006 Rogue Wave Software. namespace std { template <class charT, class traits> basic_istream<charT,traits>& ws(basic_istream<charT,traits>& is); }

-1- Effects: Extracts characters as long as the next available character c is whitespace or until there are no more characters in the sequence. Whitespace characters are distinguished with the same criterion as used by sentry::sentry (27.6.1.1.2). If ws stops extracting characters because there are no more available it sets eofbit, but not failbit. -2- Returns: is

Definition at line 52 of file 27.istream.manip.cpp.

Member Typedef Documentation

◆ Base [1/5]

template<class charT >
typedef std::ctype<charT> Ctype< charT >::Base

Definition at line 54 of file 27.istream.manip.cpp.

◆ Base [2/5]

template<class charT >
typedef std::ctype<charT> Ctype< charT >::Base

Definition at line 146 of file 27.istream.sentry.cpp.

◆ Base [3/5]

template<class charT >
typedef std::ctype<charT> Ctype< charT >::Base

Definition at line 60 of file 22.locale.money.get.cpp.

◆ Base [4/5]

template<class charT >
typedef std::ctype<charT> Ctype< charT >::Base

Definition at line 94 of file 22.locale.num.get.cpp.

◆ Base [5/5]

template<class charT >
typedef std::ctype<charT> Ctype< charT >::Base

Definition at line 70 of file 22.locale.num.put.cpp.

◆ char_type [1/3]

template<class charT >
typedef Base::char_type Ctype< charT >::char_type

Definition at line 62 of file 22.locale.money.get.cpp.

◆ char_type [2/3]

template<class charT >
typedef Base::char_type Ctype< charT >::char_type

Definition at line 96 of file 22.locale.num.get.cpp.

◆ char_type [3/3]

template<class charT >
typedef Base::char_type Ctype< charT >::char_type

Definition at line 72 of file 22.locale.num.put.cpp.

Constructor & Destructor Documentation

◆ Ctype() [1/5]

template<class charT >
Ctype< charT >::Ctype ( std::size_t  ref,
charT  white 
)
inline

Definition at line 60 of file 27.istream.manip.cpp.

◆ Ctype() [2/5]

template<class charT >
Ctype< charT >::Ctype ( unsigned  ref,
charT  white 
)
inline

Definition at line 152 of file 27.istream.sentry.cpp.

◆ Ctype() [3/5]

template<class charT >
Ctype< charT >::Ctype ( )
inline

Definition at line 66 of file 22.locale.money.get.cpp.

◆ Ctype() [4/5]

template<class charT >
Ctype< charT >::Ctype ( )
inline

Definition at line 100 of file 22.locale.num.get.cpp.

◆ Ctype() [5/5]

template<class charT >
Ctype< charT >::Ctype ( )
inline

Definition at line 76 of file 22.locale.num.put.cpp.

Member Function Documentation

◆ do_is() [1/4]

template<class charT >
const charT * Ctype< charT >::do_is ( const charT *  from,
const charT *  to,
std::ctype_base::mask *  m 
) const
inline

Definition at line 166 of file 27.istream.sentry.cpp.

◆ do_is() [2/4]

template<class charT >
const charT * Ctype< charT >::do_is ( const charT *  lo,
const charT *  hi,
std::ctype_base::mask *  m 
) const
inline

Definition at line 74 of file 27.istream.manip.cpp.

◆ do_is() [3/4]

template<class charT >
bool Ctype< charT >::do_is ( std::ctype_base::mask  m,
charT  c 
) const
inline

Definition at line 65 of file 27.istream.manip.cpp.

◆ do_is() [4/4]

template<class charT >
bool Ctype< charT >::do_is ( std::ctype_base::mask  m,
charT  c 
) const
inline

Definition at line 159 of file 27.istream.sentry.cpp.

◆ do_scan_is()

template<class charT >
const charT * Ctype< charT >::do_scan_is ( std::ctype_base::mask  m,
const charT *  from,
const charT *  to 
) const
inline

Definition at line 172 of file 27.istream.sentry.cpp.

◆ do_scan_not()

template<class charT >
const charT * Ctype< charT >::do_scan_not ( std::ctype_base::mask  m,
const charT *  from,
const charT *  to 
) const
inline

Definition at line 179 of file 27.istream.sentry.cpp.

◆ do_widen() [1/6]

template<class charT >
virtual char_type Ctype< charT >::do_widen ( char  c) const
inlinevirtual

Definition at line 68 of file 22.locale.money.get.cpp.

◆ do_widen() [2/6]

template<class charT >
virtual char_type Ctype< charT >::do_widen ( char  c) const
inlinevirtual

Definition at line 102 of file 22.locale.num.get.cpp.

◆ do_widen() [3/6]

template<class charT >
virtual char_type Ctype< charT >::do_widen ( char  c) const
inlinevirtual

Definition at line 78 of file 22.locale.num.put.cpp.

◆ do_widen() [4/6]

template<class charT >
virtual const char_type * Ctype< charT >::do_widen ( const char *  lo,
const char *  hi,
char_type *  dst 
) const
inlinevirtual

Definition at line 89 of file 22.locale.money.get.cpp.

◆ do_widen() [5/6]

template<class charT >
virtual const char_type * Ctype< charT >::do_widen ( const char *  lo,
const char *  hi,
char_type *  dst 
) const
inlinevirtual

Definition at line 123 of file 22.locale.num.get.cpp.

◆ do_widen() [6/6]

template<class charT >
virtual const char_type * Ctype< charT >::do_widen ( const char *  lo,
const char *  hi,
char_type *  dst 
) const
inlinevirtual

Definition at line 99 of file 22.locale.num.put.cpp.

Field Documentation

◆ n_widen_

template<class charT >
int Ctype< charT >::n_widen_
static

Definition at line 64 of file 22.locale.money.get.cpp.

◆ table_

template<class charT >
std::ctype_base::mask Ctype< charT >::table_

Definition at line 58 of file 27.istream.manip.cpp.

◆ ws_

template<class charT >
const charT Ctype< charT >::ws_

Definition at line 56 of file 27.istream.manip.cpp.


The documentation for this struct was generated from the following files: