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

#include <Feature.hxx>

Public Member Functions

 FeatureDefinition ()
 
 FeatureDefinition (uint32_t nCode, OUString const &rDescription, FeatureParameterType eType=FeatureParameterType::BOOL, std::vector< FeatureParameter > const &rEnumParameters=std::vector< FeatureParameter >{}, uint32_t nDefault=0)
 
 FeatureDefinition (uint32_t nCode, const char *pDescriptionID, OUString const &rNumericPart=OUString())
 
 FeatureDefinition (uint32_t nCode, const char *pDescriptionID, std::vector< FeatureParameter > aEnumParameters)
 
const std::vector< FeatureParameter > & getEnumParameters () const
 
uint32_t getCode () const
 
OUString getDescription () const
 
FeatureParameterType getType () const
 
uint32_t getDefault () const
 
 operator bool () const
 

Private Attributes

OUString m_sDescription
 
const char * m_pDescriptionID
 
OUString m_sNumericPart
 
uint32_t m_nCode
 
uint32_t m_nDefault
 
FeatureParameterType m_eType
 
std::vector< FeatureParameterm_aEnumParameters
 

Detailed Description

Definition at line 56 of file Feature.hxx.

Constructor & Destructor Documentation

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

Definition at line 93 of file Feature.cxx.

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
OUString const &  rDescription,
FeatureParameterType  eType = FeatureParameterType::BOOL,
std::vector< FeatureParameter > const &  rEnumParameters = std::vector<FeatureParameter>{},
uint32_t  nDefault = 0 
)

Definition at line 101 of file Feature.cxx.

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
const char *  pDescriptionID,
OUString const &  rNumericPart = OUString() 
)

Definition at line 114 of file Feature.cxx.

vcl::font::FeatureDefinition::FeatureDefinition ( uint32_t  nCode,
const char *  pDescriptionID,
std::vector< FeatureParameter aEnumParameters 
)

Definition at line 124 of file Feature.cxx.

References ENUM.

Member Function Documentation

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

Definition at line 158 of file Feature.cxx.

References m_nCode.

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

Definition at line 164 of file Feature.cxx.

References m_nDefault.

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

Definition at line 134 of file Feature.cxx.

References m_aEnumParameters.

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

Definition at line 160 of file Feature.cxx.

References m_eType.

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

Definition at line 162 of file Feature.cxx.

Member Data Documentation

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

Definition at line 66 of file Feature.hxx.

Referenced by getEnumParameters().

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

Definition at line 64 of file Feature.hxx.

Referenced by getType().

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

Definition at line 62 of file Feature.hxx.

Referenced by getCode(), and getDescription().

uint32_t vcl::font::FeatureDefinition::m_nDefault
private

Definition at line 63 of file Feature.hxx.

Referenced by getDefault().

const char* vcl::font::FeatureDefinition::m_pDescriptionID
private

Definition at line 60 of file Feature.hxx.

Referenced by getDescription().

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

Definition at line 59 of file Feature.hxx.

Referenced by getDescription().

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

Definition at line 61 of file Feature.hxx.

Referenced by getDescription().


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