JSON Voorhees
Killer JSON for C++
functional.hpp File Reference

A collection of function objects a la <functional>. More...

#include <jsonv/config.hpp>
#include <functional>

Go to the source code of this file.

Classes

struct  jsonv::value_compare
 Compares a value to another using the standard-issue value::compare function. More...
 
struct  jsonv::value_compare_icase
 Compares two values, ignoring the case for any value with kind::string. More...
 
struct  jsonv::basic_value_binary_predicate< FCompare, FResult >
 

Typedefs

using jsonv::value_equal_to = basic_value_binary_predicate< value_compare, std::equal_to< int >>
 
using jsonv::value_equal_to_icase = basic_value_binary_predicate< value_compare_icase, std::equal_to< int >>
 
using jsonv::value_not_equal_to = basic_value_binary_predicate< value_compare, std::not_equal_to< int >>
 
using jsonv::value_not_equal_to_icase = basic_value_binary_predicate< value_compare_icase, std::not_equal_to< int >>
 
using jsonv::value_less = basic_value_binary_predicate< value_compare, std::less< int >>
 
using jsonv::value_less_icase = basic_value_binary_predicate< value_compare_icase, std::less< int >>
 
using jsonv::value_less_equal = basic_value_binary_predicate< value_compare, std::less_equal< int >>
 
using jsonv::value_less_equal_icase = basic_value_binary_predicate< value_compare_icase, std::less_equal< int >>
 
using jsonv::value_greater = basic_value_binary_predicate< value_compare, std::greater< int >>
 
using jsonv::value_greater_icase = basic_value_binary_predicate< value_compare_icase, std::greater< int >>
 
using jsonv::value_greater_equal = basic_value_binary_predicate< value_compare, std::greater_equal< int >>
 
using jsonv::value_greater_equal_icase = basic_value_binary_predicate< value_compare_icase, std::greater_equal< int >>
 

Detailed Description

A collection of function objects a la <functional>.

Copyright (c) 2015 by Travis Gockel. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file functional.hpp.