Новая структура проекта
This commit is contained in:
6
sources/AbstractClass.cpp
Normal file
6
sources/AbstractClass.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class ABSTRACT_CLASS {
|
||||
public:
|
||||
ABSTRACT_CLASS();
|
||||
virtual int function();
|
||||
};
|
||||
|
6
sources/Class.cpp
Normal file
6
sources/Class.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
class TEST_CLASS {
|
||||
public:
|
||||
TEST_CLASS();
|
||||
~TEST_CLASS();
|
||||
};
|
||||
|
5
sources/ClassConstant.cpp
Normal file
5
sources/ClassConstant.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithClassConstant {
|
||||
public:
|
||||
static int const Class_Constant = 0;
|
||||
};
|
||||
|
5
sources/ClassMember.cpp
Normal file
5
sources/ClassMember.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithClassMember {
|
||||
public:
|
||||
static int CLASS_MEMBER;
|
||||
};
|
||||
|
5
sources/ClassMethod.cpp
Normal file
5
sources/ClassMethod.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithMethod {
|
||||
public:
|
||||
static int get_int() { return 0; };
|
||||
};
|
||||
|
1
sources/Constant.cpp
Normal file
1
sources/Constant.cpp
Normal file
@@ -0,0 +1 @@
|
||||
// FIXME
|
5
sources/ConstantMember.cpp
Normal file
5
sources/ConstantMember.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithConstantMember {
|
||||
public:
|
||||
char const ConstMember[4] = "123";
|
||||
};
|
||||
|
4
sources/ConstantParameter.cpp
Normal file
4
sources/ConstantParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
char returnChar(const char return_Value) {
|
||||
return return_Value;
|
||||
};
|
||||
|
4
sources/ConstantPointerParameter.cpp
Normal file
4
sources/ConstantPointerParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
void* returnVoid(void* const return_Value) {
|
||||
return return_Value;
|
||||
};
|
||||
|
3
sources/ConstexprFunction.cpp
Normal file
3
sources/ConstexprFunction.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
constexpr int get_five() {
|
||||
return ( 5 );
|
||||
}
|
5
sources/ConstexprMethod.cpp
Normal file
5
sources/ConstexprMethod.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithConstexprMethod {
|
||||
private:
|
||||
constexpr int get_int() { return 0; };
|
||||
};
|
||||
|
2
sources/ConstexprVariable.cpp
Normal file
2
sources/ConstexprVariable.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
constexpr int CONST_FIVE = 5;
|
||||
|
2
sources/Enum.cpp
Normal file
2
sources/Enum.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
enum TEST_enum { ONE, TWO };
|
||||
|
2
sources/EnumConstant.cpp
Normal file
2
sources/EnumConstant.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
enum TestEnum { one, TWO };
|
||||
|
4
sources/Function.cpp
Normal file
4
sources/Function.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
static int static_function() {
|
||||
return 0;
|
||||
}
|
||||
|
2
sources/GlobalConstant.cpp
Normal file
2
sources/GlobalConstant.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
const int theOne = 1;
|
||||
|
3
sources/GlobalConstantPointer.cpp
Normal file
3
sources/GlobalConstantPointer.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
void* global_pointer;
|
||||
void* const GlobalConstPointer = global_pointer;
|
||||
|
4
sources/GlobalFunction.cpp
Normal file
4
sources/GlobalFunction.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
int global_function() {
|
||||
return 0;
|
||||
}
|
||||
|
2
sources/GlobalPointer.cpp
Normal file
2
sources/GlobalPointer.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
void* globalPointer;
|
||||
|
1
sources/GlobalVariable.cpp
Normal file
1
sources/GlobalVariable.cpp
Normal file
@@ -0,0 +1 @@
|
||||
unsigned GlobalVariable;
|
2
sources/IgnoreMainLikeFunctions.cpp
Normal file
2
sources/IgnoreMainLikeFunctions.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
int main() {
|
||||
}
|
6
sources/InlineNamespace.cpp
Normal file
6
sources/InlineNamespace.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace test_ns {
|
||||
inline namespace InlineNamespace {
|
||||
|
||||
}
|
||||
} // namespace test_ns
|
||||
|
5
sources/LocalConstant.cpp
Normal file
5
sources/LocalConstant.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
int functionWithLocalConstant() {
|
||||
const int LocalConstant = 0;
|
||||
return LocalConstant;
|
||||
}
|
||||
|
6
sources/LocalConstantPointer.cpp
Normal file
6
sources/LocalConstantPointer.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
void* functionWithLocalConstPointer() {
|
||||
void* pointer = nullptr;
|
||||
void* const LocalConstPointer = pointer;
|
||||
return LocalConstPointer;
|
||||
}
|
||||
|
5
sources/LocalPointer.cpp
Normal file
5
sources/LocalPointer.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
void* function() {
|
||||
void* LocalPointer = nullptr;
|
||||
return LocalPointer;
|
||||
}
|
||||
|
5
sources/LocalVariable.cpp
Normal file
5
sources/LocalVariable.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
int function() {
|
||||
int LocalVariable = 0;
|
||||
return LocalVariable;
|
||||
}
|
||||
|
1
sources/MacroDefinition.cpp
Normal file
1
sources/MacroDefinition.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#define MacroDefinition 0
|
1
sources/Member.cpp
Normal file
1
sources/Member.cpp
Normal file
@@ -0,0 +1 @@
|
||||
/// FIXME
|
1
sources/Method.cpp
Normal file
1
sources/Method.cpp
Normal file
@@ -0,0 +1 @@
|
||||
// FIXME
|
4
sources/Namespace.cpp
Normal file
4
sources/Namespace.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace TEST_ns {
|
||||
|
||||
}
|
||||
|
4
sources/Parameter.cpp
Normal file
4
sources/Parameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
int returnInt(int return_Value) {
|
||||
return return_Value;
|
||||
};
|
||||
|
2
sources/ParameterPack.cpp
Normal file
2
sources/ParameterPack.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
template<class ... Types> void f(Types ... Parameters_Pack);
|
||||
|
4
sources/PointerParameter.cpp
Normal file
4
sources/PointerParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
void* returnPtr(void* return_Value) {
|
||||
return return_Value;
|
||||
};
|
||||
|
5
sources/PrivateMember.cpp
Normal file
5
sources/PrivateMember.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithPrivateMember {
|
||||
private:
|
||||
int PrivateMember;
|
||||
};
|
||||
|
4
sources/PrivateMethod.cpp
Normal file
4
sources/PrivateMethod.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ClassWithPrivateMethod {
|
||||
private:
|
||||
int get_int() { return 0; };
|
||||
};
|
5
sources/ProtectedMember.cpp
Normal file
5
sources/ProtectedMember.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithProtectedMember {
|
||||
protected:
|
||||
int ProtectedMember;
|
||||
};
|
||||
|
5
sources/ProtectedMethod.cpp
Normal file
5
sources/ProtectedMethod.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithProtectedMethod {
|
||||
protected:
|
||||
int get_int() { return 0; };
|
||||
};
|
||||
|
5
sources/PublicMember.cpp
Normal file
5
sources/PublicMember.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithPublicMember {
|
||||
public:
|
||||
int PublicMember;
|
||||
};
|
||||
|
5
sources/PublicMethod.cpp
Normal file
5
sources/PublicMethod.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class ClassWithPublicMethod {
|
||||
public:
|
||||
int get_int() { return 0; };
|
||||
};
|
||||
|
1
sources/ScopedEnumConstant.cpp
Normal file
1
sources/ScopedEnumConstant.cpp
Normal file
@@ -0,0 +1 @@
|
||||
enum class TestEnum { big, SMALL_ };
|
5
sources/StaticConstant.cpp
Normal file
5
sources/StaticConstant.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
int functionWithStaticConstant() {
|
||||
static const int StaticConstant = 0;
|
||||
return StaticConstant;
|
||||
}
|
||||
|
5
sources/StaticVariable.cpp
Normal file
5
sources/StaticVariable.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
int functionWithStaticVariable() {
|
||||
static int StaticVariable = 0;
|
||||
return StaticVariable;
|
||||
}
|
||||
|
3
sources/Struct.cpp
Normal file
3
sources/Struct.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
struct TEST_struct {
|
||||
int a;
|
||||
};
|
4
sources/TemplateParameter.cpp
Normal file
4
sources/TemplateParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
template<typename TType>int tFunction(TType t_value) {
|
||||
return 0;
|
||||
}
|
||||
|
1
sources/TemplateTemplateParameter.cpp
Normal file
1
sources/TemplateTemplateParameter.cpp
Normal file
@@ -0,0 +1 @@
|
||||
template<template<class T> class TPL_TPL_Parameter> class AllmightyClass { };
|
5
sources/TypeAlias.cpp
Normal file
5
sources/TypeAlias.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
struct MyStructure {
|
||||
int a;
|
||||
};
|
||||
using MY_STRUCT_TYPE = MyStructure;
|
||||
|
4
sources/TypeTemplateParameter.cpp
Normal file
4
sources/TypeTemplateParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
template<typename t_type>int tFunction(t_type value) {
|
||||
return 0;
|
||||
};
|
||||
|
2
sources/Typedef.cpp
Normal file
2
sources/Typedef.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
typedef int MY_INT;
|
||||
|
5
sources/Union.cpp
Normal file
5
sources/Union.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
union TEST_union {
|
||||
int a;
|
||||
char b;
|
||||
};
|
||||
|
4
sources/ValueTemplateParameter.cpp
Normal file
4
sources/ValueTemplateParameter.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
template<typename TType, int arg_COUNT> int tFunction(TType tValue) {
|
||||
return 0;
|
||||
}
|
||||
|
0
sources/Variable.cpp
Normal file
0
sources/Variable.cpp
Normal file
4
sources/VirtualMethod.cpp
Normal file
4
sources/VirtualMethod.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ClassWithVirtualMethod {
|
||||
private:
|
||||
virtual int get_int() { return 0; };
|
||||
};
|
Reference in New Issue
Block a user