|
-
November 6th, 2008, 11:27 PM
#1
Friend class
I would like to declare Estimator class a friend of YLC2Plot class. Any ideas??
Thanks in advance.
Regards: Shabbar Abbas
i am using sun c++ 5.9 ( CC )
*********************************************/
#ifndef _ESTIMATOR_H
#define _ESTIMATOR_H
template<typename RadarType, typename FilterType>
class IMM: public RadarType, public FilterType {
public:
//....
protected:
//...
private:
//..
};
#endif
/******************************************/
#ifndef _YLC2PLOT_H
#define _YLC2PLOT_H
#include "Estimator.h"
class YLC2Plot : public BasePlot {
public:
friend IMM;
protected:
//....
private:
//.....
};
#endif /* _YLC2PLOT_H */
Last edited by sza110; November 6th, 2008 at 11:53 PM.
Reason: sorry, actually i want IMM class to be friend of YLC2Plot class
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|