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

#include <ppdparser.hxx>

Collaboration diagram for psp::PPDContext:
[legend]

Public Member Functions

 PPDContext ()
 
 PPDContext (const PPDContext &rContext)
 
PPDContextoperator= (const PPDContext &rContext)=default
 
PPDContextoperator= (PPDContext &&rContext)
 
void setParser (const PPDParser *)
 
const PPDParsergetParser () const
 
const PPDValuegetValue (const PPDKey *) const
 
const PPDValuesetValue (const PPDKey *, const PPDValue *, bool bDontCareForConstraints=false)
 
int countValuesModified () const
 
const PPDKeygetModifiedKey (int n) const
 
bool checkConstraints (const PPDKey *, const PPDValue *)
 
char * getStreamableBuffer (sal_uLong &rBytes) const
 
void rebuildFromStreamBuffer (const std::vector< char > &rBuffer)
 
int getRenderResolution () const
 
void getPageSize (OUString &rPaper, int &rWidth, int &rHeight) const
 

Private Types

typedef std::unordered_map< const PPDKey *, const PPDValue *, PPDKeyhashhash_type
 

Private Member Functions

bool checkConstraints (const PPDKey *, const PPDValue *, bool bDoReset)
 
bool resetValue (const PPDKey *, bool bDefaultable=false)
 

Private Attributes

hash_type m_aCurrentValues
 
const PPDParserm_pParser
 

Detailed Description

Definition at line 227 of file ppdparser.hxx.

Member Typedef Documentation

typedef std::unordered_map< const PPDKey*, const PPDValue*, PPDKeyhash > psp::PPDContext::hash_type
private

Definition at line 229 of file ppdparser.hxx.

Constructor & Destructor Documentation

psp::PPDContext::PPDContext ( )
psp::PPDContext::PPDContext ( const PPDContext rContext)
inline

Definition at line 239 of file ppdparser.hxx.

Member Function Documentation

bool psp::PPDContext::checkConstraints ( const PPDKey ,
const PPDValue ,
bool  bDoReset 
)
private
bool psp::PPDContext::checkConstraints ( const PPDKey ,
const PPDValue  
)
int psp::PPDContext::countValuesModified ( ) const
inline

Definition at line 249 of file ppdparser.hxx.

const PPDKey* psp::PPDContext::getModifiedKey ( int  n) const
void psp::PPDContext::getPageSize ( OUString &  rPaper,
int rWidth,
int rHeight 
) const
const PPDParser* psp::PPDContext::getParser ( ) const
inline

Definition at line 244 of file ppdparser.hxx.

int psp::PPDContext::getRenderResolution ( ) const
char* psp::PPDContext::getStreamableBuffer ( sal_uLong rBytes) const
const PPDValue* psp::PPDContext::getValue ( const PPDKey ) const
PPDContext& psp::PPDContext::operator= ( const PPDContext rContext)
default
PPDContext& psp::PPDContext::operator= ( PPDContext &&  rContext)
void psp::PPDContext::rebuildFromStreamBuffer ( const std::vector< char > &  rBuffer)
bool psp::PPDContext::resetValue ( const PPDKey ,
bool  bDefaultable = false 
)
private
void psp::PPDContext::setParser ( const PPDParser )
const PPDValue* psp::PPDContext::setValue ( const PPDKey ,
const PPDValue ,
bool  bDontCareForConstraints = false 
)

Member Data Documentation

hash_type psp::PPDContext::m_aCurrentValues
private

Definition at line 230 of file ppdparser.hxx.

const PPDParser* psp::PPDContext::m_pParser
private

Definition at line 231 of file ppdparser.hxx.


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