1 #include "ace/Log_Msg.h"
4 void Graph::graph (char *filename
, Graphable_Element_List
&data
)
8 ACE_DEBUG ((LM_DEBUG
, ACE_TEXT ("Save graph to %C\n"), filename
));
11 for (int n
= 0 ; n
< 10 ; ++n
)
13 for (int j
= 0; j
< 10; ++j
)
21 for (Graphable_Element_List::iterator i
= data
.begin ();
27 int temp
= (int)((*i
).temp () - 80.0);
29 for (int j
= 0; j
<= temp
; ++j
)
35 for (int m
= 0 ; m
< 10 ; ++m
)
37 ACE_DEBUG ((LM_INFO
, ACE_TEXT ("%d "), l
[m
]));
39 for (int j
= 0; j
< 10; ++j
)
41 ACE_DEBUG ((LM_INFO
, ACE_TEXT ("%c"), h
[m
][j
]));
43 ACE_DEBUG ((LM_INFO
, ACE_TEXT ("\n")));