![]() |
Adobe Source Libraries
1.43
|
Namespaces | |
literals | |
Classes | |
struct | asl_json_helper_t |
A utility class can be used with json_parser and json_generator to round trip JSON data through the common ASL data structures. More... | |
class | json_generator |
A utility class that uses a helper class to access a provided data structure and output well-formed JSON. More... | |
class | json_parser |
A utility class that parses raw JSON data and uses a helper class to construct the desired representations of what is parsed. More... | |
struct | name_t |
struct | promote< static_name_t > |
class | sha |
struct | static_name_t |
Typedefs | |
typedef std::vector < any_regular_t > | array_t |
template<std::size_t Bits> | |
using | fnv_traits = typename detail::fnv_base_traits< detail::rollup(Bits)> |
template<std::size_t Bits> | |
using | fnvtype = typename fnv_traits< Bits >::value_type |
typedef sha < implementation::sha1_traits_t > | sha1_t |
A bit-oriented implementation of the SHA-1 Secure Hash Algorithm. More... | |
typedef sha < implementation::sha224_traits_t > | sha224_t |
A bit-oriented implementation of the SHA-224 Secure Hash Algorithm. More... | |
typedef sha < implementation::sha256_traits_t > | sha256_t |
A bit-oriented implementation of the SHA-256 Secure Hash Algorithm. More... | |
typedef sha < implementation::sha384_traits_t > | sha384_t |
A bit-oriented implementation of the SHA-384 Secure Hash Algorithm. More... | |
typedef sha < implementation::sha512_traits_t > | sha512_t |
A bit-oriented implementation of the SHA-512 Secure Hash Algorithm. More... | |
Enumerations | |
enum | json_type { object, array, string, number, boolean, null } |
Functions | |
template<typename T > | |
void | push_back (array_t &v, T x) |
void | push_back (array_t &v, any_regular_t x) |
std::ostream & | operator<< (std::ostream &out, const array_t &x) |
template<std::size_t Bits, typename Iterator , typename Predicate > | |
fnvtype< Bits > | fnv1a (Iterator first, Predicate p) |
template<std::size_t Bits, typename Iterator > | |
fnvtype< Bits > | fnv1a (Iterator first, Iterator last) |
template<std::size_t Bits, typename Container > | |
fnvtype< Bits > | fnv1a (Container c) |
adobe::any_regular_t | json_parse (const char *data) |
A utility routine that takes in raw JSON data and produces a representation of that data using the common ASL data structures. More... | |
template<typename O > | |
O | json_generate (const adobe::any_regular_t &x, O out) |
A utility routine that takes in an any_regular_t and produces from it a well-formed representation of the structure in JSON. More... | |
template<typename T , typename I , typename O > | |
O | copy_utf (I f, I l, O o) |
typedef std::vector<any_regular_t> array_t |
Definition at line 24 of file array_fwd.hpp.
|
strong |
std::ostream& adobe::operator<< | ( | std::ostream & | out, |
const array_t & | x | ||
) |
O adobe::copy_utf | ( | I | f, |
I | l, | ||
O | o | ||
) |
T | must be 8, 16, or 32 bit integral type |
I | models InputIterator; value_type(I) must be 8, 16, or 32 bit integral type |
O | models OutputIterator; must accept T |
copy_utf32
copies the text from the range [f, l)
from UTF-8, 16, or 32 to UTF-8, 16 or 32 and assigns the result to *o
.
[f, l)
is a valid range of UTF-8, 16, or 32 encode text.o
is not an iterator within the range [f, l)
.[o, o + m(l - f))
is a valid range where m
is determined by the following table: source/result | UTF-8 | UTF-16 | UTF-32 |
---|---|---|---|
UTF-8 | 1 | 1 | 1 |
UTF-16 | 3 | 1 | 1 |
UTF-32 | 4 | 2 | 1 |
Definition at line 488 of file unicode.hpp.