LibreOffice Module vcl (master) 1
|
#include <Feature.hxx>
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< FeatureParameter > | m_aEnumParameters |
Definition at line 56 of file Feature.hxx.
vcl::font::FeatureDefinition::FeatureDefinition | ( | ) |
Definition at line 90 of file Feature.cxx.
References m_eType.
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, and m_sDescription.
vcl::font::FeatureDefinition::FeatureDefinition | ( | uint32_t | nCode, |
TranslateId | pDescriptionID, | ||
OUString | aNumericPart = OUString() |
||
) |
Definition at line 109 of file Feature.cxx.
References m_eType.
vcl::font::FeatureDefinition::FeatureDefinition | ( | uint32_t | nCode, |
TranslateId | pDescriptionID, | ||
std::vector< FeatureParameter > | aEnumParameters | ||
) |
Definition at line 119 of file Feature.cxx.
uint32_t vcl::font::FeatureDefinition::getCode | ( | ) | const |
Definition at line 153 of file Feature.cxx.
References m_nCode.
int32_t vcl::font::FeatureDefinition::getDefault | ( | ) | const |
Definition at line 159 of file Feature.cxx.
References m_nDefault.
OUString vcl::font::FeatureDefinition::getDescription | ( | ) | const |
Definition at line 134 of file Feature.cxx.
References vcl::font::featureCodeAsString(), m_nCode, m_pDescriptionID, m_sDescription, m_sNumericPart, and VclResId().
Referenced by vcl::font::FeatureCollector::collectForTable().
const std::vector< FeatureParameter > & vcl::font::FeatureDefinition::getEnumParameters | ( | ) | const |
Definition at line 129 of file Feature.cxx.
References m_aEnumParameters.
FeatureParameterType vcl::font::FeatureDefinition::getType | ( | ) | const |
Definition at line 155 of file Feature.cxx.
References m_eType.
vcl::font::FeatureDefinition::operator bool | ( | ) | const |
Definition at line 157 of file Feature.cxx.
|
private |
Definition at line 66 of file Feature.hxx.
Referenced by getEnumParameters().
|
private |
Definition at line 64 of file Feature.hxx.
Referenced by getType().
|
private |
Definition at line 62 of file Feature.hxx.
Referenced by getCode(), and getDescription().
|
private |
Definition at line 63 of file Feature.hxx.
Referenced by getDefault().
|
private |
Definition at line 60 of file Feature.hxx.
Referenced by getDescription().
|
private |
Definition at line 59 of file Feature.hxx.
Referenced by getDescription().
|
private |
Definition at line 61 of file Feature.hxx.
Referenced by getDescription().