![]() |
C++ Web Framework
3.0
|
This class compiles view pages with CSTL (C++ Server Pages Standard Tags Library). More...
#include <cstlcompiler.h>
Public Member Functions | |
| CSTLCompiler (const QByteArray &str, const QString &path, QMap< QString, QObject *> &objects, bool isStrFileName=true) | |
| Initialize the str, objects and isStrFileName properties. More... | |
| QByteArray | output () |
| Returns the compiled view page. More... | |
This class compiles view pages with CSTL (C++ Server Pages Standard Tags Library).
| CWF_BEGIN_NAMESPACE CSTLCompiler::CSTLCompiler | ( | const QByteArray & | str, |
| const QString & | path, | ||
| QMap< QString, QObject *> & | objects, | ||
| bool | isStrFileName = true |
||
| ) |
Initialize the str, objects and isStrFileName properties.
| const | QByteArray &str : If isStrFileName is true, it should be a file name, else, it should be the file content. |
| QMap<QString,QObject | *> &objects : Container objects that can be compiled into the view page. |
| bool | isStrFileName : It indicates whether str is the name of a file or its contents. |
| QByteArray CSTLCompiler::output | ( | ) |
Returns the compiled view page.
1.8.13