SIM_Options Class Reference

#include <SIM_Options.h>

Inheritance diagram for SIM_Options:

OP_Options UT_Options

List of all members.

Public Member Functions

 SIM_Options ()
 SIM_Options (SIM_OptionsUser *owner)
virtual ~SIM_Options ()
void setOptionFromPointAttribute (GEO_Point pt, GA_ROAttributeRef attroffset)
const SIM_Optionsoperator= (const SIM_Options &src)

Protected Member Functions

virtual void optionChanged (const char *name)


Detailed Description

This class stores a set of name/value pairs. Each value can be one of several different data types. No automatic conversion between data types is provided, so accessing existing data requires knowledge of both the data name and the data type.
Examples:

SIM/SIM_ForceOrbit.C, SIM/SIM_ForceOrbit.h, SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 36 of file SIM_Options.h.


Constructor & Destructor Documentation

SIM_Options::SIM_Options (  )  [explicit]

SIM_Options::SIM_Options ( SIM_OptionsUser owner  )  [explicit]

virtual SIM_Options::~SIM_Options (  )  [virtual]


Member Function Documentation

const SIM_Options& SIM_Options::operator= ( const SIM_Options src  ) 

virtual void SIM_Options::optionChanged ( const char *  name  )  [protected, virtual]

This function is called whenever data is added, removed, or changed. If the name parameter is null, then multiple pieces of data were changed simultaneously (probably through a load or assignment operation). This function just calls SIM_OptionsUser::optionChanged() on each user of this data.

Reimplemented from OP_Options.

void SIM_Options::setOptionFromPointAttribute ( GEO_Point  pt,
GA_ROAttributeRef  attroffset 
)

Sets an option based on a geometric point and an attribute. This utility function relieves the programmer from worrying about the data type of the attribute and mapping it to the matching SIM_Options data type.


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

Generated on Thu Jan 31 00:32:06 2013 for HDK by  doxygen 1.5.9