File: cpptcl1.cpp

package info (click to toggle)
fpc 3.2.2%2Bdfsg-49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 341,452 kB
  • sloc: pascal: 3,820,194; xml: 194,356; ansic: 9,637; asm: 8,482; java: 5,346; sh: 4,813; yacc: 3,956; makefile: 2,705; lex: 2,661; javascript: 2,454; sql: 929; php: 474; cpp: 145; perl: 136; sed: 132; csh: 34; tcl: 7
file content (77 lines) | stat: -rw-r--r-- 2,796 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// compile with
// gcc -fno-exceptions -c -o $OS/$PLATFORM/cpptcl1.o cpptcl1.cpp

class TestClass
{
  public:
    static void Test1();
    /* boolean */
    static void Test2(bool aArg1);
    /* unsigned ordinals */
    static void Test3(unsigned char aArg1);
    static void Test4(unsigned short aArg1);
    static void Test5(unsigned int aArg1);
    static void Test6(unsigned long long aArg1);
    /* signed ordinals */
    static void Test7(signed char aArg1);
    static void Test8(signed short aArg1);
    static void Test9(signed int aArg1);
    static void Test10(signed long long aArg1);
    /* floating point */
    static void Test11(float aArg1);
    static void Test12(double aArg1);
    /* chars */
    static void Test13(char aArg1);
    static void Test14(wchar_t aArg1);
    /* pointers */
    static void Test15(void* aArg1);
    static void Test16(char* aArg1);
    static void Test17(wchar_t* aArg1);
    static void Test18(unsigned int* aArg1);
    static void Test19(float* aArg1);
    /* by reference */
    static void Test20(signed int& aArg1);
    static void Test21(unsigned int& aArg1);
    static void Test22(void*& aArg1);
    static void Test23(char& aArg1);
    static void Test24(float& aArg1);
    /* combinations */
    static void Test25(unsigned char aArg1, unsigned short aArg2, unsigned int aArg3, unsigned long long aArg4);
    static void Test26(void* aArg1, char& aArg2, float aArg3);
};

void TestClass::Test1() { };
/* boolean */
void TestClass::Test2(bool aArg1){ };
/* unsigned ordinals */
void TestClass::Test3(unsigned char aArg1){ };
void TestClass::Test4(unsigned short aArg1){ };
void TestClass::Test5(unsigned int aArg1){ };
void TestClass::Test6(unsigned long long aArg1){ };
/* signed ordinals */
void TestClass::Test7(signed char aArg1){ };
void TestClass::Test8(signed short aArg1){ };
void TestClass::Test9(signed int aArg1){ };
void TestClass::Test10(signed long long aArg1){ };
/* floating point */
void TestClass::Test11(float aArg1){ };
void TestClass::Test12(double aArg1){ };
/* chars */
void TestClass::Test13(char aArg1){ };
void TestClass::Test14(wchar_t aArg1){ };
/* pointers */
void TestClass::Test15(void* aArg1){ };
void TestClass::Test16(char* aArg1){ };
void TestClass::Test17(wchar_t* aArg1){ };
void TestClass::Test18(unsigned int* aArg1){ };
void TestClass::Test19(float* aArg1){ };
/* by reference */
void TestClass::Test20(signed int& aArg1){ };
void TestClass::Test21(unsigned int& aArg1){ };
void TestClass::Test22(void*& aArg1){ };
void TestClass::Test23(char& aArg1){ };
void TestClass::Test24(float& aArg1){ };
/* combinations */
void TestClass::Test25(unsigned char aArg1, unsigned short aArg2, unsigned int aArg3, unsigned long long aArg4){ };
void TestClass::Test26(void* aArg1, char& aArg2, float aArg3){ };