Dynamic Document Template
- by ell
I would like to create a "C++ Class" document template, I know you can make static ones by putting them into ~/Templates, but I would like to be able for the content to change according to the file name on creation, for example, using a template like such (pseudocode):
#ifndef $(filename)_HPP_INCLUDED
#define $(filename)_HPP_INCLUDED
class $(filename) {
public:
}
#endif $(filename)_HPP_INCLUDED
Is this possible? If so, how can I do it? Thanks in advance, ell.