473,325 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Instance tracing problem.

100 100+
i have TestMain class which is inheriting from TestCommon and XYZ...
like this...
Expand|Select|Wrap|Line Numbers
  1.  
  2.                        TestCommon   XYZ
  3.                            ^         ^
  4.                            |         |
  5.                          ---------------
  6.                                 |
  7.                                 |
  8.                              TestMain
  9.  
  10. TestCommon has a datamamber 
  11. class
  12. {
  13.  
  14.           protected:
  15.              TestOptionCommon options;
  16.           public:
  17.          TestOptionCommon optionsPublic;
  18. };
  19. TestMain has a function start();
  20.  
  21.  
  22.  
TestOptionCommon has a vector oftype vector<TestOptions*> and TestOptions is the inner class of the TestOptionCommon...Like this
Expand|Select|Wrap|Line Numbers
  1. class TestOptionCommon
  2. {
  3.    class TestOptions 
  4.        {
  5.        };
  6.        typedef vector<TestOptions*> optionlist;
  7.        protected:
  8.        oprionlist optionlistvector;
  9. };
  10.  
TestOptionCommon has some functions AddOptions()
where it is updating the "vector optionlistvector"...
my question is....
How to use the optionlistvector???....its values???....using the following information....
If you want any please let me know....I think i need to learn about instances....
Jul 18 '07 #1
1 1164
weaknessforcats
9,208 Expert Mod 8TB
TestOptionCommon::optionlistvector is a private member of TestOptionCommon.

You can access it using any TestOptionCommon member function.
Jul 18 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Trace User | last post by:
Hello, I have a design question regarding Tracing and Trace Switches. I understand that Trace Switches can be configured through an application's .config file. When a switch is instantiated,...
0
by: Paul Ibison | last post by:
HI when I have a page which calls a component I want to do the following - tracing set to false on the pag tracing set to true in the componen tracing set to false in the page after the call to...
6
by: serge calderara | last post by:
Dear all, I have an applicatin that generate a querry to an SQL server, then display results on a second webform. I try to see how tracing works, then I have notice that as soon as I...
2
by: deepukutty | last post by:
Hi all, I know tht we can do tracing in two ways.one in application level and the other is at Page level. I am able to see the details of trace either on the page itself or .../trace.axd page....
1
by: Massimo | last post by:
I've got a problem with VB.NET application tracing: together with my tracing messages I see in my output (file or debug window) a lot of rows with only a nu,ber (1, 2, 3, ...) What that means?...
0
by: cnys | last post by:
We have an ASP.NET 2.0 (C#) app and we're trying to add tracing into it. The tracing functionality within .NET is great, but when we output this to a file, it's kind of sparse. So, we're looking...
0
by: GB | last post by:
All, There's a few messages around about the Environment.GetResourceString causing a "Resource lookup failed - infinite recursion detected." error but nothing detailed. I have a problem...
0
by: rehto | last post by:
We have an ASP.NET 2.0 (C#) app and we want to enable tracing (see the code snippets below). The first time a user navigates to the app., the tracing works fine (the ASP.NET tracing appears on...
1
Digital Don
by: Digital Don | last post by:
Hi, I have been using Visual Studio 2005 for 5 months now and quite a few time I have come across a problem which is, when I write a program and try to debug and trace the error/problem in the...
3
by: jimgardener | last post by:
hi, i am a python newbie..while trying out some message passing between two object instances i came across a problem moduleA.py -------------------- import moduleB class MyClassA: def...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.