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

#include <PI_SettingList.h>

Public Member Functions

 PI_SettingList ()
 
 ~PI_SettingList ()
 
void getSetting (const char *setting_name, int &setting, int default_value) const
 
void getSetting (const char *setting_name, bool &setting, bool default_value) const
 
void getSetting (const char *setting_name, fpreal &setting, fpreal default_value) const
 
void getSetting (const char *setting_name, UT_String &setting, const char *default_value) const
 
void getSetting (const char *setting_name, UT_Vector2R &setting, const UT_Vector2R &default_value) const
 
void getSetting (const char *setting_name, UT_Vector3R &setting, const UT_Vector3R &default_value) const
 
void getSetting (const char *setting_name, UT_Vector4R &setting, const UT_Vector4R &default_value) const
 
void appendSetting (const char *setting_name, int setting)
 
void appendSetting (const char *setting_name, bool setting)
 
void appendSetting (const char *setting_name, fpreal setting)
 
void appendSetting (const char *setting_name, const char *setting)
 
void appendSetting (const char *setting_name, const UT_Vector2R &setting)
 
void appendSetting (const char *setting_name, const UT_Vector3R &setting)
 
void appendSetting (const char *setting_name, const UT_Vector4R &setting)
 
void removeSetting (const char *setting_name)
 
bool findUnreadSettings (UT_String &unread_settings) const
 
bool operator== (PI_SettingList &setting_list)
 
void sort ()
 
PI_SettingListoperator= (const PI_SettingList &setting_list)
 
void copyMissing (const PI_SettingList &setting_list)
 
void updateSettings (const PI_SettingList &setting_list)
 
void clear ()
 
bool isEmpty () const
 
void loadFromSettingString (const char *setting_string)
 
void generateSettingString (std::ostream &os) const
 
void generateSettingString (UT_String &str) const
 

Friends

class pi_SettingParser
 
std::ostream & operator<< (std::ostream &os, const PI_SettingList &setting_list)
 

Detailed Description

Definition at line 48 of file PI_SettingList.h.

Constructor & Destructor Documentation

PI_SettingList::PI_SettingList ( )
explicit
PI_SettingList::~PI_SettingList ( )

Member Function Documentation

void PI_SettingList::appendSetting ( const char *  setting_name,
int  setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
bool  setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
fpreal  setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
const char *  setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
const UT_Vector2R setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
const UT_Vector3R setting 
)
void PI_SettingList::appendSetting ( const char *  setting_name,
const UT_Vector4R setting 
)
void PI_SettingList::clear ( )
void PI_SettingList::copyMissing ( const PI_SettingList setting_list)
bool PI_SettingList::findUnreadSettings ( UT_String unread_settings) const
void PI_SettingList::generateSettingString ( std::ostream &  os) const
void PI_SettingList::generateSettingString ( UT_String str) const
void PI_SettingList::getSetting ( const char *  setting_name,
int setting,
int  default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
bool &  setting,
bool  default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
fpreal setting,
fpreal  default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
UT_String setting,
const char *  default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
UT_Vector2R setting,
const UT_Vector2R default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
UT_Vector3R setting,
const UT_Vector3R default_value 
) const
void PI_SettingList::getSetting ( const char *  setting_name,
UT_Vector4R setting,
const UT_Vector4R default_value 
) const
bool PI_SettingList::isEmpty ( ) const
inline

Definition at line 118 of file PI_SettingList.h.

void PI_SettingList::loadFromSettingString ( const char *  setting_string)
PI_SettingList& PI_SettingList::operator= ( const PI_SettingList setting_list)
bool PI_SettingList::operator== ( PI_SettingList setting_list)
void PI_SettingList::removeSetting ( const char *  setting_name)
void PI_SettingList::sort ( )
void PI_SettingList::updateSettings ( const PI_SettingList setting_list)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const PI_SettingList setting_list 
)
friend

Definition at line 125 of file PI_SettingList.h.

friend class pi_SettingParser
friend

Definition at line 139 of file PI_SettingList.h.


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