mirror of https://github.com/mono/CppSharp.git
4 changed files with 127 additions and 9 deletions
@ -1,12 +1,60 @@ |
|||||||
#include "NamespacesDerived.h" |
#include "NamespacesDerived.h" |
||||||
|
|
||||||
|
|
||||||
|
OverlappingNamespace::InDerivedLib::InDerivedLib() : parentNSComponent(), color(black) |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
Derived::Derived() : Base(10), baseComponent(5), nestedNSComponent(), color(OverlappingNamespace::blue) |
Derived::Derived() : Base(10), baseComponent(5), nestedNSComponent(), color(OverlappingNamespace::blue) |
||||||
{ |
{ |
||||||
} |
} |
||||||
|
|
||||||
|
Base Derived::getBase() |
||||||
|
{ |
||||||
|
return baseComponent; |
||||||
|
} |
||||||
|
|
||||||
OverlappingNamespace::InDerivedLib::InDerivedLib() : parentNSComponent(), color(black) |
void Derived::setBase(Base b) |
||||||
|
{ |
||||||
|
baseComponent = b; |
||||||
|
} |
||||||
|
|
||||||
|
OverlappingNamespace::InBaseLib Derived::getNestedNSComponent() |
||||||
|
{ |
||||||
|
return nestedNSComponent; |
||||||
|
} |
||||||
|
|
||||||
|
void Derived::setNestedNSComponent(OverlappingNamespace::InBaseLib c) |
||||||
|
{ |
||||||
|
nestedNSComponent = c; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
Base2::Base2() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
Derived2::Derived2() : Base2() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
Base2 Derived2::getBase() |
||||||
{ |
{ |
||||||
|
return baseComponent; |
||||||
|
} |
||||||
|
|
||||||
|
void Derived2::setBase(Base2 b) |
||||||
|
{ |
||||||
|
baseComponent = b; |
||||||
|
} |
||||||
|
|
||||||
|
OverlappingNamespace::InDerivedLib Derived2::getNestedNSComponent() |
||||||
|
{ |
||||||
|
return nestedNSComponent; |
||||||
|
} |
||||||
|
|
||||||
|
void Derived2::setNestedNSComponent(OverlappingNamespace::InDerivedLib c) |
||||||
|
{ |
||||||
|
nestedNSComponent = c; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue