921e5a0eb4
From-SVN: r14840
28 lines
481 B
C
28 lines
481 B
C
// Build don't link:
|
|
// prms-id: 10038
|
|
template < class Referencee >
|
|
class Referencer
|
|
{
|
|
public:
|
|
Referencer (Referencee const * pReferencee);
|
|
};
|
|
|
|
template <class T>
|
|
class Array
|
|
{
|
|
public:
|
|
int addElement (T const & e);
|
|
int addElement ();
|
|
};
|
|
|
|
class ScenarioGroup;
|
|
|
|
class ScenarioSet : public Array< Referencer<ScenarioGroup> >
|
|
{
|
|
typedef Array< Referencer<ScenarioGroup> > arrayBase;
|
|
void addElement(ScenarioGroup *group)
|
|
{
|
|
arrayBase::addElement(group);
|
|
}
|
|
};
|