# t00031 - PlantUML style decorator test case
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00031_class:
    type: class
    glob:
      - ../../tests/t00031/t00031.cc
    using_namespace:
      - clanguml::t00031
    include:
      namespaces:
        - clanguml::t00031

```
## Source code
File t00031.cc
```cpp
#include <memory>
#include <vector>

namespace clanguml {
namespace t00031 {

/// @uml{style[#back:lightgreen|yellow;header:blue/red]}
class A {
};

/// @uml{style[#line.dotted:blue]}
enum B { one, two, three };

/// @uml{style[#pink;line:red;line.bold;text:red]}
template <typename T> class C {
    T ttt;
};

class D {
};

struct R {
    /// @uml{style[#red,dashed,thickness=2]}
    A *aaa;

    /// @uml{composition}
    /// @uml{style[#green,dashed,thickness=4]}
    std::vector<B> bbb;

    /// @uml{style[#blue,dotted,thickness=8]}
    C<int> ccc;

    /// @uml{style[#blue,plain,thickness=16]}
    D *ddd;
};

} // namespace t00031
} // namespace clanguml

```
## Generated UML diagrams
![t00031_class](./t00031_class.svg "PlantUML style decorator test case")
