i have TestMain class which is inheriting from TestCommon and XYZ...
like this...
TestOptionCommo n has a vector oftype vector<TestOpti ons*> and TestOptions is the inner class of the TestOptionCommo n...Like this
TestOptionCommo n has some functions AddOptions()
where it is updating the "vector optionlistvecto r"...
my question is....
How to use the optionlistvecto r???....its values???....us ing the following information....
If you want any please let me know....I think i need to learn about instances....
like this...
Code:
TestCommon XYZ
^ ^
| |
---------------
|
|
TestMain
TestCommon has a datamamber
class
{
protected:
TestOptionCommon options;
public:
TestOptionCommon optionsPublic;
};
TestMain has a function start();
Code:
class TestOptionCommon
{
class TestOptions
{
};
typedef vector<TestOptions*> optionlist;
protected:
oprionlist optionlistvector;
};
where it is updating the "vector optionlistvecto r"...
my question is....
How to use the optionlistvecto r???....its values???....us ing the following information....
If you want any please let me know....I think i need to learn about instances....
Comment