Added basic class access and type specifiers generation
This commit is contained in:
28
tests/t00003/t00003.cc
Normal file
28
tests/t00003/t00003.cc
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace clanguml {
|
||||
namespace t00003 {
|
||||
|
||||
class A {
|
||||
public:
|
||||
A() = default;
|
||||
A(A &&) = default;
|
||||
A(const A &) = default;
|
||||
virtual ~A() = default;
|
||||
|
||||
void basic_method() {}
|
||||
static int static_method() { return 0; }
|
||||
void const_method() const {}
|
||||
|
||||
int public_member;
|
||||
|
||||
protected:
|
||||
void protected_method() {}
|
||||
|
||||
int protected_member;
|
||||
|
||||
private:
|
||||
void private_method() {}
|
||||
|
||||
int private_member;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user