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

#include <UT_OptionFile.h>

Classes

class  const_iterator
 
class  iterator
 

Public Member Functions

 UT_OptionFile (UT_OptionParser *parser=NULL)
 
 UT_OptionFile (const UT_OptionFile &src)
 
 ~UT_OptionFile ()
 
void clear ()
 
bool load (const char *filename)
 
bool save (const char *filename) const
 
bool load (const char *filename, UT_IStream &is)
 
bool save (const char *filename, std::ostream &os) const
 
bool save (const char *filename, FILE *file) const
 
bool hasOption (const char *name) const
 
void removeOption (const char *name)
 
void getOption (const char *name, int &value, int defvalue) const
 
void getOption (const char *name, exint &value, exint defvalue) const
 
void getOption (const char *name, bool &value, bool defvalue) const
 
void getOption (const char *name, fpreal32 &value, fpreal32 defvalue) const
 
void getOption (const char *name, fpreal64 &value, fpreal64 defvalue) const
 
void getOption (const char *name, UT_String &value, const UT_String &defvalue) const
 
void getOption (const char *name, UT_String &value, const char *defvalue) const
 
void getOption (const char *name, UT_StringHolder &value, const UT_StringHolder &defvalue) const
 
void getOption (const char *name, UT_StringHolder &value, const char *defvalue) const
 
void getOption (const char *name, UT_Vector2 &value, const UT_Vector2 &defvalue) const
 
void getOption (const char *name, UT_Vector3 &value, const UT_Vector3 &defvalue) const
 
void getOption (const char *name, UT_Vector4 &value, const UT_Vector4 &defvalue) const
 
void getOption (const char *name, UT_Quaternion &value, const UT_Quaternion &defvalue) const
 
void getOption (const char *name, UT_Matrix3 &value, const UT_Matrix3 &defvalue) const
 
void getOption (const char *name, UT_Matrix4 &value, const UT_Matrix4 &defvalue) const
 
void getOption (const char *name, UT_Color &value, const UT_Color &defvalue) const
 
void setOption (const char *name, int value)
 
void setOption (const char *name, exint value)
 
void setOption (const char *name, bool value)
 
void setOption (const char *name, fpreal32 value)
 
void setOption (const char *name, fpreal64 value)
 
void setOption (const char *name, const UT_String &value)
 
void setOption (const char *name, const UT_StringHolder &value)
 
void setOption (const char *name, const char *value)
 
void setOption (const char *name, const UT_Vector2 &value)
 
void setOption (const char *name, const UT_Vector3 &value)
 
void setOption (const char *name, const UT_Vector4 &value)
 
void setOption (const char *name, const UT_Quaternion &value)
 
void setOption (const char *name, const UT_Matrix3 &value)
 
void setOption (const char *name, const UT_Matrix4 &value)
 
void setOption (const char *name, const UT_Color &value)
 
const UT_OptionFileoperator= (const UT_OptionFile &src)
 
void merge (const UT_OptionFile &src)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 

Detailed Description

Definition at line 79 of file UT_OptionFile.h.

Constructor & Destructor Documentation

UT_OptionFile::UT_OptionFile ( UT_OptionParser parser = NULL)

Construct a UT_OptionFile objects. If no parser is specified, it defaults to UT_UIOptionParser.

UT_OptionFile::UT_OptionFile ( const UT_OptionFile src)
UT_OptionFile::~UT_OptionFile ( )

Member Function Documentation

const_iterator UT_OptionFile::begin ( void  ) const
inline

Definition at line 236 of file UT_OptionFile.h.

iterator UT_OptionFile::begin ( void  )
inline

Definition at line 244 of file UT_OptionFile.h.

void UT_OptionFile::clear ( )
const_iterator UT_OptionFile::end ( void  ) const
inline

Definition at line 240 of file UT_OptionFile.h.

iterator UT_OptionFile::end ( void  )
inline

Definition at line 248 of file UT_OptionFile.h.

void UT_OptionFile::getOption ( const char *  name,
int value,
int  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
exint value,
exint  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
bool &  value,
bool  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
fpreal32 value,
fpreal32  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
fpreal64 value,
fpreal64  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_String value,
const UT_String defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_String value,
const char *  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_StringHolder value,
const UT_StringHolder defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_StringHolder value,
const char *  defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Vector2 value,
const UT_Vector2 defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Vector3 value,
const UT_Vector3 defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Vector4 value,
const UT_Vector4 defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Quaternion value,
const UT_Quaternion defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Matrix3 value,
const UT_Matrix3 defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Matrix4 value,
const UT_Matrix4 defvalue 
) const
void UT_OptionFile::getOption ( const char *  name,
UT_Color value,
const UT_Color defvalue 
) const
bool UT_OptionFile::hasOption ( const char *  name) const
bool UT_OptionFile::load ( const char *  filename)
bool UT_OptionFile::load ( const char *  filename,
UT_IStream is 
)
void UT_OptionFile::merge ( const UT_OptionFile src)
const UT_OptionFile& UT_OptionFile::operator= ( const UT_OptionFile src)
void UT_OptionFile::removeOption ( const char *  name)
bool UT_OptionFile::save ( const char *  filename) const
bool UT_OptionFile::save ( const char *  filename,
std::ostream &  os 
) const
bool UT_OptionFile::save ( const char *  filename,
FILE *  file 
) const
void UT_OptionFile::setOption ( const char *  name,
int  value 
)
void UT_OptionFile::setOption ( const char *  name,
exint  value 
)
void UT_OptionFile::setOption ( const char *  name,
bool  value 
)
void UT_OptionFile::setOption ( const char *  name,
fpreal32  value 
)
void UT_OptionFile::setOption ( const char *  name,
fpreal64  value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_String value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_StringHolder value 
)
void UT_OptionFile::setOption ( const char *  name,
const char *  value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Vector2 value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Vector3 value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Vector4 value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Quaternion value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Matrix3 value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Matrix4 value 
)
void UT_OptionFile::setOption ( const char *  name,
const UT_Color value 
)

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