Debian Codegraph @

src/object.h

raw symbols SCIP
1 /***************************************************************************
2 object.h - description
3 -------------------
4 begin : Thu Apr 20 2000
5 copyright : (C) 2000 by Waldemar Baraldi
6 email : [email protected]
7 ***************************************************************************/
8
9 #ifndef OBJECT_H
10 #define OBJECT_Hcxx . . $ `src/object.h:10:9`!
11
12 #include <math.h>
13 #include <stdlib.h>
14 #include <stdio.h>
15 #include <typeinfo>
16
17 #define PIcxx . . $ `src/object.h:17:9`! 3.1415
18 #define DSIZEcxx . . $ `src/object.h:18:9`! 1024*1024
19
20 class Objectcxx . . $ Object#{
21 public:
22 Objectcxx . . $ Object#Object(49f6e7a06ebc5aa8).(){
23 /* if (index<DSIZE)
24 all[index++]=this;*/
25 }
26
27 virtual ~cxx . . $ Object#`~Object`(ced63f7c635d850d).Objectcxx . . $ Object#(){
28 /* bool ready=false;
29 for (int i=0;i<DSIZE && !ready;i++){
30 if (all[i]==this){
31 all[i]=NULL;
32 ready=true;
33 }
34 } */
35 }
36
37 virtual void reportLeakscxx . . $ Object#reportLeaks(49f6e7a06ebc5aa8).(){
38 int end=DSIZEcxx . . $ `src/object.h:18:9`!;
39 if (indexcxx . . $ Object#index.<DSIZEcxx . . $ `src/object.h:18:9`!)
40 end=indexcxx . . $ Object#index.;
41 else
42 printf("Not complete\n");
43
44 for (int i=0;i<end;i++){
45 if (allcxx . . $ Object#all.[i]!=NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!)
46 printf("%s\n", typeid(*(allcxx . . $ Object#all.[i])).name());
47 }
48 }
49 protected:
50 static int indexcxx . . $ Object#index.;
51 static Objectcxx . . $ Object# * allcxx . . $ Object#all.[];
52 };
53
54
55 #endif
56