FINAL CUT
class_template.h
1 /***********************************************************************
2 * fclassname.h - [brief description] *
3 * *
4 * This file is part of the FINAL CUT widget toolkit *
5 * *
6 * Copyright [year] [Maintainer] *
7 * *
8 * FINAL CUT is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as *
10 * published by the Free Software Foundation; either version 3 of *
11 * the License, or (at your option) any later version. *
12 * *
13 * FINAL CUT is distributed in the hope that it will be useful, but *
14 * WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public *
19 * License along with this program. If not, see *
20 * <http://www.gnu.org/licenses/>. *
21 ***********************************************************************/
22 
23 /* Standalone class
24  * ════════════════
25  *
26  * ▕▔▔▔▔▔▔▔▔▔▔▔▔▏
27  * ▕ FClassName ▏
28  * ▕▁▁▁▁▁▁▁▁▁▁▁▁▏
29  */
30 
31 #ifndef FCLASSNAME_H
32 #define FCLASSNAME_H
33 
34 #if !defined (USE_FINAL_H) && !defined (COMPILE_FINAL_CUT)
35  #error "Only <final/final.h> can be included directly."
36 #endif
37 
38 //#include ...
39 
40 namespace finalcut
41 {
42 
43 //----------------------------------------------------------------------
44 // class FClassName
45 //----------------------------------------------------------------------
46 
48 {
49  public:
50  // Using-declaration
51 
52  // Typedefs and Enumerations
53 
54  // Constants
55 
56  // Constructors
57  FClassName();
58 
59  // Disable copy constructor
60  FClassName (const FClassName&) = delete;
61 
62  // Destructor
63  ~FClassName();
64 
65  // Disable copy assignment operator (=)
66  auto operator = (const FClassName&) -> FClassName& = delete;
67 
68  // Overloaded operators
69 
70  // Accessors
71 
72  // Mutators
73 
74  // Inquiries
75 
76  // Methods
77 
78  // Event handlers
79 
80  // Callback methods
81 
82  // Data members
83 
84  protected:
85  // Typedefs and Enumerations
86 
87  // Constants
88 
89  // Accessors
90 
91  // Inquiries
92 
93  // Methods
94 
95  // Event handlers
96 
97  // Callback methods
98 
99  // Data members
100 
101  private:
102  // Typedefs and Enumerations
103 
104  // Constants
105 
106  // Accessors
107 
108  // Inquiries
109 
110  // Methods
111 
112  // Event handlers
113 
114  // Callback methods
115 
116  // Data members
117 
118  // Friend class
119 };
120 
121 
122 // FClassName inline functions
123 //----------------------------------------------------------------------
124 
125 } // namespace finalcut
126 
127 #endif // FCLASSNAME_H
128 
Definition: class_template.h:47
Definition: class_template.cpp:25