# t00005 - Basic class field relationships
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00005_class:
    type: class
    glob:
      - ../../tests/t00005/t00005.cc
    using_namespace:
      - clanguml::t00005
    include:
      namespaces:
        - clanguml::t00005

```
## Source code
File t00005.cc
```cpp
namespace clanguml {
namespace t00005 {
class A { };

class B { };

class C { };

class D { };

class E { };

class F { };

class G { };

class H { };

class I { };

class J { };

class K { };

class R {
public:
    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 t00005
} // namespace clanguml

```
## Generated UML diagrams
![t00005_class](./t00005_class.svg "Basic class field relationships")
## Generated JSON models
```json
{
  "diagram_type": "class",
  "elements": [
    {
      "bases": [],
      "display_name": "clanguml::t00005::A",
      "id": "96355893895780319",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "A",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 3
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::B",
      "id": "1909425857334087541",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "B",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 5
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::C",
      "id": "968176384460064907",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "C",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 7
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::D",
      "id": "1735599590836186693",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "D",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 9
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::E",
      "id": "887960136921844658",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "E",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 11
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::F",
      "id": "772719357856231772",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "F",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 13
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::G",
      "id": "979147885884736437",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "G",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 15
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::H",
      "id": "1440673301054236675",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "H",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 17
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::I",
      "id": "109681731550086430",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "I",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 19
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::J",
      "id": "338330011969650325",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "J",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 21
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::K",
      "id": "2179119389830432509",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [],
      "methods": [],
      "name": "K",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 23
      },
      "template_parameters": [],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00005::R",
      "id": "630692407373144211",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": false,
      "is_template": false,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "some_int",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 27
          },
          "type": "int"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "some_int_pointer",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 28
          },
          "type": "int *"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "some_int_pointer_pointer",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 29
          },
          "type": "int **"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "some_int_reference",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 30
          },
          "type": "int &"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "a",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 31
          },
          "type": "clanguml::t00005::A"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "b",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 32
          },
          "type": "clanguml::t00005::B *"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "c",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 33
          },
          "type": "clanguml::t00005::C &"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "d",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 34
          },
          "type": "const clanguml::t00005::D *"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "e",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 35
          },
          "type": "const clanguml::t00005::E &"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "f",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 36
          },
          "type": "clanguml::t00005::F &&"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "g",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 37
          },
          "type": "clanguml::t00005::G **"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "h",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 38
          },
          "type": "clanguml::t00005::H ***"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "i",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 39
          },
          "type": "clanguml::t00005::I *&"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "j",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 40
          },
          "type": "volatile clanguml::t00005::J *"
        },
        {
          "access": "public",
          "is_static": false,
          "name": "k",
          "source_location": {
            "file": "../../tests/t00005/t00005.cc",
            "line": 41
          },
          "type": "clanguml::t00005::K *"
        }
      ],
      "methods": [],
      "name": "R",
      "namespace": "clanguml::t00005",
      "source_location": {
        "file": "../../tests/t00005/t00005.cc",
        "line": 25
      },
      "template_parameters": [],
      "type": "class"
    }
  ],
  "metadata": {
    "clang_uml_version": "0.3.5-27-g81c7ce7",
    "llvm_version": "Ubuntu clang version 15.0.6",
    "schema_version": 1
  },
  "name": "t00005_class",
  "relationships": [
    {
      "access": "public",
      "destination": "96355893895780319",
      "label": "a",
      "source": "630692407373144211",
      "type": "aggregation"
    },
    {
      "access": "public",
      "destination": "1909425857334087541",
      "label": "b",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "968176384460064907",
      "label": "c",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "1735599590836186693",
      "label": "d",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "887960136921844658",
      "label": "e",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "772719357856231772",
      "label": "f",
      "source": "630692407373144211",
      "type": "aggregation"
    },
    {
      "access": "public",
      "destination": "979147885884736437",
      "label": "g",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "1440673301054236675",
      "label": "h",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "109681731550086430",
      "label": "i",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "338330011969650325",
      "label": "j",
      "source": "630692407373144211",
      "type": "association"
    },
    {
      "access": "public",
      "destination": "2179119389830432509",
      "label": "k",
      "source": "630692407373144211",
      "type": "association"
    }
  ],
  "using_namespace": "clanguml::t00005"
}
```
