top | up | prev | next

CharacterInfo Class

Definition at line 503 of Unicode.hpp

Constructors

CharacterInfo()

Member Functions

char32_t Folding() const
AgeId GetAge() const
bool GetBinaryProperty(BinaryPropertyId binaryPropertyId) const
BlockId GetBlock() const
GeneralCategoryId GetGeneralCategory() const
ScriptId GetScript() const
bool HasGeneralCategory(GeneralCategoryId generalCategory_) const
char32_t Lower() const
void Read(BinaryReader& reader)
void SetAge(AgeId age_)
void SetBinaryPropery(BinaryPropertyId binaryPropertyId, bool value)
void SetBlock(BlockId block_)
void SetFolding(char32_t folding_)
void SetGeneralCategory(GeneralCategoryId generalCategory_)
void SetLower(char32_t lower_)
void SetScript(ScriptId script_)
void SetTitle(char32_t title_)
void SetUpper(char32_t upper_)
char32_t Title() const
char32_t Upper() const
void Write(BinaryWriter& writer)

Member Variables

AgeId age
uint64_t binaryProperties
BlockId block
char32_t folding
GeneralCategoryId generalCategory
char32_t lower
ScriptId script
char32_t title
char32_t upper

Constructor Details

CharacterInfo Constructor

soulng::unicode::CharacterInfo::CharacterInfo()

Definition at line 1477 of Unicode.cpp :
1477 :
1478 binaryProperties(0)generalCategory(GeneralCategoryId::none)upper(0)lower(0)title(0)folding(0)block(BlockId::none)age(AgeId::age_unassigned)script(ScriptId::none)
1479 {
1480 }


Declaration at line 506 of Unicode.hpp


Member Function Details

Folding Member Function

char32_t soulng::unicode::CharacterInfo::Folding() const

Definition at line 560 of Unicode.hpp :
 561 {
 562     return folding;
 563 }



GetAge Member Function

AgeId soulng::unicode::CharacterInfo::GetAge() const

Definition at line 576 of Unicode.hpp :
 577 {
 578     return age;
 579 }



GetBinaryProperty Member Function

bool soulng::unicode::CharacterInfo::GetBinaryProperty(BinaryPropertyId binaryPropertyId) const

Definition at line 507 of Unicode.hpp :
 508 {
 509     uint64_t mask = static_cast<uint64_t>(1) << static_cast<uint64_t>(binaryPropertyId);
 510     return (binaryProperties & mask) != 0;
 511 }



GetBlock Member Function

BlockId soulng::unicode::CharacterInfo::GetBlock() const

Definition at line 568 of Unicode.hpp :
 569 {
 570     return block;
 571 }



GetGeneralCategory Member Function

GeneralCategoryId soulng::unicode::CharacterInfo::GetGeneralCategory() const

Definition at line 524 of Unicode.hpp :
 525 {
 526     return generalCategory;
 527 }



GetScript Member Function

ScriptId soulng::unicode::CharacterInfo::GetScript() const

Definition at line 584 of Unicode.hpp :
 585 {
 586     return script;
 587 }



HasGeneralCategory Member Function

bool soulng::unicode::CharacterInfo::HasGeneralCategory(GeneralCategoryId generalCategory_) const

Definition at line 528 of Unicode.hpp :
 529 {
 530     return (generalCategory & generalCategory_) != GeneralCategoryId::none;
 531 }



Lower Member Function

char32_t soulng::unicode::CharacterInfo::Lower() const

Definition at line 544 of Unicode.hpp :
 545 {
 546     return lower;
 547 }



Read Member Function

void soulng::unicode::CharacterInfo::Read(BinaryReader& reader)

Definition at line 1495 of Unicode.cpp

Called by: soulng::unicode::CharacterInfoPage::Read


SetAge Member Function

void soulng::unicode::CharacterInfo::SetAge(AgeId age_)

Definition at line 580 of Unicode.hpp :
 581 {
 582     age = age_;
 583 }



SetBinaryPropery Member Function

void soulng::unicode::CharacterInfo::SetBinaryPropery(BinaryPropertyId binaryPropertyId, bool value)

Definition at line 512 of Unicode.hpp


SetBlock Member Function

void soulng::unicode::CharacterInfo::SetBlock(BlockId block_)

Definition at line 572 of Unicode.hpp :
 573 {
 574     block = block_;
 575 }



SetFolding Member Function

void soulng::unicode::CharacterInfo::SetFolding(char32_t folding_)

Definition at line 564 of Unicode.hpp :
 565 {
 566     folding = folding_;
 567 }



SetGeneralCategory Member Function

void soulng::unicode::CharacterInfo::SetGeneralCategory(GeneralCategoryId generalCategory_)

Definition at line 532 of Unicode.hpp :
 533 {
 534     generalCategory = generalCategory_;
 535 }



SetLower Member Function

void soulng::unicode::CharacterInfo::SetLower(char32_t lower_)

Definition at line 548 of Unicode.hpp :
 549 {
 550     lower = lower_;
 551 }



SetScript Member Function

void soulng::unicode::CharacterInfo::SetScript(ScriptId script_)

Definition at line 588 of Unicode.hpp :
 589 {
 590     script = script_;
 591 }



SetTitle Member Function

void soulng::unicode::CharacterInfo::SetTitle(char32_t title_)

Definition at line 556 of Unicode.hpp :
 557 {
 558     title = title_;
 559 }



SetUpper Member Function

void soulng::unicode::CharacterInfo::SetUpper(char32_t upper_)

Definition at line 540 of Unicode.hpp :
 541 {
 542     upper = upper_;
 543 }



Title Member Function

char32_t soulng::unicode::CharacterInfo::Title() const

Definition at line 552 of Unicode.hpp :
 553 {
 554     return title;
 555 }



Upper Member Function

char32_t soulng::unicode::CharacterInfo::Upper() const

Definition at line 536 of Unicode.hpp :
 537 {
 538     return upper;
 539 }



Write Member Function

void soulng::unicode::CharacterInfo::Write(BinaryWriter& writer)

Definition at line 1482 of Unicode.cpp

Calls: soulng::unicode::CharacterInfo::Write

Called by: soulng::unicode::CharacterInfo::Write , soulng::unicode::CharacterInfoPage::Write


top | up | prev | next