Main Page | Modules | Data Structures | File List | Globals | Related Pages

ExampleGenerator.h

Go to the documentation of this file.
00001 #ifndef EXAMPLEGENERATORH
00002 #define EXAMPLEGENERATORH
00003 
00007 #include "ExampleSpec.h"
00008 #include "Example.h"
00009 
00010 
00027 typedef struct _ExampleGenerator_ {
00028    void *randomState;
00029    ExampleSpecPtr spec;
00030    long numGenerated;
00031    long maxGenerated;
00032 } ExampleGenerator, *ExampleGeneratorPtr;
00033 
00034 
00043 ExampleGeneratorPtr ExampleGeneratorNew(ExampleSpecPtr es, int seed);
00044 
00046 void ExampleGeneratorFree(ExampleGeneratorPtr eg);
00047 
00058 ExamplePtr ExampleGeneratorGenerate(ExampleGeneratorPtr eg);
00059 
00060 
00061 #endif /* EXAMPLEGENERATORH */

Generated for VFML by doxygen hosted by SourceForge.net Logo