4#include "Stroika/Frameworks/StroikaPreComp.h"
7#include "Stroika/Foundation/Containers/Mapping.h"
9#include "Stroika/Foundation/IO/Network/HTTP/ClientErrorException.h"
21using IO ::Network::HTTP::ClientErrorException;
23using namespace StroikaSample::WebServices;
36 return sVariables_.cget ()->Keys ();
39Number WSImpl::Variables_GET (
const String& variable)
const
41 if (
auto o = sVariables_.cget ()->Lookup (variable)) {
47void WSImpl::Variables_DELETE (
const String& variable)
const
49 sVariables_.rwget ()->
Remove (variable);
52void WSImpl::Variables_SET (
const String& variable,
const Number& value)
54 sVariables_.rwget ()->Add (variable, value);
57Number WSImpl::plus (Number lhs, Number rhs)
const
62Number WSImpl::minus (Number lhs, Number rhs)
const
67Number WSImpl::times (Number lhs, Number rhs)
const
72Number WSImpl::divide (Number lhs, Number rhs)
const
74 if (rhs == Number{0}) {
String is like std::u32string, except it is much easier to use, often much more space efficient,...
A Collection<T> is a container to manage an un-ordered collection of items, without equality defined ...
nonvirtual void Remove(ArgByValueType< value_type > item, EQUALS_COMPARER &&equalsComparer={})
Remove () the argument value (which must exist)
Wrap any object with Synchronized<> and it can be used similarly to the base type,...
void Throw(T &&e2Throw)
identical to builtin C++ 'throw' except that it does helpful, type dependent DbgTrace() messages firs...