proj home

Files   Classes   Functions   Hierarchy  

gobjdebug01test Class Reference

Test graphics debuging source code gobdebug01. More...

#include <gobjdebug01test.h>

Collaboration diagram for gobjdebug01test:

List of all members.

Public Member Functions

void test01 ()
 Run some debug code which may or may not be turned on depending on the source code being commented in or out.
void test02 ()
 Run some debug code which may or may not be turned on depending on the source code being commented in or out.
void test03 ()

Static Public Attributes

static string doc []
 Brief description of each test.


Detailed Description

Test graphics debuging source code gobdebug01.

Definition at line 8 of file gobjdebug01test.h.


Member Function Documentation

void gobjdebug01test::test01 (  ) 

Run some debug code which may or may not be turned on depending on the source code being commented in or out.

Definition at line 21 of file gobjdebug01test.cpp.

References gobjContainer::draw(), gobjdebug01list::global_list, gobjContainer::push(), and SHOW.

00022 {
00023   gobjContainer vg;
00024 
00025   vg.push(new gobjdebug01test_C());
00026   vg.push(new gobjdebug01test_A());
00027   vg.push(new gobjdebug01test_B());
00028 
00029   vg.draw();
00030 
00031 #ifdef GOBJDEBUG01_H
00032   vector<string> & vs(gobjdebug01list::global_list);
00033   cout << SHOW(vs.size()) << endl;
00034 
00035   for (uint i=0; i<vs.size(); ++i)
00036     cout << "*" << vs[i] << "*" << endl;
00037 #endif
00038 }

void gobjdebug01test::test02 (  ) 

Run some debug code which may or may not be turned on depending on the source code being commented in or out.

Definition at line 50 of file gobjdebug01test.cpp.

References gobjContainer::draw(), gobjdebug01list::global_list, and gobjContainer::push().

00051 {
00052   gobjContainer vg;
00053 
00054   vg.push(new gobjglColor3d(1.0,0.0,1.0));
00055   vg.push(new gobjdebug01test_C());
00056   vg.push(new gobjdebug01test_A());
00057   vg.push(new gobjdebug01test_B());
00058 
00059   vg.draw();
00060 
00061 #ifdef GOBJDEBUG01_H
00062   vector<string> & vs(gobjdebug01list::global_list);
00063   //cout << SHOW(vs.size()) << endl;
00064 
00065   for (uint i=0; i<vs.size(); ++i)
00066     cout << "*" << vs[i] << "*" << endl;
00067 #endif
00068 
00069 }

void gobjdebug01test::test03 (  ) 

Definition at line 72 of file gobjdebug01test.cpp.

References gobjContainer::draw(), gobjlog_draw, gobjlog_log, and gobjContainer::push().

00073 {
00074   gobjContainer vg;
00075 
00076   vg.push(new gobjglColor3d(1.0,0.0,1.0));
00077   vg.push(new gobjdebug01test_C());
00078   vg.push(new gobjdebug01test_A());
00079   vg.push(new gobjdebug01test_B());
00080 
00081   {
00082 #ifdef GOBJDEBUG01_H 
00083     gobjlog log; 
00084 #endif
00085     vg.draw();
00086   }
00087 
00088   {
00089     gobjlog_log
00090     vg.draw();
00091   }
00092 
00093   gobjlog_draw(vg)
00094 
00095 }


Member Data Documentation

string gobjdebug01test::doc [static]

Initial value:

 
{
  "",
  "Run some debug code which may or may not be turned on depending on the source code being commented in or out.",
  "Run some debug code which may or may not be turned on depending on the source code being commented in or out.",
  ""
}
Brief description of each test.

Definition at line 13 of file gobjdebug01test.h.

Referenced by main().


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

Generated on Fri Mar 4 00:49:58 2011 for Chelton Evans Source by  doxygen 1.5.8