FAST.Framework  1.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
FChar Class Reference

#include <FChar.h>

Inheritance diagram for FChar:
Inheritance graph
[legend]
Collaboration diagram for FChar:
Collaboration graph
[legend]

Public Member Functions

 FChar (const FChar &fChar)
 Constructor fchar object.
 
 FChar (char character)
 Constructor fchar object.
 
 FChar ()
 Constructor fchar object.
 
virtual ~FChar ()=default
 Destroys the fchar object.
 
void Clear ()
 Delete value of fchar.
 
Boolean IsEmpty () const
 Returns TRUE if fchar is empty, otherwise FALSE.
 
void operator= (const char &character)
 
Boolean operator== (const FChar &fChar) const
 < Returns TRUE if fchar is equels to character, otherwise FALSE
 
Boolean operator== (const char &character) const
 < Returns TRUE if fchar is equels to character, otherwise FALSE
 
FChar ToLower () const
 Convert the string to lower string.
 
FChar ToUpper () const
 Convert the string to UPPER string.
 
Boolean IsAlnum () const
 Returns TRUE if fchar a alphanumeric character, otherwise FALSE.
 
Boolean IsAlpha () const
 Returns TRUE if fchar a alpha character, otherwise FALSE.
 
Boolean IsCntrl () const
 Returns TRUE if fchar a control character, otherwise FALSE.
 
Boolean IsDigit () const
 Returns TRUE if fchar a digit character, otherwise FALSE.
 
Boolean IsGraph () const
 Returns TRUE if fchar a visible character, otherwise FALSE.
 
Boolean IsLower () const
 Returns TRUE if fchar a lower character, otherwise FALSE.
 
Boolean IsPrint () const
 Returns TRUE if fchar a visible character and wihtespace character, otherwise FALSE.
 
Boolean IsPunct () const
 Returns TRUE if fchar a visible character without wihtespace und alphanumeric character, otherwise FALSE.
 
Boolean IsSpace () const
 Returns TRUE if fchar a '\f', '\n', '\r', '\t', '\v' character, otherwise FALSE.
 
Boolean IsUpper () const
 Returns TRUE if fchar a upper character, otherwise FALSE.
 
Boolean IsXDigit () const
 Returns TRUE if fchar a hexadecimal character, otherwise FALSE.
 
char Data () const
 Returns value of char object.
 
const type_info & GetType () override
 Returns the type info over object.
 
FString GetName () const override
 Returns the name of object.
 
- Public Member Functions inherited from FObject
 FObject ()=default
 Constructor.
 
virtual ~FObject ()=default
 Destructor.
 

Static Public Member Functions

static Boolean IsAlnum (const char &character)
 Returns TRUE if fchar a alphanumeric character, otherwise FALSE.
 
static Boolean IsAlpha (const char &character)
 Returns TRUE if fchar a alpha character, otherwise FALSE.
 
static Boolean IsCntrl (const char &character)
 Returns TRUE if fchar a control character, otherwise FALSE.
 
static Boolean IsDigit (const char &character)
 Returns TRUE if fchar a digit character, otherwise FALSE.
 
static Boolean IsGraph (const char &character)
 Returns TRUE if fchar a visible character, otherwise FALSE.
 
static Boolean IsLower (const char &character)
 Returns TRUE if fchar a lower character, otherwise FALSE.
 
static Boolean IsPrint (const char &character)
 Returns TRUE if fchar a visible character and wihtespace character, otherwise FALSE.
 
static Boolean IsPunct (const char &character)
 Returns TRUE if fchar a visible character without wihtespace und alphanumeric character, otherwise FALSE.
 
static Boolean IsSpace (const char &character)
 Returns TRUE if fchar a '\f', '\n', '\r', '\t', '\v' character, otherwise FALSE.
 
static Boolean IsUpper (const char &character)
 Returns TRUE if fchar a upper character, otherwise FALSE.
 
static Boolean IsXDigit (const char &character)
 Returns TRUE if fchar a hexadecimal character, otherwise FALSE.
 
static Boolean IsEmpty (const char &character)
 Returns TRUE if fchar a null character, otherwise FALSE.
 

Static Public Attributes

static constexpr char MinValue = SCHAR_MIN
 Represents the smallest possible value of a signed char. This field is constant.
 
static constexpr char MaxValue = SCHAR_MAX
 Represents the largest possible value of a signed char. This field is constant.
 
static constexpr unsigned char MaxUValue = UCHAR_MAX
 Represents the largest possible value of a unsigned char. This field is constant.
 

Detailed Description

Represents a character as a UTF-16 code unit

Member Function Documentation

◆ operator=()

void FChar::operator= ( const char &  character)
inline
Parameters
characterCreate new fchar object

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