# t00017 - Test include relations also as members flag
## Config
```yaml
diagrams:
  t00017_class:
    type: class
    include_relations_also_as_members: false
    glob:
      - t00017.cc
    using_namespace: clanguml::t00017
    include:
      namespaces:
        - clanguml::t00017

```
## Source code
File `tests/t00017/t00017.cc`
```cpp
#include <utility>

namespace clanguml {
namespace t00017 {
class A { };

class B { };

class C { };

class D { };

class E { };

class F { };

class G { };

class H { };

class I { };

class J { };

class K { };

class R {
    explicit R(int &some_int, C &cc, const E &ee, F &&ff, I *&ii)
        : some_int_reference{some_int}
        , c{cc}
        , e{ee}
        , f{std::move(ff)}
        , i{ii}
    {
    }

private:
    int some_int;
    int *some_int_pointer;
    int **some_int_pointer_pointer;
    int &some_int_reference;
    A a;
    B *b;
    C &c;
    const D *d;
    const E &e;
    F &&f;
    G **g;
    H ***h;
    I *&i;
    volatile J *j;
    mutable K *k;
};
} // namespace t00017
} // namespace clanguml

```
## Generated PlantUML diagrams
![t00017_class](./t00017_class.svg "Test include relations also as members flag")
## Generated Mermaid diagrams
![t00017_class](./t00017_class_mermaid.svg "Test include relations also as members flag")
## Generated JSON models
```json
{
  "diagram_type": "class",
  "elements": [
    {
      "bases": [],
      "display_name": "A",
      "id": "970656747477527100",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "A",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 5,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "B",
      "id": "11398918699649603899",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "B",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 7,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "C",
      "id": "17209363134757947829",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "C",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 9,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "D",
      "id": "11024897017054135776",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "D",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 11,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "E",
      "id": "12282407486654419914",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "E",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 13,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "F",
      "id": "14430403722237681072",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "F",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 15,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "G",
      "id": "9086382335141361974",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "G",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 17,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "H",
      "id": "9948382692573698543",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "H",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 19,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "I",
      "id": "3101865597645029270",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "I",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 21,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "J",
      "id": "5983934629379468301",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "J",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 23,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "K",
      "id": "14268570743958667740",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "K",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 25,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "R",
      "id": "2299967332512906736",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [
        {
          "access": "private",
          "is_static": false,
          "name": "some_int",
          "source_location": {
            "column": 9,
            "file": "t00017.cc",
            "line": 38,
            "translation_unit": "t00017.cc"
          },
          "type": "int"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "some_int_pointer",
          "source_location": {
            "column": 10,
            "file": "t00017.cc",
            "line": 39,
            "translation_unit": "t00017.cc"
          },
          "type": "int *"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "some_int_pointer_pointer",
          "source_location": {
            "column": 11,
            "file": "t00017.cc",
            "line": 40,
            "translation_unit": "t00017.cc"
          },
          "type": "int **"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "some_int_reference",
          "source_location": {
            "column": 10,
            "file": "t00017.cc",
            "line": 41,
            "translation_unit": "t00017.cc"
          },
          "type": "int &"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "a",
          "source_location": {
            "column": 7,
            "file": "t00017.cc",
            "line": 42,
            "translation_unit": "t00017.cc"
          },
          "type": "A"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "b",
          "source_location": {
            "column": 8,
            "file": "t00017.cc",
            "line": 43,
            "translation_unit": "t00017.cc"
          },
          "type": "B *"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "c",
          "source_location": {
            "column": 8,
            "file": "t00017.cc",
            "line": 44,
            "translation_unit": "t00017.cc"
          },
          "type": "C &"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "d",
          "source_location": {
            "column": 14,
            "file": "t00017.cc",
            "line": 45,
            "translation_unit": "t00017.cc"
          },
          "type": "const D *"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "e",
          "source_location": {
            "column": 14,
            "file": "t00017.cc",
            "line": 46,
            "translation_unit": "t00017.cc"
          },
          "type": "const E &"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "f",
          "source_location": {
            "column": 9,
            "file": "t00017.cc",
            "line": 47,
            "translation_unit": "t00017.cc"
          },
          "type": "F &&"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "g",
          "source_location": {
            "column": 9,
            "file": "t00017.cc",
            "line": 48,
            "translation_unit": "t00017.cc"
          },
          "type": "G **"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "h",
          "source_location": {
            "column": 10,
            "file": "t00017.cc",
            "line": 49,
            "translation_unit": "t00017.cc"
          },
          "type": "H ***"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "i",
          "source_location": {
            "column": 9,
            "file": "t00017.cc",
            "line": 50,
            "translation_unit": "t00017.cc"
          },
          "type": "I *&"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "j",
          "source_location": {
            "column": 17,
            "file": "t00017.cc",
            "line": 51,
            "translation_unit": "t00017.cc"
          },
          "type": "volatile J *"
        },
        {
          "access": "private",
          "is_static": false,
          "name": "k",
          "source_location": {
            "column": 16,
            "file": "t00017.cc",
            "line": 52,
            "translation_unit": "t00017.cc"
          },
          "type": "K *"
        }
      ],
      "methods": [
        {
          "access": "private",
          "display_name": "R",
          "is_const": false,
          "is_consteval": false,
          "is_constexpr": false,
          "is_constructor": true,
          "is_copy_assignment": false,
          "is_coroutine": false,
          "is_defaulted": false,
          "is_deleted": false,
          "is_move_assignment": false,
          "is_noexcept": false,
          "is_operator": false,
          "is_pure_virtual": false,
          "is_static": false,
          "is_virtual": false,
          "name": "R",
          "parameters": [
            {
              "name": "some_int",
              "type": "int &"
            },
            {
              "name": "cc",
              "type": "C &"
            },
            {
              "name": "ee",
              "type": "const E &"
            },
            {
              "name": "ff",
              "type": "F &&"
            },
            {
              "name": "ii",
              "type": "I *&"
            }
          ],
          "source_location": {
            "column": 14,
            "file": "t00017.cc",
            "line": 28,
            "translation_unit": "t00017.cc"
          },
          "template_parameters": [],
          "type": "void"
        }
      ],
      "name": "R",
      "namespace": "clanguml::t00017",
      "source_location": {
        "column": 7,
        "file": "t00017.cc",
        "line": 27,
        "translation_unit": "t00017.cc"
      },
      "template_parameters": [],
      "type": "class"
    }
  ],
  "name": "t00017_class",
  "package_type": "namespace",
  "relationships": [
    {
      "access": "private",
      "destination": "970656747477527100",
      "label": "a",
      "source": "2299967332512906736",
      "type": "aggregation"
    },
    {
      "access": "private",
      "destination": "11398918699649603899",
      "label": "b",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "17209363134757947829",
      "label": "c",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "11024897017054135776",
      "label": "d",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "12282407486654419914",
      "label": "e",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "14430403722237681072",
      "label": "f",
      "source": "2299967332512906736",
      "type": "aggregation"
    },
    {
      "access": "private",
      "destination": "9086382335141361974",
      "label": "g",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "9948382692573698543",
      "label": "h",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "3101865597645029270",
      "label": "i",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "5983934629379468301",
      "label": "j",
      "source": "2299967332512906736",
      "type": "association"
    },
    {
      "access": "private",
      "destination": "14268570743958667740",
      "label": "k",
      "source": "2299967332512906736",
      "type": "association"
    }
  ],
  "using_namespace": "clanguml::t00017"
}
```
