8 #define MAGICKCORE_IMPLEMENTATION  1     9 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1    20   return(setValue(CachePolicyDomain,
"memory-map",
"anonymous"));
    25   return(setValue(SystemPolicyDomain,
"memory-map",
"anonymous"));
    33   value=toString(precision_);
    34   return(setValue(SystemPolicyDomain,
"precision",value));
    42   value=toString(limit_);
    43   return(setValue(SystemPolicyDomain,
"max-memory-request",value));
    51   value=toString(passes_);
    52   return(setValue(SystemPolicyDomain,
"shred",value));
    55 Magick::SecurityPolicy::SecurityPolicy()
    59 bool Magick::SecurityPolicy::setValue(
const PolicyDomain domain_,
    60   const std::string name_,
const std::string value_)
    66   status=MagickCore::SetMagickSecurityPolicyValue(domain_,name_.c_str(),
    67     value_.c_str(),exceptionInfo);
    69   return(status != MagickFalse);
    73 std::string Magick::SecurityPolicy::toString(
const T& value)
 static bool maxMemoryRequest(const MagickSizeType limit_)
static bool precision(const int precision_)
static bool anonymousSystemMemoryMap()
static bool anonymousCacheMemoryMap()
static bool shred(const int passes_)
#define ThrowPPException(quiet)