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. 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.

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 815 of file RefinableObj.cpp.


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

Generated on Mon Dec 7 23:07:02 2009 for FOX/ObjCryst++ by  doxygen 1.6.1