mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-12-01 08:07:08 +01:00
Update POCO library.
This commit is contained in:
1 parent
8d15f4b6e9
commit
233fc103f9
2521 files changed
+257092
-72789
No files matched your search
+3
-3
@@ -21,7 +21,7 @@ class Page;
|
||||
|
||||
class CodeWriter
|
||||
/// This class implements the code generator for
|
||||
/// generating C++ header and implementation files
|
||||
/// generating C++ header and implementation files
|
||||
/// from C++ Server Pages.
|
||||
{
|
||||
public:
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
const Page& page() const;
|
||||
/// Returns a const reference to the Page.
|
||||
|
||||
|
||||
const std::string& clazz() const;
|
||||
/// Returns the name of the handler class.
|
||||
|
||||
@@ -57,7 +57,7 @@ protected:
|
||||
virtual void writeResponse(std::ostream& ostr);
|
||||
virtual void writeContent(std::ostream& ostr);
|
||||
virtual void writeManifest(std::ostream& ostr);
|
||||
|
||||
|
||||
void beginGuard(std::ostream& ostr, const std::string& headerFileName);
|
||||
void endGuard(std::ostream& ostr, const std::string& headerFileName);
|
||||
void beginNamespace(std::ostream& ostr);
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ bool Page::getBool(const std::string& property, bool deflt) const
|
||||
{
|
||||
const std::string& value = get(property);
|
||||
return Poco::icompare(value, "true") == 0
|
||||
|| Poco::icompare(value, "yes") == 0
|
||||
|| Poco::icompare(value, "yes") == 0
|
||||
|| Poco::icompare(value, "on") == 0;
|
||||
}
|
||||
else return deflt;
|
||||
|
||||
Vendored
+4
-4
@@ -23,7 +23,7 @@ class Page: public Poco::Net::NameValueCollection
|
||||
public:
|
||||
Page();
|
||||
/// Creates a Page.
|
||||
|
||||
|
||||
~Page();
|
||||
/// Destroys the Page.
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
const std::stringstream& preHandler() const;
|
||||
/// Returns the request prehandler code.
|
||||
|
||||
|
||||
bool getBool(const std::string& property, bool deflt = false) const;
|
||||
/// Returns the boolean value of the given property.
|
||||
///
|
||||
@@ -61,10 +61,10 @@ public:
|
||||
/// - on
|
||||
///
|
||||
/// Otherwise, the return value will be false.
|
||||
|
||||
|
||||
int getInt(const std::string& property, int deflt = 0) const;
|
||||
/// Returns the integer value of the given property.
|
||||
|
||||
|
||||
private:
|
||||
Page(const Page&);
|
||||
Page& operator = (const Page&);
|
||||
|
||||
+1
-1
@@ -216,7 +216,7 @@ protected:
|
||||
helpFormatter.setHeader(
|
||||
"\n"
|
||||
"The POCO C++ Server Page Compiler.\n"
|
||||
"Copyright (c) 2008-2021 by Applied Informatics Software Engineering GmbH.\n"
|
||||
"Copyright (c) 2008-2022 by Applied Informatics Software Engineering GmbH.\n"
|
||||
"All rights reserved.\n\n"
|
||||
"This program compiles web pages containing embedded C++ code "
|
||||
"into a C++ class that can be used with the HTTP server "
|
||||
|
||||
+2
-2
@@ -35,7 +35,7 @@ public:
|
||||
~PageReader();
|
||||
/// Destroys the PageReader.
|
||||
|
||||
void parse(std::istream& pageStream);
|
||||
void parse(std::istream& pageStream);
|
||||
/// Parses a HTML file containing server page directives,
|
||||
/// converts the file into C++ code and adds the code
|
||||
/// to the reader's Page object. Also parses page
|
||||
@@ -74,7 +74,7 @@ protected:
|
||||
|
||||
protected:
|
||||
void generateLineDirective(std::ostream& ostr);
|
||||
|
||||
|
||||
private:
|
||||
PageReader();
|
||||
PageReader(const PageReader&);
|
||||
|
||||
Reference in new issue
Block a user