PRM_PresetInfo Class Reference

#include <PRM_PresetInfo.h>

List of all members.

Public Member Functions

 PRM_PresetInfo (const char *subdir, const char *file)
virtual ~PRM_PresetInfo ()
void setIndexFile (const char *subdir)
void setNeedsRefresh ()
int getNumPresets ()
const UT_StringgetPresetName (int i)
const UT_StringgetPresetPath (int i)
const UT_StringgetPresetFile ()
const UT_StringgetPresetSection ()
int getDefaultPreset ()
int getPresetIndex (const char *presetname)
bool deletePresetFromDir (const char *name, const char *dir=0)
bool savePresetToDir (PRM_ParmList *parmlist, const char *name, const char *dir)
bool loadPresetFile (PRM_ParmList *parmlist, const char *filename)
bool savePresetFile (PRM_ParmList *parmlist, const char *filename)

Static Public Member Functions

static void makeValidPresetFileName (UT_String &filename)
static const UT_StringArraygetValidSaveDirs ()
static bool loadPresetContents (PRM_ParmList *parmlist, const char *token, UT_IStream &is)


Detailed Description

Definition at line 35 of file PRM_PresetInfo.h.


Constructor & Destructor Documentation

PRM_PresetInfo::PRM_PresetInfo ( const char *  subdir,
const char *  file 
)

virtual PRM_PresetInfo::~PRM_PresetInfo (  )  [virtual]


Member Function Documentation

bool PRM_PresetInfo::deletePresetFromDir ( const char *  name,
const char *  dir = 0 
)

int PRM_PresetInfo::getDefaultPreset (  ) 

int PRM_PresetInfo::getNumPresets (  ) 

const UT_String& PRM_PresetInfo::getPresetFile (  ) 

int PRM_PresetInfo::getPresetIndex ( const char *  presetname  ) 

const UT_String& PRM_PresetInfo::getPresetName ( int  i  ) 

const UT_String& PRM_PresetInfo::getPresetPath ( int  i  ) 

const UT_String& PRM_PresetInfo::getPresetSection (  ) 

static const UT_StringArray& PRM_PresetInfo::getValidSaveDirs (  )  [static]

static bool PRM_PresetInfo::loadPresetContents ( PRM_ParmList parmlist,
const char *  token,
UT_IStream is 
) [static]

bool PRM_PresetInfo::loadPresetFile ( PRM_ParmList parmlist,
const char *  filename 
)

static void PRM_PresetInfo::makeValidPresetFileName ( UT_String filename  )  [static]

bool PRM_PresetInfo::savePresetFile ( PRM_ParmList parmlist,
const char *  filename 
)

bool PRM_PresetInfo::savePresetToDir ( PRM_ParmList parmlist,
const char *  name,
const char *  dir 
)

void PRM_PresetInfo::setIndexFile ( const char *  subdir  ) 

void PRM_PresetInfo::setNeedsRefresh (  ) 


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

Generated on Fri May 25 00:10:35 2012 for HDK by  doxygen 1.5.9