01: #include "test2.h"
02: 
03: void TextGenerator::generate( const char *s ) const 
04: { 
05:   (*sout) << s ; 
06: }
07: 
08: void TextGenerator::generate( const char *s, int start, int end ) const 
09: {
10:   for ( int i = start ; i <= end ; ++i )
11:     (*sout) << s[i] ;
12:   return a<p->b ? a : 3;
13: }
14: 
15: void TextGenerator::generateln( const char *s ) const
16: { 
17:   generate( s ) ;
generate -> test_refs.cpp:3
generate -> test_refs.cpp:8
18:   (*sout) << endl ; 
19: }
20: 
21: void TextGenerator::generateEntire( const char *s ) const
22: {
23:   startTextGeneration() ;
startTextGeneration -> test_refs.cpp:46
startTextGeneration -> test_refs.cpp:53
startTextGeneration -> test_refs.h:41
24:   generate(s) ;
generate -> test_refs.cpp:3
generate -> test_refs.cpp:8
25:   endTextGeneration() ;
endTextGeneration -> test_refs.cpp:60
endTextGeneration -> test_refs.h:42
26: }
27: 
28: void TextGenerator::beginText( const char *s ) const
29: {
30:   startTextGeneration() ;
startTextGeneration -> test_refs.cpp:46
startTextGeneration -> test_refs.cpp:53
startTextGeneration -> test_refs.h:41
31:   if ( s )
32:     generate( s ) ;
generate -> test_refs.cpp:3
generate -> test_refs.cpp:8
33: }
34: 
35: void TextGenerator::endText( const char *s ) const
36: {
37:   if ( s )
38:     generate( s ) ;
generate -> test_refs.cpp:3
generate -> test_refs.cpp:8
39:   endTextGeneration() ;
endTextGeneration -> test_refs.cpp:60
endTextGeneration -> test_refs.h:42
40: }
41: 
42: TextDecorator::TextDecorator( TextGenerator *t ) : decorated( t ) 
43: {
44: }
45: 
46: void TextDecorator::startTextGeneration() const 
TextDecorator -> test_refs.cpp:42
TextDecorator -> test_refs.h:48
47: { 
48:   startDecorate() ;
49:   if ( decorated )
50:     decorated->startTextGeneration() ;
startTextGeneration -> test_refs.cpp:46
startTextGeneration -> test_refs.cpp:53
startTextGeneration -> test_refs.h:41
51: }
52: 
53: void TextDecorator::startTextGeneration() const 
TextDecorator -> test_refs.cpp:42
TextDecorator -> test_refs.h:48
54: { 
55:   startDecorate() ;
56:   if ( decorated )
57:     decorated->startTextGeneration() ;
startTextGeneration -> test_refs.cpp:46
startTextGeneration -> test_refs.cpp:53
startTextGeneration -> test_refs.h:41
58: }
59: 
60: void TextDecorator::endTextGeneration() const 
TextDecorator -> test_refs.cpp:42
TextDecorator -> test_refs.h:48
61: { 
62:   if ( decorated )
63:     decorated->endTextGeneration() ;
endTextGeneration -> test_refs.cpp:60
endTextGeneration -> test_refs.h:42
64:   endDecorate() ;
65:   mysum;
66: }
67: