Updated test cases documentation
This commit is contained in:
@@ -23,19 +23,102 @@ diagrams:
|
|||||||
## Source code
|
## Source code
|
||||||
File t30002.cc
|
File t30002.cc
|
||||||
```cpp
|
```cpp
|
||||||
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
namespace clanguml {
|
namespace clanguml {
|
||||||
namespace t30002 {
|
namespace t30002 {
|
||||||
namespace A::AA::AAA {
|
namespace A::AA {
|
||||||
|
namespace A1 {
|
||||||
struct CA {
|
struct CA {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
namespace B::BB::BBB {
|
namespace A2 {
|
||||||
struct CBA {
|
struct CB {
|
||||||
A::AA::AAA::CA *ca_;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
namespace A3 {
|
||||||
|
struct CC {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A4 {
|
||||||
|
struct CD {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A5 {
|
||||||
|
struct CE {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A6 {
|
||||||
|
struct CF {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A7 {
|
||||||
|
struct CG {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A8 {
|
||||||
|
struct CH {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A9 {
|
||||||
|
struct CI {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A10 {
|
||||||
|
struct CJ {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A11 {
|
||||||
|
struct CK {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A12 {
|
||||||
|
struct CL {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace A13 {
|
||||||
|
struct CM {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace B::BB::BBB {
|
||||||
|
struct CBA : public A::AA::A6::CF {
|
||||||
|
A::AA::A1::CA *ca_;
|
||||||
|
A::AA::A2::CB cb_;
|
||||||
|
std::shared_ptr<A::AA::A3::CC> cc_;
|
||||||
|
std::map<std::string, std::unique_ptr<A::AA::A4::CD>> cd_;
|
||||||
|
|
||||||
|
void ce(const std::vector<A::AA::A5::CE> /*ce_*/) { }
|
||||||
|
|
||||||
|
std::shared_ptr<A::AA::A7::CG> cg() { return {}; }
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
void ch(std::map<T, std::shared_ptr<A::AA::A8::CH>> & /*ch_*/)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename T> std::map<T, std::shared_ptr<A::AA::A9::CI>> ci()
|
||||||
|
{
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
void cj(std::unique_ptr<A::AA::A10::CJ> /*cj_*/) { }
|
||||||
|
|
||||||
|
std::unique_ptr<A::AA::A11::CK> ck() { return {}; }
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
void cl(std::map<T, std::shared_ptr<A::AA::A12::CL>> & /*ch_*/)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename T> std::map<T, std::shared_ptr<A::AA::A13::CM>> cm()
|
||||||
|
{
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
}
|
||||||
} // namespace t30002
|
} // namespace t30002
|
||||||
} // namespace clanguml
|
} // namespace clanguml
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user