ObjCryst::RefObjOption< T > Class Template Reference

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

Inheritance diagram for ObjCryst::RefObjOption< T >:

Inheritance graph
[legend]
Collaboration diagram for ObjCryst::RefObjOption< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RefObjOption (T *obj)
 Constructor for the option.
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.


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.

Definition at line 600 of file RefinableObj.h.


Constructor & Destructor Documentation

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

Constructor for the option.

Parameters:
obj,: the

Definition at line 814 of file RefinableObj.cpp.


Member Data Documentation

template<class T>
void(T::* ObjCryst::RefObjOption< T >::mfpSetNewValue)(const int) [private]

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.


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

Generated on Fri Apr 4 23:02:19 2008 for FOX/ObjCryst++ by  doxygen 1.5.5