# t00041 - Context diagram filter test
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00041_class:
    type: class
    generate_packages: false
    glob:
      - ../../tests/t00041/t00041.cc
    using_namespace:
      - clanguml::t00041
    include:
      namespaces:
        - clanguml::t00041
      context:
        - clanguml::t00041::RR
      subclasses:
        - clanguml::t00041::ns1::N
```
## Source code
File t00041.cc
```cpp
namespace clanguml::t00041 {

struct B {
};

struct A {
};

class AA : public A {
};

struct R {
};

struct RR;

struct D {
    RR *rr;
};

struct E {
};

struct F {
};

struct RR : public R {
    E *e;
    F *f;
};

struct RRR : public RR {
};

namespace ns1 {
struct N {
};

struct NN : public N {
};

struct NM : public N {
};
}

} // namespace clanguml::t00041

```
## Generated UML diagrams
![t00041_class](./t00041_class.svg "Context diagram filter test")
