Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

ObjCryst::RefObjOption Class Template Reference

Class for options of RefinableObj, templated so that we can warn the object that something has been changed. More...

#include <RefinableObj.h>

Inheritance diagram for ObjCryst::RefObjOption::

ObjCryst::RefObjOpt List of all members.

Public Methods

 RefObjOption (T *obj)
 Constructor for the option. More...

 ~RefObjOption ()
void Init (const int nbChoice, const string *name, const string *choiceNames, void(T::*fp)(const int))
virtual void SetChoice (const int choice)

Private Attributes

T * mpObj
 The object which uses this option.

void(T::* mfpSetNewValue )(const int)
 The pointer to the member function to be used when the choice is changed, to notify immediately the object. If null, the value is just recorded and no notification is done.


Detailed Description

template<class T>
class ObjCryst::RefObjOption< T >

Class for options of RefinableObj, templated so that we can warn the object that something has been changed.

NOT USED SO FAR.


Constructor & Destructor Documentation

template<class T>
ObjCryst::RefObjOption< T >::RefObjOption T *    obj
 

Constructor for the option.

Parameters:
obj:  the


The documentation for this class was generated from the following file:
Generated on Tue Feb 5 17:37:25 2002 for ObjCryst++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001