Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXCharset Class Reference

A set of characters. More...

#include <FXCharset.h>

List of all members.

Public Member Functions

 FXCharset ()
 FXCharset (const FXCharset &a)
 FXCharset (FXchar ch)
 FXCharset (const FXString &characters)
 operator FXString ()
FXbool has (FXchar ch) const
FXCharsetclear ()
FXCharsetoperator= (FXchar ch)
FXCharsetoperator+= (FXchar ch)
FXCharsetoperator-= (FXchar ch)
FXCharsetoperator= (const FXString &characters)
FXCharsetoperator+= (const FXString &characters)
FXCharsetoperator-= (const FXString &characters)
FXCharsetoperator= (const FXCharset &a)
FXCharsetoperator+= (const FXCharset &a)
FXCharsetoperator-= (const FXCharset &a)
FXCharsetoperator *= (const FXCharset &a)


FXCharset operator- (const FXCharset &a)
FXCharset operator+ (const FXCharset &a, const FXCharset &b)
FXCharset operator- (const FXCharset &a, const FXCharset &b)
FXCharset operator * (const FXCharset &a, const FXCharset &b)
int operator== (const FXCharset &a, const FXCharset &b)
int operator!= (const FXCharset &a, const FXCharset &b)
FXStreamoperator<< (FXStream &store, const FXCharset &cs)
FXStreamoperator>> (FXStream &store, FXCharset &cs)

Detailed Description

A set of characters.

Constructor & Destructor Documentation

FX::FXCharset::FXCharset  )  [inline]

Initialize to empty set.

FX::FXCharset::FXCharset const FXCharset a  )  [inline]

Copy constructor.

FX::FXCharset::FXCharset FXchar  ch  )  [inline]

Initialize with one character.

FX::FXCharset::FXCharset const FXString characters  ) 

Initialize set with set of characters.

Member Function Documentation

FX::FXCharset::operator FXString  ) 

Convert to characters.

FXbool FX::FXCharset::has FXchar  ch  )  const [inline]

See if character ch is member of set.

FXCharset& FX::FXCharset::clear  )  [inline]

Clear the set.

FXCharset& FX::FXCharset::operator= FXchar  ch  )  [inline]

Assignment of one character.

FXCharset& FX::FXCharset::operator+= FXchar  ch  )  [inline]

Include character ch into set.

FXCharset& FX::FXCharset::operator-= FXchar  ch  )  [inline]

Exclude character ch from set.

FXCharset& FX::FXCharset::operator= const FXString characters  ) 

Assignment with characters.

FXCharset& FX::FXCharset::operator+= const FXString characters  ) 

Include characters into set.

FXCharset& FX::FXCharset::operator-= const FXString characters  ) 

Exclude characters from set.

FXCharset& FX::FXCharset::operator= const FXCharset a  )  [inline]

Assigning one set to this one.

FXCharset& FX::FXCharset::operator+= const FXCharset a  )  [inline]

Union set with this one.

FXCharset& FX::FXCharset::operator-= const FXCharset a  )  [inline]

Remove set from this one.

FXCharset& FX::FXCharset::operator *= const FXCharset a  )  [inline]

Interset set with this one.

Friends And Related Function Documentation

FXCharset operator- const FXCharset a  )  [friend]

Negate set.

FXCharset operator+ const FXCharset a,
const FXCharset b

Union sets a and b.

FXCharset operator- const FXCharset a,
const FXCharset b

Set a less b.

FXCharset operator * const FXCharset a,
const FXCharset b

Intersect set a and b.

int operator== const FXCharset a,
const FXCharset b

Equality tests.

FXStream& operator<< FXStream store,
const FXCharset cs

Save set to a stream.

FXStream& operator>> FXStream store,
FXCharset cs

Load set from a stream.

Copyright © 1997-2004 Jeroen van der Zijp