#include "refclass.h"#include <stdio.h>#include <string>Include dependency graph for newtest.cpp:

Compounds | |
| class | tspectre |
Defines | |
| #define | rand random |
Typedefs | |
| typedef TRef< tspectre, std::string > | treference |
| typedef TSub< tspectre, std::string > | tsub |
Functions | |
| INSTANTIATE_TSUB (tspectre, std::string) | |
| INSTANTIATE_REFCLASS (tspectre, std::string, treference) | |
| main () | |
Variables | |
| std::map< class tspectre *, int > | delmap |
| int | numspectres = 0 |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
00039 {
00040
00041 RefClass<tspectre,std::string,tsub> test ("bleh");
00042 {
00043 RefClass<tspectre,std::string,tsub> test1 ("bleh");
00044 RefClass<tspectre,std::string,tsub> test2 ("blah");
00045 printf ("%s",test->print().c_str());
00046 printf ("%s",test1->print().c_str());
00047 }
00048 printf ("%s",test->print().c_str());
00049 return 0;
00050 }
|
|
|
|
|
|
|
1.2.15