summaryrefslogtreecommitdiff
path: root/Examples/test-suite/doxygen_nested_class.i
blob: 55575e34f98fc66bdcd1c40fd7b88caa280e96d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%module doxygen_nested_class

%warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) DoxOuter::DoxInner;

%inline %{

struct DoxOuter {
  /** DoxOuter constructor */
  DoxOuter() {}
  /** DoxInner class description */
  struct DoxInner {
    /** DoxInner constructor */
    DoxInner() {}
    /** doxInt variable */
    int doxInt;
    /** doxShort const variable */
    static const short doxShort = 1;
    /** doxMethod description */
    void doxMethod() {}
    /** doxStaticMethod description */
    static void doxStaticMethod() {}
  };
};
%}