Lot of code for generating code. Working on unit tests.
This commit is contained in:
parent
da45929b12
commit
8f4845d4d2
42 changed files with 1089 additions and 267 deletions
16
pglablib/codebuilder/StructureTemplate.h
Normal file
16
pglablib/codebuilder/StructureTemplate.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef STRUCTURETEMPLATE_H
|
||||
#define STRUCTURETEMPLATE_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class StructureTemplate {
|
||||
public:
|
||||
|
||||
QString m_startTemplate; // class /$structname/ {\npublic:\n
|
||||
QString m_endTemplate; // };
|
||||
QString m_fieldTemplate; // /$typename/ /$varname/;
|
||||
QString m_fieldSeparator; // use when you need something between fields but not after the last field
|
||||
int m_fieldIndentation = 1;
|
||||
};
|
||||
|
||||
#endif // STRUCTURETEMPLATE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue