LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
vcl::font::FeatureDefinition Class Reference

#include <Feature.hxx>

Collaboration diagram for vcl::font::FeatureDefinition:
[legend]

Public Member Functions

 FeatureDefinition ()
 
 FeatureDefinition (uint32_t nCode, OUString aDescription, FeatureParameterType eType=FeatureParameterType::BOOL, std::vector< FeatureParameter > &&rEnumParameters=std::vector< FeatureParameter >{}, int32_t nDefault=-1)
 
 FeatureDefinition (uint32_t nCode, TranslateId pDescriptionID, OUString aNumericPart=OUString())
 
 FeatureDefinition (uint32_t nCode, TranslateId pDescriptionID, std::vector< FeatureParameter > aEnumParameters)
 
const std::vector< FeatureParameter > & getEnumParameters () const
 
uint32_t getCode () const
 
OUString getDescription () const
 
FeatureParameterType getType () const
 
int32_t getDefault () const
 
 operator bool () const
 

Private Attributes

OUString m_sDescription
 
TranslateId m_pDescriptionID
 
OUString m_sNumericPart
 
uint32_t m_nCode
 
int32_t m_nDefault
 
FeatureParameterType m_eType
 
std::vector< FeatureParameterm_aEnumParameters
 

Detailed Description

Definition at line 55 of file Feature.hxx.

Constructor & Destructor Documentation

◆ FeatureDefinition() [1/4]

vcl::font::FeatureDefinition::FeatureDefinition ( )

Definition at line 90 of file Feature.cxx.

References m_eType.

◆ FeatureDefinition() [2/4]

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
OUString  aDescription,
FeatureParameterType  eType = FeatureParameterType::BOOL,
std::vector< FeatureParameter > &&  rEnumParameters = std::vector<FeatureParameter>{},
int32_t  nDefault = -1 
)

Definition at line 97 of file Feature.cxx.

References eType, m_eType, m_sDescription, and nCode.

◆ FeatureDefinition() [3/4]

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
TranslateId  pDescriptionID,
OUString  aNumericPart = OUString() 
)

Definition at line 109 of file Feature.cxx.

References m_eType, and nCode.

◆ FeatureDefinition() [4/4]

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
TranslateId  pDescriptionID,
std::vector< FeatureParameter aEnumParameters 
)

Definition at line 119 of file Feature.cxx.

References ENUM, m_eType, and nCode.

Member Function Documentation

◆ getCode()

uint32_t vcl::font::FeatureDefinition::getCode ( ) const

Definition at line 153 of file Feature.cxx.

References m_nCode.

◆ getDefault()

int32_t vcl::font::FeatureDefinition::getDefault ( ) const

Definition at line 159 of file Feature.cxx.

References m_nDefault.

◆ getDescription()

OUString vcl::font::FeatureDefinition::getDescription ( ) const

◆ getEnumParameters()

const std::vector< FeatureParameter > & vcl::font::FeatureDefinition::getEnumParameters ( ) const

Definition at line 129 of file Feature.cxx.

References m_aEnumParameters.

◆ getType()

FeatureParameterType vcl::font::FeatureDefinition::getType ( ) const

Definition at line 155 of file Feature.cxx.

References m_eType.

◆ operator bool()

vcl::font::FeatureDefinition::operator bool ( ) const

Definition at line 157 of file Feature.cxx.

Member Data Documentation

◆ m_aEnumParameters

std::vector<FeatureParameter> vcl::font::FeatureDefinition::m_aEnumParameters
private

Definition at line 65 of file Feature.hxx.

Referenced by getEnumParameters().

◆ m_eType

FeatureParameterType vcl::font::FeatureDefinition::m_eType
private

Definition at line 63 of file Feature.hxx.

Referenced by getType().

◆ m_nCode

uint32_t vcl::font::FeatureDefinition::m_nCode
private

Definition at line 61 of file Feature.hxx.

Referenced by getCode(), and getDescription().

◆ m_nDefault

int32_t vcl::font::FeatureDefinition::m_nDefault
private

Definition at line 62 of file Feature.hxx.

Referenced by getDefault().

◆ m_pDescriptionID

TranslateId vcl::font::FeatureDefinition::m_pDescriptionID
private

Definition at line 59 of file Feature.hxx.

Referenced by getDescription().

◆ m_sDescription

OUString vcl::font::FeatureDefinition::m_sDescription
private

Definition at line 58 of file Feature.hxx.

Referenced by getDescription().

◆ m_sNumericPart

OUString vcl::font::FeatureDefinition::m_sNumericPart
private

Definition at line 60 of file Feature.hxx.

Referenced by getDescription().


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