cpp_template and header_template
Sven Bergner
bergner at Fh-Worms.DE
Tue May 22 13:16:42 BST 2001
Hi folks,
is it possible to define more complex cpp and header templates?
I want to have a copyconstructor and an assignment operator in every class
I add to my project.
Somthing like this:
//******************************************************************************
// $CLASS$.h
// Datum: $DATE$
// Autor: $AUTHOR$
//******************************************************************************
#ifndef $CLASS$_H
#define $CLASS$_H
/**
*
*/
class $CLASS$
{
public:
/** Konstruktor. */
$CLASS$();
/** Destruktor. */
virtual ~$CLASS$();
/** */
private:
/**@name Nicht implementiert. */
//@{
/** Kopierkonstruktor. */
$CLASS$(const $CLASS$&);
/** Zuweisungsoperator. */
$CLASS$& operator=(const $CLASS$&);
//@}
};
#endif //$CLASS$_H
I hope someone can help me.
CU,
Sven
-------------------------------------------------------
Sven Bergner
E-Mail: bergner at fh-worms.de
Live long and prosper!
Registered Linux-User #65111
-------------------------------------------------------
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list