HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEP_ContextOptions Class Reference

#include <DEP_ContextOptions.h>

Public Member Functions

 DEP_ContextOptions ()
 
int getNumOptions () const
 
bool hasOption (const UT_StringRef &opt) const
 
const UT_OptionEntrygetOptionEntry (const UT_StringRef &opt) const
 
bool isOptionAtDefault (const UT_StringRef &opt) const
 
UT_Options::iterator begin () const
 
UT_Options::iterator end () const
 
float getOptionF (const UT_StringHolder &opt, float def) const
 
void setOption (const UT_StringHolder &opt, UT_OptionEntryPtr value, bool is_default=false)
 
void setOptionS (const UT_StringHolder &opt, const UT_StringHolder &value, bool is_default=false)
 
void setOptionF (const UT_StringHolder &opt, fpreal64 value, bool is_default=false)
 
void removeOption (const UT_StringHolder &opt)
 
void clear ()
 
void cloneOptions (const UT_Options &options)
 
void cloneOptionsInto (UT_Options &options) const
 

Detailed Description

Definition at line 28 of file DEP_ContextOptions.h.

Constructor & Destructor Documentation

DEP_ContextOptions::DEP_ContextOptions ( )

Member Function Documentation

UT_Options::iterator DEP_ContextOptions::begin ( ) const
void DEP_ContextOptions::clear ( )
void DEP_ContextOptions::cloneOptions ( const UT_Options options)
void DEP_ContextOptions::cloneOptionsInto ( UT_Options options) const
UT_Options::iterator DEP_ContextOptions::end ( ) const
int DEP_ContextOptions::getNumOptions ( ) const
const UT_OptionEntry* DEP_ContextOptions::getOptionEntry ( const UT_StringRef opt) const
float DEP_ContextOptions::getOptionF ( const UT_StringHolder opt,
float  def 
) const
bool DEP_ContextOptions::hasOption ( const UT_StringRef opt) const
bool DEP_ContextOptions::isOptionAtDefault ( const UT_StringRef opt) const
void DEP_ContextOptions::removeOption ( const UT_StringHolder opt)
void DEP_ContextOptions::setOption ( const UT_StringHolder opt,
UT_OptionEntryPtr  value,
bool  is_default = false 
)
void DEP_ContextOptions::setOptionF ( const UT_StringHolder opt,
fpreal64  value,
bool  is_default = false 
)
void DEP_ContextOptions::setOptionS ( const UT_StringHolder opt,
const UT_StringHolder value,
bool  is_default = false 
)

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