Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ExampleDoxygen.c
Go to the documentation of this file.
1#ifdef UNDEFINED_MACRO
4
52class SCR_ExampleDoxygen
53{
54 //------------------------------------------------------------------------------------------------
58 int m_iExamplePublicVariable;
59
60 //------------------------------------------------------------------------------------------------
63 protected int m_iExampleProtectedVariable;
64
65 //------------------------------------------------------------------------------------------------
67 void Example()
68 {
69 // comments without Doxygen markup like this one are ignored
70 Print("Example", LogLevel.NORMAL);
71 }
72
73 //------------------------------------------------------------------------------------------------
76 void ExampleWithParam(int exampleParam)
77 {
78 Print("ExampleWithParam: exampleParam1=" + exampleParam, LogLevel.NORMAL);
79 }
80
81 //------------------------------------------------------------------------------------------------
84 void ExampleWithOutParam(out int outExampleParam)
85 {
86 outExampleParam = 42;
87 Print("ExampleWithOutParam: outExampleParam=" + outExampleParam, LogLevel.NORMAL);
88 }
89
90 //------------------------------------------------------------------------------------------------
93 void ExampleWithInOutParam(inout int inOutExampleParam)
94 {
95 int before = inOutExampleParam;
96 inOutExampleParam *= 42;
97 Print("ExampleWithInOutParam: before=" + before + ", after=" + inOutExampleParam, LogLevel.NORMAL);
98 }
99
100 //------------------------------------------------------------------------------------------------
103 int ExampleWithReturnValue()
104 {
105 Print("ExampleWithReturnValue", LogLevel.NORMAL);
106 return 42;
107 }
108
109 //------------------------------------------------------------------------------------------------
114 int ExampleWithEverything(int exampleParam, out int outExampleParam)
115 {
116 Print("ExampleWithEverything: exampleParam=" + exampleParam + ", outExampleParam=" + outExampleParam, LogLevel.NORMAL);
117 outExampleParam = exampleParam;
118 return exampleParam + outExampleParam;
119 }
120}
121
124enum SCR_EExampleDoxygen
125{
126 EXAMPLE_1,
127 EXAMPLE_2,
128}
129#endif // UNDEFINED_MACRO
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14