Into

Modules

Documentation

Code Templates

A template for header files. This file could contain a declaration for MyClass. The name of the file is MyClass.h.

/* This file is part of Into.
 * Copyright (C) Intopii.
 * All rights reserved.
 */

#ifndef _MYCLASS_H
#define _MYCLASS_H



#endif //_MYCLASS_H

A template for cc files. The name of the file is MyClass.cc.

/* This file is part of Into.
 * Copyright (C) Intopii.
 * All rights reserved.
 */

#include "MyClass.h"


If the class is a template class, its definition should be placed into MyClass-templates.h:

/* This file is part of Into.
 * Copyright (C) Intopii.
 * All rights reserved.
 */

#ifndef _MYCLASS_H
# error "Never use <MyClass-templates.h> directly; include <MyClass.h> instead."
#endif
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.