LibreOffice Module vcl (master)  1
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
psp::PPDKey Class Reference

#include <ppdparser.hxx>

Collaboration diagram for psp::PPDKey:
[legend]

Public Types

enum  SetupType {
  SetupType::ExitServer,
  SetupType::Prolog,
  SetupType::DocumentSetup,
  SetupType::PageSetup,
  SetupType::JCLSetup,
  SetupType::AnySetup
}
 

Public Member Functions

 PPDKey (const OUString &rKey)
 
 ~PPDKey ()
 
PPDValueinsertValue (const OUString &rOption, PPDValueType eType, bool bCustomOption=false)
 
int countValues () const
 
const PPDValuegetValue (int n) const
 
const PPDValuegetValue (const OUString &rOption) const
 
const PPDValuegetValueCaseInsensitive (const OUString &rOption) const
 
const PPDValuegetDefaultValue () const
 
const OUString & getGroup () const
 
const OUString & getKey () const
 
bool isUIKey () const
 
SetupType getSetupType () const
 
int getOrderDependency () const
 

Private Types

typedef std::unordered_map< OUString, PPDValuehash_type
 
typedef std::vector< PPDValue * > value_type
 

Private Member Functions

void eraseValue (const OUString &rOption)
 

Private Attributes

OUString const m_aKey
 
hash_type m_aValues
 
value_type m_aOrderedValues
 
const PPDValuem_pDefaultValue
 
bool m_bQueryValue
 
OUString m_aGroup
 
bool m_bUIOption
 
int m_nOrderDependency
 
SetupType m_eSetupType
 

Friends

class PPDParser
 
class CPDManager
 

Detailed Description

Definition at line 57 of file ppdparser.hxx.

Member Typedef Documentation

typedef std::unordered_map< OUString, PPDValue > psp::PPDKey::hash_type
private

Definition at line 62 of file ppdparser.hxx.

typedef std::vector< PPDValue* > psp::PPDKey::value_type
private

Definition at line 63 of file ppdparser.hxx.

Member Enumeration Documentation

Enumerator
ExitServer 
Prolog 
DocumentSetup 
PageSetup 
JCLSetup 
AnySetup 

Definition at line 73 of file ppdparser.hxx.

Constructor & Destructor Documentation

psp::PPDKey::PPDKey ( const OUString &  rKey)
psp::PPDKey::~PPDKey ( )

Member Function Documentation

int psp::PPDKey::countValues ( ) const
inline

Definition at line 86 of file ppdparser.hxx.

void psp::PPDKey::eraseValue ( const OUString &  rOption)
private
const PPDValue* psp::PPDKey::getDefaultValue ( ) const
inline

Definition at line 92 of file ppdparser.hxx.

const OUString& psp::PPDKey::getGroup ( ) const
inline

Definition at line 93 of file ppdparser.hxx.

const OUString& psp::PPDKey::getKey ( ) const
inline

Definition at line 95 of file ppdparser.hxx.

int psp::PPDKey::getOrderDependency ( ) const
inline

Definition at line 98 of file ppdparser.hxx.

SetupType psp::PPDKey::getSetupType ( ) const
inline

Definition at line 97 of file ppdparser.hxx.

const PPDValue* psp::PPDKey::getValue ( int  n) const
const PPDValue* psp::PPDKey::getValue ( const OUString &  rOption) const
const PPDValue* psp::PPDKey::getValueCaseInsensitive ( const OUString &  rOption) const
PPDValue* psp::PPDKey::insertValue ( const OUString &  rOption,
PPDValueType  eType,
bool  bCustomOption = false 
)
bool psp::PPDKey::isUIKey ( ) const
inline

Definition at line 96 of file ppdparser.hxx.

Friends And Related Function Documentation

friend class CPDManager
friend

Definition at line 60 of file ppdparser.hxx.

friend class PPDParser
friend

Definition at line 59 of file ppdparser.hxx.

Member Data Documentation

OUString psp::PPDKey::m_aGroup
private

Definition at line 70 of file ppdparser.hxx.

OUString const psp::PPDKey::m_aKey
private

Definition at line 65 of file ppdparser.hxx.

value_type psp::PPDKey::m_aOrderedValues
private

Definition at line 67 of file ppdparser.hxx.

hash_type psp::PPDKey::m_aValues
private

Definition at line 66 of file ppdparser.hxx.

bool psp::PPDKey::m_bQueryValue
private

Definition at line 69 of file ppdparser.hxx.

bool psp::PPDKey::m_bUIOption
private

Definition at line 76 of file ppdparser.hxx.

SetupType psp::PPDKey::m_eSetupType
private

Definition at line 78 of file ppdparser.hxx.

int psp::PPDKey::m_nOrderDependency
private

Definition at line 77 of file ppdparser.hxx.

const PPDValue* psp::PPDKey::m_pDefaultValue
private

Definition at line 68 of file ppdparser.hxx.


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