fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType > Class Template Reference
[Ferry Extensions library]

Helper class to simplify character class configuration. More...

List of all members.

Public Types

enum  Reason {
  rsn_createCharacterClassBuilderFailed, rsn_addRangeFailed, rsn_createCharacterClassFailed, rsn_addCharacterClass,
  rsn_setCharacterClassDecorator
}

Public Member Functions

void addChar (utf32_char_type chr)
void addChars (utf32_char_type bChr, utf32_char_type eChr)
 CharClassConfigurator (ICharacterDecoratorFactory &cdf, int ccType)
void commit (int ccd)
void delChar (utf32_char_type chr)
void delChars (utf32_char_type bChr, utf32_char_type eChr)
 ~CharClassConfigurator ()


Detailed Description

template<class ErrorType, class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
class fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >

Helper class to simplify character class configuration.

See also:
fe::ICharacterDecoratorFactory

Member Enumeration Documentation

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
enum fe::CharClassConfigurator::Reason

Enumerator:
rsn_createCharacterClassBuilderFailed 
rsn_addRangeFailed 
rsn_createCharacterClassFailed 
rsn_addCharacterClass 
rsn_setCharacterClassDecorator 


Constructor & Destructor Documentation

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::CharClassConfigurator ( ICharacterDecoratorFactory cdf,
int  ccType 
) [inline]

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::~CharClassConfigurator (  )  [inline]


Member Function Documentation

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
void fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::addChars ( utf32_char_type  bChr,
utf32_char_type  eChr 
) [inline]

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
void fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::delChars ( utf32_char_type  bChr,
utf32_char_type  eChr 
) [inline]

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
void fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::addChar ( utf32_char_type  chr  )  [inline]

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
void fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::delChar ( utf32_char_type  chr  )  [inline]

template<class ErrorType , class ICharacterClassBuilderAutoPtrType = std::auto_ptr<ICharacterClassBuilder>, class ICharacterClassAutoPtrType = std::auto_ptr<ICharacterClass>>
void fe::CharClassConfigurator< ErrorType, ICharacterClassBuilderAutoPtrType, ICharacterClassAutoPtrType >::commit ( int  ccd  )  [inline]


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

Generated on Tue Nov 18 21:08:23 2008 for Ferry by doxygen 1.5.7.1
http://sourceforge.net