Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

newtest.cpp File Reference

#include "refclass.h"
#include <stdio.h>
#include <string>

Include dependency graph for newtest.cpp:

Include dependency graph

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

Define Documentation

#define rand   random
 


Typedef Documentation

typedef TRef<tspectre,std::string> treference
 

typedef TSub<tspectre,std::string> tsub
 


Function Documentation

INSTANTIATE_REFCLASS tspectre   ,
std::string   ,
treference   
 

INSTANTIATE_TSUB tspectre   ,
std::string   
 

main  
 

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 }


Variable Documentation

std::map<class tspectre *, int> delmap
 

int numspectres = 0
 


Generated on Mon Jul 7 21:13:48 2003 for Ethereal by doxygen1.2.15