Adobe Source Libraries  1.43
Namespaces | Classes | Typedefs | Enumerations | Functions
adobe Namespace Reference

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 >
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 >
copy_utf (I f, I l, O o)
 

Typedef Documentation

typedef std::vector<any_regular_t> array_t

Definition at line 24 of file array_fwd.hpp.

Enumeration Type Documentation

enum json_type
strong
Enumerator
object 
array 
string 
number 
boolean 
null 

Definition at line 385 of file json.hpp.

Function Documentation

void adobe::push_back ( array_t &  v,
x 
)

Definition at line 28 of file array.hpp.

void adobe::push_back ( array_t &  v,
any_regular_t  x 
)

Definition at line 32 of file array.hpp.

std::ostream& adobe::operator<< ( std::ostream &  out,
const array_t &  x 
)

Definition at line 38 of file array.hpp.

O adobe::copy_utf ( f,
l,
o 
)
Template Parameters
Tmust be 8, 16, or 32 bit integral type
Imodels InputIterator; value_type(I) must be 8, 16, or 32 bit integral type
Omodels 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.

Precondition
  • [f, l) is a valid range of UTF-8, 16, or 32 encode text.
  • o is not an iterator within the range [f, l).
  • There is enough space to hold the text being copied. The maximum requirement on the output is that [o, o + m(l - f)) is a valid range where m is determined by the following table:
    source/resultUTF-8UTF-16UTF-32
    UTF-8 1 1 1
    UTF-16 3 1 1
    UTF-32 4 2 1
Note
If the source contains an invalid or partial encoding then the output is undefined (debug builds may assert). However, the code will not read beyond the specified source range or output more than the maximal number of elements.
Returns
An output iterator pointing to the end of the encoded text.

Definition at line 488 of file unicode.hpp.