Updated test case docs
@@ -14,6 +14,7 @@
|
|||||||
* [t00013](./test_cases/t00013.md) - Template instantiation relationships
|
* [t00013](./test_cases/t00013.md) - Template instantiation relationships
|
||||||
* [t00014](./test_cases/t00014.md) - Alias template instantiation
|
* [t00014](./test_cases/t00014.md) - Alias template instantiation
|
||||||
* [t00015](./test_cases/t00015.md) - Namespace fun
|
* [t00015](./test_cases/t00015.md) - Namespace fun
|
||||||
|
* [t00016](./test_cases/t00016.md) - Unnamed enums and empty templates
|
||||||
## Sequence diagrams
|
## Sequence diagrams
|
||||||
* [t20001](./test_cases/t20001.md) - Basic sequence diagram
|
* [t20001](./test_cases/t20001.md) - Basic sequence diagram
|
||||||
## Configuration diagrams
|
## Configuration diagrams
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
47
docs/test_cases/t00016.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# t00016 - Unnamed enums and empty templates
|
||||||
|
## Config
|
||||||
|
```yaml
|
||||||
|
compilation_database_dir: ..
|
||||||
|
output_directory: puml
|
||||||
|
diagrams:
|
||||||
|
t00016_class:
|
||||||
|
type: class
|
||||||
|
glob:
|
||||||
|
- ../../tests/t00016/t00016.cc
|
||||||
|
using_namespace:
|
||||||
|
- clanguml::t00016
|
||||||
|
include:
|
||||||
|
namespaces:
|
||||||
|
- clanguml::t00016
|
||||||
|
|
||||||
|
```
|
||||||
|
## Source code
|
||||||
|
```cpp
|
||||||
|
namespace clanguml {
|
||||||
|
namespace t00016 {
|
||||||
|
|
||||||
|
template <typename> struct is_numeric {
|
||||||
|
enum { value = false };
|
||||||
|
};
|
||||||
|
|
||||||
|
template <> struct is_numeric<char> {
|
||||||
|
enum { value = true };
|
||||||
|
};
|
||||||
|
|
||||||
|
template <> struct is_numeric<unsigned char> {
|
||||||
|
enum { value = true };
|
||||||
|
};
|
||||||
|
|
||||||
|
template <> struct is_numeric<int> {
|
||||||
|
enum { value = true };
|
||||||
|
};
|
||||||
|
|
||||||
|
template <> struct is_numeric<bool> {
|
||||||
|
enum { value = false };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
```
|
||||||
|
## Generated UML diagrams
|
||||||
|

|
||||||
BIN
docs/test_cases/t00016_class.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |